made more tests green
This commit is contained in:
parent
ba38b83dd5
commit
80cbe61c6c
2 changed files with 17 additions and 3 deletions
|
|
@ -114,6 +114,7 @@ type
|
|||
generatedHeader*: BModule
|
||||
breakPointId*: int
|
||||
breakpoints*: Rope # later the breakpoints are inserted into the main proc
|
||||
typeInfoMarker*: TypeCache
|
||||
|
||||
TCGen = object of TPassContext # represents a C source file
|
||||
s*: TCFileSections # sections of the C file
|
||||
|
|
@ -162,7 +163,8 @@ proc newProc*(prc: PSym, module: BModule): BProc =
|
|||
result.nestedTryStmts = @[]
|
||||
result.finallySafePoints = @[]
|
||||
|
||||
proc newModuleList*(): BModuleList = BModuleList(modules: @[])
|
||||
proc newModuleList*(): BModuleList =
|
||||
BModuleList(modules: @[], typeInfoMarker: initTable[SigHash, Rope]())
|
||||
|
||||
iterator cgenModules*(g: BModuleList): BModule =
|
||||
for i in 0..high(g.modules):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue