From 89014b4524ecb8bd36d7db2d45ea7b609c01f1a4 Mon Sep 17 00:00:00 2001 From: Hao Bryan Cheng Date: Fri, 21 Oct 2016 08:35:03 -0700 Subject: [PATCH] core/vm: Ignore EnableJit ChainConfig setting (#3166) --- core/vm/vm.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/vm/vm.go b/core/vm/vm.go index fcffcf3177..205934822a 100644 --- a/core/vm/vm.go +++ b/core/vm/vm.go @@ -78,7 +78,9 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) { codehash = crypto.Keccak256Hash(contract.Code) } 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 it doesn't exist compile a new program in a separate // goroutine or wait for compilation to finish if the JIT is