improve vmgen.codeListing formatting (#10306)
* improve vmgen.codeListing formatting * address comments
This commit is contained in:
parent
06e3d3ab4d
commit
beed27b75d
3 changed files with 26 additions and 14 deletions
|
|
@ -10,10 +10,6 @@
|
|||
## This file implements the new evaluation engine for Nim code.
|
||||
## An instruction is 1-3 int32s in memory, it is a register based VM.
|
||||
|
||||
const
|
||||
debugEchoCode = false
|
||||
traceCode = debugEchoCode
|
||||
|
||||
import ast except getstr
|
||||
|
||||
import
|
||||
|
|
@ -26,6 +22,9 @@ from evaltempl import evalTemplate
|
|||
|
||||
from modulegraphs import ModuleGraph, PPassContext
|
||||
|
||||
const
|
||||
traceCode = debugEchoCode
|
||||
|
||||
when hasFFI:
|
||||
import evalffi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue