aboutsummaryrefslogtreecommitdiff
path: root/cmd/vm
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/vm')
-rw-r--r--cmd/vm/main.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmd/vm/main.go b/cmd/vm/main.go
index ecebcbf..bb8f142 100644
--- a/cmd/vm/main.go
+++ b/cmd/vm/main.go
@@ -91,17 +91,10 @@ func main() {
}
if *run {
- vm := vm.New(modules.NewUnknownModule(&bc))
+ vm := vm.New(modules.NewUnknownModule(&bc), vm.NewConsoleOutput())
if err := vm.Run(); err != nil {
exit("execution failed: %v", err)
}
-
- res, err := vm.GetResult()
- if err != nil {
- exit("could not get result: %v", err)
- }
-
- fmt.Println(res)
}
}