diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-01-13 02:40:14 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-01-13 02:40:14 +0800 |
commit | ba225017c4c1b60dff57ad56da4e8972812a17e2 (patch) | |
tree | b4664ba5139d4c0317352e470218ef5273f4a622 /vm/vm.go | |
parent | 8a1b51c716abdc21a8af43282e106d77eda3706b (diff) | |
download | dexon-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.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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} } |