summary refs log tree commit diff stats
path: root/compiler/ccgcalls.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2022-10-01 16:46:51 +0200
committerGitHub <noreply@github.com>2022-10-01 16:46:51 +0200
commit8d47bf1822f7d7886ff62f6d14abe405f9f68ed7 (patch)
tree15f0c680c6bfcaeb47c17f21548c1dcb74507980 /compiler/ccgcalls.nim
parentcfff454cf9852be9df2020c3a2d192caaa2f418a (diff)
downloadNim-8d47bf1822f7d7886ff62f6d14abe405f9f68ed7.tar.gz
new move analyser2 (#20471)
* produce better code for closure environment creation
* new 'first write' analysis; 
* scope based move analyser
* code cleanup

Co-authored-by: ringabout <43030857+ringabout@users.noreply.github.com>
Diffstat (limited to 'compiler/ccgcalls.nim')
-rw-r--r--compiler/ccgcalls.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgcalls.nim b/compiler/ccgcalls.nim
index ed5a5b079..81e74d089 100644
--- a/compiler/ccgcalls.nim
+++ b/compiler/ccgcalls.nim
@@ -313,7 +313,7 @@ proc genArgNoParam(p: BProc, n: PNode; result: var Rope; needsTmp = false) =
     initLocExprSingleUse(p, n, a)
     addRdLoc(withTmpIfNeeded(p, a, needsTmp), result)
 
-from dfa import aliases, AliasKind
+import aliasanalysis
 
 proc potentialAlias(n: PNode, potentialWrites: seq[PNode]): bool =
   for p in potentialWrites: