aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-19 22:34:15 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-19 22:34:15 +0800
commit6612e4bd172f4c3a16a5dc618f88b69104106339 (patch)
tree1539fe481089ca5f891e7e46c1872dd507e9b87d /ExpressionCompiler.cpp
parent325b052b164992b6c19cb5c4550680d7f2a8e380 (diff)
downloaddexon-solidity-6612e4bd172f4c3a16a5dc618f88b69104106339.tar.gz
dexon-solidity-6612e4bd172f4c3a16a5dc618f88b69104106339.tar.zst
dexon-solidity-6612e4bd172f4c3a16a5dc618f88b69104106339.zip
Some addition to Solidity Execution Framework
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index b6a73a88..df90d0d9 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -392,9 +392,7 @@ void ExpressionCompiler::endVisit(MemberAccess const& _memberAccess)
m_context << eth::Instruction::COINBASE;
else if (member == "timestamp")
m_context << eth::Instruction::TIMESTAMP;
-/* else if (member == "blockhash")
- m_context << eth::Instruction::BLOCKHASH;
-*/ else if (member == "difficulty")
+ else if (member == "difficulty")
m_context << eth::Instruction::DIFFICULTY;
else if (member == "number")
m_context << eth::Instruction::NUMBER;