mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9450 from ethereum/nowLeftover
Remove leftover of code-generator for ``now``.
This commit is contained in:
commit
60500778ad
@ -1914,10 +1914,6 @@ void ExpressionCompiler::endVisit(Identifier const& _identifier)
|
|||||||
if (!dynamic_cast<ContractType const&>(*magicVar->type()).isSuper())
|
if (!dynamic_cast<ContractType const&>(*magicVar->type()).isSuper())
|
||||||
m_context << Instruction::ADDRESS;
|
m_context << Instruction::ADDRESS;
|
||||||
break;
|
break;
|
||||||
case Type::Category::Integer:
|
|
||||||
// "now"
|
|
||||||
m_context << Instruction::TIMESTAMP;
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user