aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-01-13 02:40:14 +0800
committerPaweł Bylica <pawel.bylica@imapp.pl>2015-01-13 02:40:14 +0800
commitba225017c4c1b60dff57ad56da4e8972812a17e2 (patch)
treeb4664ba5139d4c0317352e470218ef5273f4a622 /vm/vm.go
parent8a1b51c716abdc21a8af43282e106d77eda3706b (diff)
downloaddexon-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.gz
dexon-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.zst
dexon-ba225017c4c1b60dff57ad56da4e8972812a17e2.zip
JitVm struct stub. Forwards calls to DebugVm.
Diffstat (limited to 'vm/vm.go')
-rw-r--r--vm/vm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm.go b/vm/vm.go
index a5ea297b3..b795bb86e 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -15,6 +15,8 @@ func New(env Environment, typ Type) VirtualMachine {
switch typ {
case DebugVmTy:
return NewDebugVm(env)
+ case JitVmTy:
+ return NewJitVm(env)
default:
return &Vm{env: env}
}