correct the comments (#19322)
--expandArc
```
var
a
b
a = matrix(5, 5, 1.0)
b = matrix(5, 5, 2.0)
`=sink`(b, -
let blitTmp = b
wasMoved(b)
blitTmp +
a)
`=destroy`(b)
`=destroy`(a)
```
This commit is contained in:
parent
39a27783fc
commit
0bcd7062c6
1 changed files with 2 additions and 2 deletions
|
|
@ -127,11 +127,11 @@ proc analyse(c: var Con; b: var BasicBlock; n: PNode) =
|
||||||
for i in 0 ..< n.len:
|
for i in 0 ..< n.len:
|
||||||
analyse(c, b, n[i])
|
analyse(c, b, n[i])
|
||||||
else:
|
else:
|
||||||
#[ Test tmatrix.test3:
|
#[ Test destructor/tmatrix.test3:
|
||||||
Prevent this from being elided. We should probably
|
Prevent this from being elided. We should probably
|
||||||
find a better solution...
|
find a better solution...
|
||||||
|
|
||||||
`=sink`(b, - (
|
`=sink`(b, -
|
||||||
let blitTmp = b;
|
let blitTmp = b;
|
||||||
wasMoved(b);
|
wasMoved(b);
|
||||||
blitTmp + a)
|
blitTmp + a)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue