good morning!!!!

Skip to content
Snippets Groups Projects
Commit 89c69a1d authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

VmDebug => StdVm

parent 06bfe19f
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,10 @@ import (
var vmlogger = logger.NewLogger("VM")
type Type int
type Type byte
const (
StandardVmTy Type = iota
DebugVmTy
StdVmTy Type = iota
JitVmTy
MaxVmTy
......
This diff is collapsed.
This diff is collapsed.
......@@ -3,12 +3,12 @@ package vm
import "math/big"
type JitVm struct {
env Environment
backup *DebugVm
env Environment
backup *Vm
}
func NewJitVm(env Environment) *JitVm {
backupVm := NewDebugVm(env)
backupVm := NewVm(env)
return &JitVm{env: env, backup: backupVm}
}
......@@ -28,4 +28,4 @@ func (self *JitVm) Env() Environment {
return self.env
}
//go is nice
\ No newline at end of file
//go is nice
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment