tdisjoint_slice2 works
This commit is contained in:
parent
bea1761da1
commit
9953e0bbca
5 changed files with 27 additions and 7 deletions
|
|
@ -338,7 +338,7 @@ proc setupArgsForParallelism(n: PNode; objType: PType; scratchObj: PSym;
|
|||
objType.addField(fieldB)
|
||||
|
||||
if getMagic(n) == mSlice:
|
||||
let a = genAddrOf(n[0])
|
||||
let a = genAddrOf(n[1])
|
||||
field.typ = a.typ
|
||||
objType.addField(field)
|
||||
result.add newFastAsgnStmt(newDotExpr(scratchObj, field), a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue