Browse Source

Improve VM code formatting

cl-refactor
Paweł Bylica 10 years ago
parent
commit
f06445fcbb
  1. 4
      libevmjit/VM.cpp

4
libevmjit/VM.cpp

@ -28,13 +28,13 @@ bytesConstRef VM::go(ExtVMFace& _ext, OnOpFunc const&, uint64_t)
case ReturnCode::OutOfGas:
BOOST_THROW_EXCEPTION(OutOfGas());
case ReturnCode::StackTooSmall:
BOOST_THROW_EXCEPTION(StackTooSmall(1,0));
BOOST_THROW_EXCEPTION(StackTooSmall(1, 0));
case ReturnCode::BadInstruction:
BOOST_THROW_EXCEPTION(BadInstruction());
}
m_output = std::move(engine.returnData);
return {m_output.data(), m_output.size()}; // TODO: This all bytesConstRef stuff sucks
return {m_output.data(), m_output.size()}; // TODO: This all bytesConstRef stuff sucks
}
}

Loading…
Cancel
Save