aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-26 21:27:03 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-03-06 22:30:18 +0800
commitb467116ea85383d5c8492e7f21ea16ce7c70ebc9 (patch)
treeb0bd8c7482d2f8c7b3716b11830990bd8a6fa110 /libsolidity/ast
parent0df4c64884d1b8d3695dd59de5f828ba5298b313 (diff)
downloaddexon-solidity-b467116ea85383d5c8492e7f21ea16ce7c70ebc9.tar.gz
dexon-solidity-b467116ea85383d5c8492e7f21ea16ce7c70ebc9.tar.zst
dexon-solidity-b467116ea85383d5c8492e7f21ea16ce7c70ebc9.zip
Use STATICCALL for pure function calls if EVM version supports it and 0.5.0 is activated.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/ExperimentalFeatures.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h
index a17778b4..30ea7ec5 100644
--- a/libsolidity/ast/ExperimentalFeatures.h
+++ b/libsolidity/ast/ExperimentalFeatures.h
@@ -29,8 +29,8 @@ namespace solidity
enum class ExperimentalFeature
{
- SMTChecker,
ABIEncoderV2, // new ABI encoder that makes use of JULIA
+ SMTChecker,
V050, // v0.5.0 breaking changes
Test,
TestOnlyAnalysis
@@ -45,8 +45,8 @@ static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis
static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames =
{
- { "SMTChecker", ExperimentalFeature::SMTChecker },
{ "ABIEncoderV2", ExperimentalFeature::ABIEncoderV2 },
+ { "SMTChecker", ExperimentalFeature::SMTChecker },
{ "v0.5.0", ExperimentalFeature::V050 },
{ "__test", ExperimentalFeature::Test },
{ "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis },