From 84c5db5409cebf97276ab90db38ed73c21cf82ef Mon Sep 17 00:00:00 2001 From: hydai Date: Mon, 26 Mar 2018 18:48:04 +0800 Subject: core/vm: remove JIT VM codes (#16362) --- core/vm/runtime/runtime.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core/vm/runtime') diff --git a/core/vm/runtime/runtime.go b/core/vm/runtime/runtime.go index edbf54176..1e9ed7ae2 100644 --- a/core/vm/runtime/runtime.go +++ b/core/vm/runtime/runtime.go @@ -41,7 +41,6 @@ type Config struct { GasLimit uint64 GasPrice *big.Int Value *big.Int - DisableJit bool // "disable" so it's enabled by default Debug bool EVMConfig vm.Config @@ -92,8 +91,7 @@ func setDefaults(cfg *Config) { // It returns the EVM's return value, the new state and an error if it failed. // // Executes sets up a in memory, temporarily, environment for the execution of -// the given code. It enabled the JIT by default and make sure that it's restored -// to it's original state afterwards. +// the given code. It makes sure that it's restored to it's original state afterwards. func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) { if cfg == nil { cfg = new(Config) -- cgit