mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove extraneous old stuff for PoC-7.
Fix gas remaining issue.
This commit is contained in:
parent
1db9bc1651
commit
1d879a9bb4
7
vm.cpp
7
vm.cpp
@ -241,10 +241,11 @@ void FakeExtVM::importCallCreates(mArray& _callcreates)
|
|||||||
|
|
||||||
eth::OnOpFunc FakeExtVM::simpleTrace()
|
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;
|
FakeExtVM const& ext = *static_cast<FakeExtVM const*>(voidExt);
|
||||||
eth::VM& vm = *(eth::VM*)voidVM;
|
eth::VM& vm = *voidVM;
|
||||||
|
|
||||||
std::ostringstream o;
|
std::ostringstream o;
|
||||||
o << std::endl << " STACK" << std::endl;
|
o << std::endl << " STACK" << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user