diff options
author | chriseth <chris@ethereum.org> | 2017-04-26 20:29:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 20:29:54 +0800 |
commit | 3cbdf6d490c6871d58f12f877cdc84111a7325c1 (patch) | |
tree | 10c53b37db2275d9b6b220bb572ceca777e20297 /libevmasm/Instruction.cpp | |
parent | c3b839ca751bd11a5881fea1db1cfa92ec468d16 (diff) | |
parent | efa9c7626718023083489aebee9a1662c5f24ab5 (diff) | |
download | dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.gz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.bz2 dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.lz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.xz dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.tar.zst dexon-solidity-3cbdf6d490c6871d58f12f877cdc84111a7325c1.zip |
Merge pull request #1577 from ethereum/gas_table
Gas table update
Diffstat (limited to 'libevmasm/Instruction.cpp')
-rw-r--r-- | libevmasm/Instruction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libevmasm/Instruction.cpp b/libevmasm/Instruction.cpp index de6630f3..5e92c6e6 100644 --- a/libevmasm/Instruction.cpp +++ b/libevmasm/Instruction.cpp @@ -191,7 +191,7 @@ static const std::map<Instruction, InstructionInfo> c_instructionInfo = { Instruction::SIGNEXTEND, { "SIGNEXTEND", 0, 2, 1, false, Tier::Low } }, { Instruction::SHA3, { "SHA3", 0, 2, 1, false, Tier::Special } }, { Instruction::ADDRESS, { "ADDRESS", 0, 0, 1, false, Tier::Base } }, - { Instruction::BALANCE, { "BALANCE", 0, 1, 1, false, Tier::Ext } }, + { Instruction::BALANCE, { "BALANCE", 0, 1, 1, false, Tier::Balance } }, { Instruction::ORIGIN, { "ORIGIN", 0, 0, 1, false, Tier::Base } }, { Instruction::CALLER, { "CALLER", 0, 0, 1, false, Tier::Base } }, { Instruction::CALLVALUE, { "CALLVALUE", 0, 0, 1, false, Tier::Base } }, @@ -201,8 +201,8 @@ static const std::map<Instruction, InstructionInfo> c_instructionInfo = { Instruction::CODESIZE, { "CODESIZE", 0, 0, 1, false, Tier::Base } }, { Instruction::CODECOPY, { "CODECOPY", 0, 3, 0, true, Tier::VeryLow } }, { Instruction::GASPRICE, { "GASPRICE", 0, 0, 1, false, Tier::Base } }, - { Instruction::EXTCODESIZE, { "EXTCODESIZE", 0, 1, 1, false, Tier::Ext } }, - { Instruction::EXTCODECOPY, { "EXTCODECOPY", 0, 4, 0, true, Tier::Ext } }, + { Instruction::EXTCODESIZE, { "EXTCODESIZE", 0, 1, 1, false, Tier::ExtCode } }, + { Instruction::EXTCODECOPY, { "EXTCODECOPY", 0, 4, 0, true, Tier::ExtCode } }, { Instruction::BLOCKHASH, { "BLOCKHASH", 0, 1, 1, false, Tier::Ext } }, { Instruction::COINBASE, { "COINBASE", 0, 0, 1, false, Tier::Base } }, { Instruction::TIMESTAMP, { "TIMESTAMP", 0, 0, 1, false, Tier::Base } }, @@ -297,7 +297,7 @@ static const std::map<Instruction, InstructionInfo> c_instructionInfo = { Instruction::DELEGATECALL, { "DELEGATECALL", 0, 6, 1, true, Tier::Special } }, { Instruction::REVERT, { "REVERT", 0, 2, 0, true, Tier::Zero } }, { Instruction::INVALID, { "INVALID", 0, 0, 0, true, Tier::Zero } }, - { Instruction::SELFDESTRUCT, { "SELFDESTRUCT", 0, 1, 0, true, Tier::Zero } } + { Instruction::SELFDESTRUCT, { "SELFDESTRUCT", 0, 1, 0, true, Tier::Special } } }; void dev::solidity::eachInstruction( |