minor VM bugfix
This commit is contained in:
parent
160933f9de
commit
6a055990f9
2 changed files with 1 additions and 2 deletions
|
|
@ -1034,6 +1034,7 @@ proc genAsgn(c: PCtx; dest: TDest; ri: PNode; requiresCopy: bool) =
|
|||
proc setSlot(c: PCtx; v: PSym) =
|
||||
# XXX generate type initialization here?
|
||||
if v.position == 0:
|
||||
if c.prc.maxSlots == 0: c.prc.maxSlots = 1
|
||||
v.position = c.prc.maxSlots
|
||||
c.prc.slots[v.position] = (inUse: true,
|
||||
kind: if v.kind == skLet: slotFixedLet else: slotFixedVar)
|
||||
|
|
|
|||
2
todo.txt
2
todo.txt
|
|
@ -1,8 +1,6 @@
|
|||
version 0.9.4
|
||||
=============
|
||||
|
||||
- fix GC issues
|
||||
|
||||
Bugs
|
||||
====
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue