From 50dc17350cc22fe518e3b710e3b855c785698996 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 20 Jul 2020 15:37:53 +0200 Subject: [PATCH] Remove leftover of code-generator for ``now``. --- libsolidity/codegen/ExpressionCompiler.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index 694ea8fa6..d5a575a7d 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -1914,10 +1914,6 @@ void ExpressionCompiler::endVisit(Identifier const& _identifier) if (!dynamic_cast(*magicVar->type()).isSuper()) m_context << Instruction::ADDRESS; break; - case Type::Category::Integer: - // "now" - m_context << Instruction::TIMESTAMP; - break; default: break; }