ccgexprs.nim: fewer newlines

This commit is contained in:
Araq
2019-05-13 09:38:48 +02:00
parent 07eca7decd
commit 869007b005

View File

@@ -661,12 +661,10 @@ proc unaryArith(p: BProc, e: PNode, d: var TLoc, op: TMagic) =
initLocExpr(p, e.sons[1], a)
t = skipTypes(e.typ, abstractRange)
template applyFormat(frmt: untyped) =
putIntoDest(p, d, e, frmt % [rdLoc(a), rope(getSize(p.config, t) * 8),
getSimpleTypeDesc(p.module, e.typ)])
case op
of mNot:
applyFormat("!($1)")
@@ -710,8 +708,6 @@ proc unaryArith(p: BProc, e: PNode, d: var TLoc, op: TMagic) =
else:
assert false, $op
proc isCppRef(p: BProc; typ: PType): bool {.inline.} =
result = p.module.compileToCpp and
skipTypes(typ, abstractInstOwned).kind == tyVar and