aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.h
diff options
context:
space:
mode:
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;
};