aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.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 /cmd/utils/flags.go
parenta89cfe92ccdea31891bd7ea0869dac968c04202f (diff)
parent9cacec70f9af77aaf9bf7f48b90f16ebc6d36298 (diff)
downloadgo-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar.gz
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar.bz2
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar.lz
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar.xz
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.tar.zst
go-tangerine-73c4e6005c3e47342a4631955ca6fd2782925886.zip
Merge pull request #1638 from obscuren/jit-fixes
core/vm: fixed jit error & added inline docs
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 462da9305..f9bc3ed4d 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -452,7 +452,7 @@ func SetupLogger(ctx *cli.Context) {
// SetupVM configured the VM package's global settings
func SetupVM(ctx *cli.Context) {
- vm.DisableJit = !ctx.GlobalBool(VMEnableJitFlag.Name)
+ vm.EnableJit = ctx.GlobalBool(VMEnableJitFlag.Name)
vm.ForceJit = ctx.GlobalBool(VMForceJitFlag.Name)
vm.SetJITCacheSize(ctx.GlobalInt(VMJitCacheFlag.Name))
}