diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 04:03:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 04:03:32 +0800 |
commit | 42b61171d981ceccd5f79af5508db92b4f2ad54b (patch) | |
tree | 8ab6ee34bb8f15fa40e2509a8eda06f3d867d761 /libevmasm/Instruction.cpp | |
parent | f008ddf83646f6002a61a123cc94ad195a35dce4 (diff) | |
parent | c20cdd0a0574c350b5cde7b38e87321479cecab3 (diff) | |
download | dexon-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/Instruction.cpp')
-rw-r--r-- | libevmasm/Instruction.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/Instruction.cpp b/libevmasm/Instruction.cpp index d58a47a0..8feb733a 100644 --- a/libevmasm/Instruction.cpp +++ b/libevmasm/Instruction.cpp @@ -159,6 +159,7 @@ const std::map<std::string, Instruction> dev::solidity::c_instructions = { "CREATE", Instruction::CREATE }, { "CALL", Instruction::CALL }, { "CALLCODE", Instruction::CALLCODE }, + { "STATICCALL", Instruction::STATICCALL }, { "RETURN", Instruction::RETURN }, { "DELEGATECALL", Instruction::DELEGATECALL }, { "CREATE2", Instruction::CREATE2 }, @@ -300,6 +301,7 @@ static const std::map<Instruction, InstructionInfo> c_instructionInfo = { Instruction::CALLCODE, { "CALLCODE", 0, 7, 1, true, Tier::Special } }, { Instruction::RETURN, { "RETURN", 0, 2, 0, true, Tier::Zero } }, { Instruction::DELEGATECALL, { "DELEGATECALL", 0, 6, 1, true, Tier::Special } }, + { Instruction::STATICCALL, { "STATICCALL", 0, 6, 1, true, Tier::Special } }, { Instruction::CREATE2, { "CREATE2", 0, 4, 1, true, Tier::Special } }, { Instruction::REVERT, { "REVERT", 0, 2, 0, true, Tier::Zero } }, { Instruction::INVALID, { "INVALID", 0, 0, 0, true, Tier::Zero } }, |