mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
Rename BNOT -> NOT, NOT -> ISZERO
This commit is contained in:
parent
29432beef8
commit
c91c5df4f6
1 changed files with 2 additions and 2 deletions
|
|
@ -342,7 +342,7 @@ void Compiler::compileBasicBlock(BasicBlock& _basicBlock, bytesConstRef _bytecod
|
|||
break;
|
||||
}
|
||||
|
||||
case Instruction::BNOT:
|
||||
case Instruction::NOT:
|
||||
{
|
||||
auto value = stack.pop();
|
||||
auto ret = m_builder.CreateXor(value, Constant::get(-1), "bnot");
|
||||
|
|
@ -400,7 +400,7 @@ void Compiler::compileBasicBlock(BasicBlock& _basicBlock, bytesConstRef _bytecod
|
|||
break;
|
||||
}
|
||||
|
||||
case Instruction::NOT:
|
||||
case Instruction::ISZERO:
|
||||
{
|
||||
auto top = stack.pop();
|
||||
auto iszero = m_builder.CreateICmpEQ(top, Constant::get(0), "iszero");
|
||||
|
|
|
|||
Loading…
Reference in a new issue