aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/vm_jit.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/vm_jit.go')
-rw-r--r--core/vm/vm_jit.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/vm/vm_jit.go b/core/vm/vm_jit.go
index f6e4a515b..eb3acfb10 100644
--- a/core/vm/vm_jit.go
+++ b/core/vm/vm_jit.go
@@ -44,7 +44,7 @@ import (
)
type JitVm struct {
- env Environment
+ env EVM
me ContextRef
callerAddr []byte
price *big.Int
@@ -161,7 +161,7 @@ func assert(condition bool, message string) {
}
}
-func NewJitVm(env Environment) *JitVm {
+func NewJitVm(env EVM) *JitVm {
return &JitVm{env: env}
}
@@ -235,7 +235,7 @@ func (self *JitVm) Endl() VirtualMachine {
return self
}
-func (self *JitVm) Env() Environment {
+func (self *JitVm) Env() EVM {
return self.env
}