aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-11 06:27:30 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-12 00:43:22 +0800
commit9cacec70f9af77aaf9bf7f48b90f16ebc6d36298 (patch)
treebdea8f53f8058294dc7f0659c317e553b5d4c65b /cmd/utils
parent32395ddb891f3a32bc1295296a0887ed9479eeb0 (diff)
downloaddexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.gz
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.bz2
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.lz
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.xz
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.tar.zst
dexon-9cacec70f9af77aaf9bf7f48b90f16ebc6d36298.zip
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
Diffstat (limited to 'cmd/utils')
-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))
}