summary refs log tree commit diff stats
path: root/compiler/ccgcalls.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/ccgcalls.nim')
-rw-r--r--compiler/ccgcalls.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ccgcalls.nim b/compiler/ccgcalls.nim
index 772a208cb..8ea81ac65 100644
--- a/compiler/ccgcalls.nim
+++ b/compiler/ccgcalls.nim
@@ -30,7 +30,7 @@ proc fixupCall(p: BProc, le, ri: PNode, d: var TLoc,
       if d.k in {locTemp, locNone} or not leftAppearsOnRightSide(le, ri):
         # Great, we can use 'd':
         if d.k == locNone: getTemp(p, typ.sons[0], d, needsInit=true)
-        elif d.k notin {locExpr, locTemp} and not hasNoInit(ri):
+        elif d.k notin {locTemp} and not hasNoInit(ri):
           # reset before pass as 'result' var:
           resetLoc(p, d)
         add(pl, addrLoc(d))
@@ -226,7 +226,7 @@ proc genClosureCall(p: BProc, le, ri: PNode, d: var TLoc) =
         # Great, we can use 'd':
         if d.k == locNone:
           getTemp(p, typ.sons[0], d, needsInit=true)
-        elif d.k notin {locExpr, locTemp} and not hasNoInit(ri):
+        elif d.k notin {locTemp} and not hasNoInit(ri):
           # reset before pass as 'result' var:
           resetLoc(p, d)
         add(pl, addrLoc(d))
2009-12-14 22:39:46 +0100 committer hut <hut@lavabit.com> 2009-12-14 22:39:46 +0100 implemented statusbar widget' href='/akspecs/ranger/commit/ranger/gui/colorscheme.py?h=v1.9.2&id=cfdbb9d634555f7c036861266e308b512f0baeac'>cfdbb9d6 ^
20f94973 ^
ddf828fb ^
871c502d ^
9dc6fe07 ^
465bff73 ^





















3de15ddd ^
65cb1a32 ^
465bff73 ^
f027adc0 ^

9dc6fe07 ^
f027adc0 ^
728fb838 ^
f027adc0 ^

9dc6fe07 ^
f027adc0 ^
65cb1a32 ^
9dc6fe07 ^
f027adc0 ^
65cb1a32 ^
9dc6fe07 ^
aea67778 ^
f027adc0 ^


9dc6fe07 ^
f027adc0 ^
728fb838 ^
f027adc0 ^

9dc6fe07 ^
f027adc0 ^

9dc6fe07 ^
9dc6fe07 ^
9dc6fe07 ^
728fb838 ^
b4b0eb24 ^


728fb838 ^

f027adc0 ^
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75