diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-06-04 01:01:08 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-06-04 01:01:08 +0200 |
commit | 268260953c3575576e420807c7e3ffd12efa8bd2 (patch) | |
tree | 398e996127b9dfe6f1650a8fbf327ceb42ac434f /compiler/vmdef.nim | |
parent | b5194f592c033c02e9eaf93fde6ee0de2b7623e2 (diff) | |
download | Nim-268260953c3575576e420807c7e3ffd12efa8bd2.tar.gz |
completed VM support for incremental compilations
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index 1ef984466..cec61ade5 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -213,9 +213,6 @@ type config*: ConfigRef graph*: ModuleGraph oldErrorCount*: int - cacheSeqs*: Table[string, PNode] - cacheCounters*: Table[string, BiggestInt] - cacheTables*: Table[string, BTree[string, PNode]] TPosition* = distinct int @@ -226,10 +223,7 @@ proc newCtx*(module: PSym; cache: IdentCache; g: ModuleGraph): PCtx = globals: newNode(nkStmtListExpr), constants: newNode(nkStmtList), types: @[], prc: PProc(blocks: @[]), module: module, loopIterations: MaxLoopIterations, comesFromHeuristic: unknownLineInfo(), callbacks: @[], errorFlag: "", - cache: cache, config: g.config, graph: g, - cacheSeqs: initTable[string, PNode]() - cacheCounters: initTable[string, BiggestInt]() - cacheTables: initTable[string, BTree[string, PNode]]()) + cache: cache, config: g.config, graph: g) proc refresh*(c: PCtx, module: PSym) = c.module = module |