aboutsummaryrefslogtreecommitdiffstats
path: root/test/TestHelper.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-23 18:42:53 +0800
committerchriseth <chris@ethereum.org>2018-03-02 00:19:35 +0800
commitdc317a44e031d45ebf745b47248bf06bc92d58bf (patch)
treed03753c0d0ff0672669e0e8ecb70db84f73f6a7f /test/TestHelper.h
parenta53d6b499d5cc5c45fc096cea6393dc285581f90 (diff)
downloaddexon-solidity-dc317a44e031d45ebf745b47248bf06bc92d58bf.tar.gz
dexon-solidity-dc317a44e031d45ebf745b47248bf06bc92d58bf.tar.zst
dexon-solidity-dc317a44e031d45ebf745b47248bf06bc92d58bf.zip
Provide EVM version to assembly analysis.
Diffstat (limited to 'test/TestHelper.h')
-rw-r--r--test/TestHelper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/TestHelper.h b/test/TestHelper.h
index 69ac458a..8c2eec36 100644
--- a/test/TestHelper.h
+++ b/test/TestHelper.h
@@ -36,14 +36,17 @@ struct Options: boost::noncopyable
{
std::string ipcPath;
bool showMessages = false;
- std::string evmVersion;
bool optimize = false;
bool disableIPC = false;
bool disableSMT = false;
+ solidity::EVMVersion evmVersion() const;
+
static Options const& get();
private:
+ std::string evmVersionString;
+
Options();
};