mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
Merge 3d5442be24 into 881bdc289f
This commit is contained in:
commit
3ef5a35700
1 changed files with 4 additions and 0 deletions
|
|
@ -90,6 +90,10 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) {
|
|||
return RunProgram(GetProgram(codehash), evm.env, contract, input)
|
||||
case progUnknown:
|
||||
if evm.cfg.ForceJit {
|
||||
// JIT support has fallen off; gas calculations are no longer in consensus
|
||||
// with the network.
|
||||
panic("JIT not supported in this release")
|
||||
|
||||
// Create and compile program
|
||||
program = NewProgram(contract.Code)
|
||||
perr := CompileProgram(program)
|
||||
|
|
|
|||
Loading…
Reference in a new issue