mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
core/vm: Panic if JIT is invoked
This commit is contained in:
parent
5b262ff5ab
commit
547ef1ecbd
1 changed files with 4 additions and 0 deletions
|
|
@ -79,6 +79,10 @@ func (evm *EVM) Run(contract *Contract, input []byte) (ret []byte, err error) {
|
||||||
}
|
}
|
||||||
var program *Program
|
var program *Program
|
||||||
if evm.cfg.EnableJit {
|
if evm.cfg.EnableJit {
|
||||||
|
// JIT support has fallen off; gas calculations are no longer in consensus
|
||||||
|
// with the network.
|
||||||
|
panic("JIT not supported in this release")
|
||||||
|
|
||||||
// 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue