Fix BNOT instruction [Delivers #81700198]

This commit is contained in:
Paweł Bylica 2014-10-30 12:22:59 +01:00
parent dd75da2d3a
commit d77864071d

View file

@ -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: