aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorHao Bryan Cheng <haobcheng@gmail.com>2016-10-21 23:35:03 +0800
committerFelix Lange <fjl@twurst.com>2016-10-21 23:35:03 +0800
commit89014b4524ecb8bd36d7db2d45ea7b609c01f1a4 (patch)
treebda9e48c53b16c4d6fb6eff889a40581a8bd7a8c /core
parentf8608a5228750076aa15b1e3a67acd7994492053 (diff)
downloaddexon-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.tar.gz
dexon-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.tar.zst
dexon-89014b4524ecb8bd36d7db2d45ea7b609c01f1a4.zip
core/vm: Ignore EnableJit ChainConfig setting (#3166)
Diffstat (limited to 'core')
-rw-r--r--core/vm/vm.go4
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