aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm.go
diff options
context:
space:
mode:
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}
}