diff options
author | Araq <rumpf_a@web.de> | 2014-02-10 00:52:12 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-10 00:52:12 +0100 |
commit | 5d939570488706553bdb3dc58d7902e454cd6de4 (patch) | |
tree | 73f539becbfee501aee62bce87a42657f544fbe6 /compiler | |
parent | 5b6e42c94f7f5e1699997530e5cd2144a74950a9 (diff) | |
parent | c1707e920eb40261afe37bdc7c0689ae0d1093cb (diff) | |
download | Nim-5d939570488706553bdb3dc58d7902e454cd6de4.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
Diffstat (limited to 'compiler')
-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 031ab8d70..01f23850b 100644 --- a/compiler/ccgexprs.nim +++ b/compiler/ccgexprs.nim @@ -1376,7 +1376,7 @@ proc genSetOp(p: BProc, e: PNode, d: var TLoc, op: TMagic) = getTemp(p, getSysType(tyInt), i) # our counter initLocExpr(p, e.sons[1], a) initLocExpr(p, e.sons[2], b) - if d.k == locNone: getTemp(p, a.t, d) + if d.k == locNone: getTemp(p, getSysType(tyBool), d) lineF(p, cpsStmts, lookupOpr[op], [rdLoc(i), toRope(size), rdLoc(d), rdLoc(a), rdLoc(b)]) of mEqSet: |