remove redundant execPrecompiles call

This commit is contained in:
andri lim 2019-03-13 21:10:16 +07:00
parent fee2a97b52
commit 1b3ca200fa
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 2 deletions

View File

@ -171,8 +171,7 @@ proc applyMessage(computation: var BaseComputation, opCode: static[Op]): bool =
# Run code # Run code
# We cannot use the normal dispatching function `executeOpcodes` # We cannot use the normal dispatching function `executeOpcodes`
# within `interpreter_dispatch.nim` due to a cyclic dependency. # within `interpreter_dispatch.nim` due to a cyclic dependency.
if not computation.execPrecompiles: computation.opcodeExec(computation)
computation.opcodeExec(computation)
snapshot.commit() snapshot.commit()
except VMError: except VMError:
snapshot.revert(true) snapshot.revert(true)