Commit 89014b45 authored by Hao Bryan Cheng's avatar Hao Bryan Cheng Committed by Felix Lange

core/vm: Ignore EnableJit ChainConfig setting (#3166)

parent f8608a52
...@@ -78,7 +78,9 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) { ...@@ -78,7 +78,9 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) {
codehash = crypto.Keccak256Hash(contract.Code) codehash = crypto.Keccak256Hash(contract.Code)
} }
var program *Program var program *Program
if evm.cfg.EnableJit { if false {
// JIT disabled due to JIT not being Homestead gas reprice ready.
// If the JIT is enabled check the status of the JIT program, // If the JIT is enabled check the status of the JIT program,
// if it doesn't exist compile a new program in a separate // if it doesn't exist compile a new program in a separate
// goroutine or wait for compilation to finish if the JIT is // goroutine or wait for compilation to finish if the JIT is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment