aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/vm.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-14 02:49:01 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-14 02:49:01 +0800
commit73c4e6005c3e47342a4631955ca6fd2782925886 (patch)
tree58c881d0cc7d954e7b0e30275c5e6da40dd3e42c /core/vm/vm.go
parenta89cfe92ccdea31891bd7ea0869dac968c04202f (diff)
parent9cacec70f9af77aaf9bf7f48b90f16ebc6d36298 (diff)
downloaddexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar.gz
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar.bz2
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar.lz
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar.xz
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.tar.zst
dexon-73c4e6005c3e47342a4631955ca6fd2782925886.zip
Merge pull request #1638 from obscuren/jit-fixes
core/vm: fixed jit error & added inline docs
Diffstat (limited to 'core/vm/vm.go')
-rw-r--r--core/vm/vm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/vm.go b/core/vm/vm.go
index c292b45d1..da764004a 100644
--- a/core/vm/vm.go
+++ b/core/vm/vm.go
@@ -64,7 +64,7 @@ func (self *Vm) Run(context *Context, input []byte) (ret []byte, err error) {
codehash = crypto.Sha3Hash(context.Code) // codehash is used when doing jump dest caching
program *Program
)
- if !DisableJit {
+ if EnableJit {
// Fetch program status.
// * If ready run using JIT
// * If unknown, compile in a seperate goroutine