mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +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 value = stack.pop();
|
||||||
auto ret = m_builder.CreateXor(value, llvm::APInt(256, -1, true), "bnot");
|
auto ret = m_builder.CreateXor(value, llvm::APInt(256, -1, true), "bnot");
|
||||||
|
stack.push(ret);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case Instruction::LT:
|
case Instruction::LT:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue