aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/SemanticInformation.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-15 04:03:32 +0800
committerGitHub <noreply@github.com>2017-06-15 04:03:32 +0800
commit42b61171d981ceccd5f79af5508db92b4f2ad54b (patch)
tree8ab6ee34bb8f15fa40e2509a8eda06f3d867d761 /libevmasm/SemanticInformation.cpp
parentf008ddf83646f6002a61a123cc94ad195a35dce4 (diff)
parentc20cdd0a0574c350b5cde7b38e87321479cecab3 (diff)
downloaddexon-solidity-42b61171d981ceccd5f79af5508db92b4f2ad54b.tar.gz
dexon-solidity-42b61171d981ceccd5f79af5508db92b4f2ad54b.tar.zst
dexon-solidity-42b61171d981ceccd5f79af5508db92b4f2ad54b.zip
Merge pull request #2192 from winsvega/develop
add STATICCALL instruction
Diffstat (limited to 'libevmasm/SemanticInformation.cpp')
-rw-r--r--libevmasm/SemanticInformation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp
index db4ee867..f63f0c61 100644
--- a/libevmasm/SemanticInformation.cpp
+++ b/libevmasm/SemanticInformation.cpp
@@ -137,6 +137,7 @@ bool SemanticInformation::isDeterministic(AssemblyItem const& _item)
case Instruction::CALL:
case Instruction::CALLCODE:
case Instruction::DELEGATECALL:
+ case Instruction::STATICCALL:
case Instruction::CREATE:
case Instruction::CREATE2:
case Instruction::GAS:
@@ -165,6 +166,7 @@ bool SemanticInformation::invalidatesMemory(Instruction _instruction)
case Instruction::CALL:
case Instruction::CALLCODE:
case Instruction::DELEGATECALL:
+ case Instruction::STATICCALL:
return true;
default:
return false;