commit
6d67dccd04
1 changed files with 2 additions and 2 deletions
|
|
@ -833,8 +833,8 @@ proc genSwap(p: PProc, n: PNode) =
|
||||||
"local $1 = $2; $2 = $3; $3 = $1;$n", [
|
"local $1 = $2; $2 = $3; $3 = $1;$n", [
|
||||||
tmp, a.address, b.address])
|
tmp, a.address, b.address])
|
||||||
tmp = tmp2
|
tmp = tmp2
|
||||||
appf(p.body, "var $1 = $2; $2 = $3; $3 = $1" |
|
appf(p.body, "var $1 = $2; $2 = $3; $3 = $1;" |
|
||||||
"local $1 = $2; $2 = $3; $3 = $1", [tmp, a.res, b.res])
|
"local $1 = $2; $2 = $3; $3 = $1;", [tmp, a.res, b.res])
|
||||||
|
|
||||||
proc getFieldPosition(f: PNode): int =
|
proc getFieldPosition(f: PNode): int =
|
||||||
case f.kind
|
case f.kind
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue