aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-10-07 05:39:43 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-10-17 04:30:42 +0800
commitb19627804400901ba003f6e401366cb7d3c4290f (patch)
tree0fbfa3f118df85737b72764b0765a22cbf4c7b2a /cmd/utils
parent9d61d78de6ad20822b2b48d6c4e3779369ea7331 (diff)
downloadgo-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.gz
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.bz2
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.lz
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.xz
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.zst
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.zip
core/vm: added JIT segmenting / optimisations
* multi-push segments * static jumps segments
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index ca9dd76fd..19e6033a3 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -475,6 +475,9 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
cfg.TestNet = true
}
+ if ctx.GlobalBool(VMEnableJitFlag.Name) {
+ cfg.Name += "/JIT"
+ }
if ctx.GlobalBool(DevModeFlag.Name) {
if !ctx.GlobalIsSet(VMDebugFlag.Name) {
cfg.VmDebug = true