Change a bit the implementation of GAS instruction (fix)

[Delivers #79942174]
This commit is contained in:
Paweł Bylica 2014-10-14 19:03:04 +02:00
parent 00e5afc1a5
commit e11a9bb61b

View file

@ -169,7 +169,7 @@ void GasMeter::checkMemory(llvm::Value* _additionalMemoryInWords, llvm::IRBuilde
llvm::Value* GasMeter::getGas()
{
m_builder.CreateLoad(m_gas, "gas");
return m_builder.CreateLoad(m_gas, "gas");
}
}