diff options
author | Dimitry <winsvega@mail.ru> | 2017-06-08 22:44:03 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-06-15 00:18:12 +0800 |
commit | c20cdd0a0574c350b5cde7b38e87321479cecab3 (patch) | |
tree | 5e7bc76cba1ec47124eb3bba453a2c994c0d766a /libevmasm/SemanticInformation.cpp | |
parent | d693822a6fce5d1c853e50f4c7758bc003542644 (diff) | |
download | dexon-solidity-c20cdd0a0574c350b5cde7b38e87321479cecab3.tar.gz dexon-solidity-c20cdd0a0574c350b5cde7b38e87321479cecab3.tar.zst dexon-solidity-c20cdd0a0574c350b5cde7b38e87321479cecab3.zip |
add new opcode instructions to the parser
STATICCALL 0xfa 6 inputs (gas address mem1 mem2 mem3 mem4)
Diffstat (limited to 'libevmasm/SemanticInformation.cpp')
-rw-r--r-- | libevmasm/SemanticInformation.cpp | 2 |
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; |