diff options
author | Hao Bryan Cheng <haobcheng@gmail.com> | 2016-10-21 23:35:03 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-10-21 23:35:03 +0800 |
commit | 89014b4524ecb8bd36d7db2d45ea7b609c01f1a4 (patch) | |
tree | bda9e48c53b16c4d6fb6eff889a40581a8bd7a8c /core | |
parent | f8608a5228750076aa15b1e3a67acd7994492053 (diff) | |
download | go-tangerine-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.tar.gz go-tangerine-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.tar.zst go-tangerine-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.zip |
core/vm: Ignore EnableJit ChainConfig setting (#3166)
Diffstat (limited to 'core')
-rw-r--r-- | core/vm/vm.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/vm/vm.go b/core/vm/vm.go index fcffcf317..205934822 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 |