mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
Fix BNOT instruction [Delivers #81700198]
This commit is contained in:
parent
dd75da2d3a
commit
d77864071d
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,8 @@ void Compiler::compileBasicBlock(BasicBlock& basicBlock, bytesConstRef bytecode,
|
|||
{
|
||||
auto value = stack.pop();
|
||||
auto ret = m_builder.CreateXor(value, llvm::APInt(256, -1, true), "bnot");
|
||||
stack.push(ret);
|
||||
break;
|
||||
}
|
||||
|
||||
case Instruction::LT:
|
||||
|
|
|
|||
Loading…
Reference in a new issue