summary refs log tree commit diff stats
path: root/compiler/cgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/cgen.nim')
-rw-r--r--compiler/cgen.nim5
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim
index a5ee6c7ca..9e356206f 100644
--- a/compiler/cgen.nim
+++ b/compiler/cgen.nim
@@ -1824,7 +1824,10 @@ template injectG() {.dirty.} =
     graph.backend = newModuleList(graph)
   let g = BModuleList(graph.backend)
 
-proc myOpen(graph: ModuleGraph; module: PSym): PPassContext =
+when not defined(nimHasSinkInference):
+  {.pragma: nosinks.}
+
+proc myOpen(graph: ModuleGraph; module: PSym): PPassContext {.nosinks.} =
   injectG()
   result = newModule(g, module, graph.config)
   if optGenIndex in graph.config.globalOptions and g.generatedHeader == nil:
0b0a7741dc725f1993b4490e00a13a640e0'>0879f0b0a ^
1b1bb284d ^





0879f0b0a ^
180ab350d ^
d20a8ac68 ^
b2e486b23 ^
1b1bb284d ^

1dd9ec85b ^
f2f16f645 ^









f04b502cf ^

fc68a7d88 ^
f04b502cf ^



1b1bb284d ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43