cmd/geth, core/vm: setup vm settings and defaulted JIT disabled

release/1.1.0
Jeffrey Wilcke 9 years ago
parent c93f0b9f4b
commit eec38c5853
  1. 1
      cmd/geth/main.go
  2. 2
      core/vm/settings.go

@ -336,6 +336,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
}
app.Before = func(ctx *cli.Context) error {
utils.SetupLogger(ctx)
utils.SetupVM(ctx)
if ctx.GlobalBool(utils.PProfEanbledFlag.Name) {
utils.StartPProf(ctx)
}

@ -17,7 +17,7 @@
package vm
var (
DisableJit bool // Disable the JIT VM
DisableJit bool = true // Disable the JIT VM
ForceJit bool // Force the JIT, skip byte VM
MaxProgSize int // Max cache size for JIT Programs
)

Loading…
Cancel
Save