vm output

This commit is contained in:
obscuren 2014-07-10 21:54:36 +02:00
parent 5c7e96d895
commit ff151f9fbc
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ func (vm *Vm) RunClosure(closure *Closure) (ret []byte, err error) {
vm.Printf(" => %x", caller)
case CALLVALUE:
stack.Push(vm.vars.Value)
vm.Printf(" => %v", vm.vars.Value)
case CALLDATALOAD:
require(1)
offset := stack.Pop().Int64()