mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Correctly use not/bnot/iszero.
A long time ago, some opcodes were renamed. Now we should only have not (bitwise negation) and iszero (logical negation).
This commit is contained in:
@@ -39,13 +39,13 @@ const std::map<std::string, Instruction> dev::solidity::c_instructions =
|
||||
{ "MOD", Instruction::MOD },
|
||||
{ "SMOD", Instruction::SMOD },
|
||||
{ "EXP", Instruction::EXP },
|
||||
{ "BNOT", Instruction::NOT },
|
||||
{ "NOT", Instruction::NOT },
|
||||
{ "LT", Instruction::LT },
|
||||
{ "GT", Instruction::GT },
|
||||
{ "SLT", Instruction::SLT },
|
||||
{ "SGT", Instruction::SGT },
|
||||
{ "EQ", Instruction::EQ },
|
||||
{ "NOT", Instruction::ISZERO },
|
||||
{ "ISZERO", Instruction::ISZERO },
|
||||
{ "AND", Instruction::AND },
|
||||
{ "OR", Instruction::OR },
|
||||
{ "XOR", Instruction::XOR },
|
||||
|
||||
Reference in New Issue
Block a user