diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-10-07 05:39:43 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2015-10-17 04:30:42 +0800 |
commit | b19627804400901ba003f6e401366cb7d3c4290f (patch) | |
tree | 0fbfa3f118df85737b72764b0765a22cbf4c7b2a /cmd | |
parent | 9d61d78de6ad20822b2b48d6c4e3779369ea7331 (diff) | |
download | go-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')
-rw-r--r-- | cmd/utils/flags.go | 3 |
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 |