Merge pull request #1883 from obscuren/jit-vm-optimisations

core/vm: JIT segmentation
This commit is contained in:
Jeffrey Wilcke
2015-10-21 12:34:32 -07:00
11 changed files with 472 additions and 83 deletions

View File

@ -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