diff options
author | hydai <z54981220@gmail.com> | 2018-03-26 18:48:04 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-03-26 18:48:04 +0800 |
commit | 84c5db5409cebf97276ab90db38ed73c21cf82ef (patch) | |
tree | ad304e3144ad8cf1c13152e0623edda25563889c /core/vm/runtime/runtime.go | |
parent | 23ac78333201890deed23576668810e19df2c67e (diff) | |
download | dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar.gz dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar.bz2 dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar.lz dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar.xz dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.tar.zst dexon-84c5db5409cebf97276ab90db38ed73c21cf82ef.zip |
core/vm: remove JIT VM codes (#16362)
Diffstat (limited to 'core/vm/runtime/runtime.go')
-rw-r--r-- | core/vm/runtime/runtime.go | 4 |
1 files changed, 1 insertions, 3 deletions
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) |