aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-26 01:23:39 +0800
committerChristian <c@ethdev.com>2014-11-26 22:35:25 +0800
commitf30dc68cdd3ae97305b8dfc8891da81a6d489882 (patch)
treefef4e7a9d17b682b68c20aae9fa2fe887f6ed56a /ExpressionCompiler.h
parenta2715c5f34cfa4050ba64b4a1467b9ca5821472b (diff)
downloaddexon-solidity-f30dc68cdd3ae97305b8dfc8891da81a6d489882.tar.gz
dexon-solidity-f30dc68cdd3ae97305b8dfc8891da81a6d489882.tar.zst
dexon-solidity-f30dc68cdd3ae97305b8dfc8891da81a6d489882.zip
Sending ether.
Diffstat (limited to 'ExpressionCompiler.h')
-rw-r--r--ExpressionCompiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ExpressionCompiler.h b/ExpressionCompiler.h
index 3ed7848b..83d7cdc6 100644
--- a/ExpressionCompiler.h
+++ b/ExpressionCompiler.h
@@ -132,6 +132,10 @@ private:
CompilerContext& m_context;
LValue m_currentLValue;
+ /// If a "virtual" function (i.e. a bulit-in function without jump tag) is encountered, the
+ /// actual function is stored here. @todo prevent assignment or store it with assignment
+ enum class SpecialFunction { NONE, SEND, SHA3, SUICIDE, ECRECOVER, SHA256, RIPEMD160 };
+ SpecialFunction m_currentSpecialFunction;
};