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 | go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.gz go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.bz2 go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.lz go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.xz go-tangerine-ba225017c4c1b60dff57ad56da4e8972812a17e2.tar.zst go-tangerine-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} } |