aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-10 23:56:04 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-14 20:11:41 +0800
commitd1ad62fccc02dba20129d59a81f260b9ac6b41de (patch)
tree0c2e75b35b510a49027e9eb4ffb760955f24af74 /libsolidity/ast
parentee6f56d6418d1d25690702adf55a00733517062c (diff)
downloaddexon-solidity-d1ad62fccc02dba20129d59a81f260b9ac6b41de.tar.gz
dexon-solidity-d1ad62fccc02dba20129d59a81f260b9ac6b41de.tar.zst
dexon-solidity-d1ad62fccc02dba20129d59a81f260b9ac6b41de.zip
Experimental feature switch for ABI encoder.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/ExperimentalFeatures.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h
index 04b26300..0c03ea4a 100644
--- a/libsolidity/ast/ExperimentalFeatures.h
+++ b/libsolidity/ast/ExperimentalFeatures.h
@@ -29,15 +29,19 @@ namespace solidity
enum class ExperimentalFeature
{
+ ABIEncoderV2, // new ABI encoder that makes use of JULIA
Test,
TestOnlyAnalysis
};
-static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis = {
+static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis =
+{
{ ExperimentalFeature::TestOnlyAnalysis, true },
};
-static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = {
+static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames =
+{
+ { "ABIEncoderV2", ExperimentalFeature::ABIEncoderV2 },
{ "__test", ExperimentalFeature::Test },
{ "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis },
};