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

This commit is contained in:
Hao Bryan Cheng 2016-10-21 08:35:03 -07:00 committed by Felix Lange
parent f8608a5228
commit 89014b4524

View File

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