diff options
author | Hans Raaf <hara@oderwat.de> | 2015-12-21 00:35:20 +0100 |
---|---|---|
committer | Hans Raaf <hara@oderwat.de> | 2015-12-21 00:35:20 +0100 |
commit | 5a028b3956fe592d08e16a6ce2ceafcb1dd748ac (patch) | |
tree | 877eac1c2b78a1bc5d8e5a70dcc4a30ef155459c /compiler/ccgexprs.nim | |
parent | d6fbc1425f52be6a488dc0652d259ba970f43708 (diff) | |
download | Nim-5a028b3956fe592d08e16a6ce2ceafcb1dd748ac.tar.gz |
Fix regression in set.excl code generation.
Diffstat (limited to 'compiler/ccgexprs.nim')
-rw-r--r-- | compiler/ccgexprs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ccgexprs.nim b/compiler/ccgexprs.nim index df3b655e3..d691b8ea2 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -1502,7 +1502,7 @@ proc genSetOp(p: BProc, e: PNode, d: var TLoc, op: TMagic) = else: case op of mIncl: binaryStmtInExcl(p, e, d, "$1[(NU)($2)>>3] |=(1U<<($2&7U));$n") - of mExcl: binaryStmtInExcl(p, e, d, "$1[(NU)($2)>>3]] &= ~(1U<<($2&7U));$n") + of mExcl: binaryStmtInExcl(p, e, d, "$1[(NU)($2)>>3] &= ~(1U<<($2&7U));$n") of mCard: unaryExprChar(p, e, d, "#cardSet($1, " & $size & ')') of mLtSet, mLeSet: getTemp(p, getSysType(tyInt), i) # our counter |