diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-12-12 03:39:48 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-12-12 03:39:48 +0800 |
commit | 6b8bc1669e0f2e5ade21ad6ae6cc4ef7e024dd2c (patch) | |
tree | bf5e5f49f65f97042da46975fe40a3f0f60af933 /vm.cpp | |
parent | 1d85b074c85ec82175a4e8cab723791b63e6b6db (diff) | |
parent | 1d879a9bb451943add6bb2bd68cad3c79e6aa50e (diff) | |
download | dexon-solidity-6b8bc1669e0f2e5ade21ad6ae6cc4ef7e024dd2c.tar.gz dexon-solidity-6b8bc1669e0f2e5ade21ad6ae6cc4ef7e024dd2c.tar.zst dexon-solidity-6b8bc1669e0f2e5ade21ad6ae6cc4ef7e024dd2c.zip |
Merge remote-tracking branch 'upstream/develop' into vm
Conflicts:
libethereum/Executive.cpp
libethereum/Executive.h
libethereum/State.cpp
Diffstat (limited to 'vm.cpp')
-rw-r--r-- | vm.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -243,10 +243,11 @@ void FakeExtVM::importCallCreates(mArray& _callcreates) eth::OnOpFunc FakeExtVM::simpleTrace() { - return [](uint64_t steps, eth::Instruction inst, bigint newMemSize, bigint gasCost, void* voidVM, void const* voidExt) + + return [](uint64_t steps, eth::Instruction inst, bigint newMemSize, bigint gasCost, dev::eth::VM* voidVM, dev::eth::ExtVMFace const* voidExt) { - FakeExtVM const& ext = *(FakeExtVM const*)voidExt; - eth::VM& vm = *(eth::VM*)voidVM; + FakeExtVM const& ext = *static_cast<FakeExtVM const*>(voidExt); + eth::VM& vm = *voidVM; std::ostringstream o; o << std::endl << " STACK" << std::endl; |