Commit 89c69a1d authored by obscuren's avatar obscuren

VmDebug => StdVm

parent 06bfe19f
...@@ -9,11 +9,10 @@ import ( ...@@ -9,11 +9,10 @@ import (
var vmlogger = logger.NewLogger("VM") var vmlogger = logger.NewLogger("VM")
type Type int type Type byte
const ( const (
StandardVmTy Type = iota StdVmTy Type = iota
DebugVmTy
JitVmTy JitVmTy
MaxVmTy MaxVmTy
......
This diff is collapsed.
This diff is collapsed.
...@@ -4,11 +4,11 @@ import "math/big" ...@@ -4,11 +4,11 @@ import "math/big"
type JitVm struct { type JitVm struct {
env Environment env Environment
backup *DebugVm backup *Vm
} }
func NewJitVm(env Environment) *JitVm { func NewJitVm(env Environment) *JitVm {
backupVm := NewDebugVm(env) backupVm := NewVm(env)
return &JitVm{env: env, backup: backupVm} return &JitVm{env: env, backup: backupVm}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment