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:
chriseth
2016-05-09 10:52:23 +02:00
parent 9e36bdda8a
commit a927efb151
3 changed files with 25 additions and 5 deletions
+2 -2
View File
@@ -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 },