Remove leftover of code-generator for `now`.

This commit is contained in:
chriseth 2020-07-20 15:37:53 +02:00
parent 69a596b0ff
commit 50dc17350c

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;
}