Browse Source

Fix BNOT instruction [Delivers #81700198]

cl-refactor
Paweł Bylica 10 years ago
parent
commit
d77864071d
  1. 2
      libevmjit/Compiler.cpp

2
libevmjit/Compiler.cpp

@ -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…
Cancel
Save