summaryrefslogtreecommitdiff
path: root/vm/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/main.go')
-rw-r--r--vm/main.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/vm/main.go b/vm/main.go
index 61aeebb..688918a 100644
--- a/vm/main.go
+++ b/vm/main.go
@@ -21,6 +21,12 @@ func main() {
vm := NewEvm(b)
- vm.Start()
+ returndata := vm.Run()
+
+ fmt.Printf("finished execution.\n")
+
+ if (returndata != nil) {
+ fmt.Printf("callee returned: %v\n", returndata)
+ }
}