diff options
author | Araq <rumpf_a@web.de> | 2014-02-24 01:30:40 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-24 01:30:40 +0100 |
commit | 0c31686fec4b3b5db1335d14142ea91a82954f7a (patch) | |
tree | 9c515468d4daace655377b5255cd659ac57a8ef1 /compiler/vmdef.nim | |
parent | efc21baeb99ace615887117c43aa8bf92b534848 (diff) | |
download | Nim-0c31686fec4b3b5db1335d14142ea91a82954f7a.tar.gz |
new VM is getting stable
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index ea7c94856..72689c879 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -163,8 +163,6 @@ type blocks*: seq[TBlock] # blocks; temp data structure slots*: array[TRegister, tuple[inUse: bool, kind: TSlotKind]] maxSlots*: int - globals*: array[TRegister, int] # hack: to support passing globals byref - # we map a slot persistently to a global PCtx* = ref TCtx TCtx* = object of passes.TPassContext # code gen context @@ -181,6 +179,7 @@ type callsite*: PNode mode*: TEvalMode features*: TSandboxFlags + traceActive*: bool TPosition* = distinct int |