Merge pull request #9450 from ethereum/nowLeftover

Remove leftover of code-generator for ``now``.
This commit is contained in:
chriseth 2020-07-20 17:01:37 +02:00 committed by GitHub
commit 60500778ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1914,10 +1914,6 @@ void ExpressionCompiler::endVisit(Identifier const& _identifier)
if (!dynamic_cast<ContractType const&>(*magicVar->type()).isSuper())
m_context << Instruction::ADDRESS;
break;
case Type::Category::Integer:
// "now"
m_context << Instruction::TIMESTAMP;
break;
default:
break;
}