diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-04-06 00:32:08 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-04-06 00:32:08 +0200 |
commit | 99e0fb90e0d66e706cb91f5af126413d3588c97b (patch) | |
tree | b5fea6c809173f951b61dd9daa4fb660bf5dd4d5 /compiler/ccgstmts.nim | |
parent | caf3d9e34246954e648c78f1b95220cc1a67ae5c (diff) | |
parent | 0f131b9f46aed4bd077c2c04e63dc0cacc348930 (diff) | |
download | Nim-99e0fb90e0d66e706cb91f5af126413d3588c97b.tar.gz |
Merge pull request #2428 from arnetheduck/comp-lib-ropes
Comp lib ropes
Diffstat (limited to 'compiler/ccgstmts.nim')
-rw-r--r-- | compiler/ccgstmts.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index 0cf452985..cd9184f76 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -936,7 +936,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope = if sym.kind in {skProc, skIterator, skClosureIterator, skMethod}: var a: TLoc initLocExpr(p, t.sons[i], a) - res.add(rdLoc(a).ropeToStr) + res.add($rdLoc(a)) else: var r = sym.loc.r if r == nil: @@ -944,7 +944,7 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): PRope = # it doesn't matter much: r = mangleName(sym) sym.loc.r = r # but be consequent! - res.add(r.ropeToStr) + res.add($r) else: internalError(t.sons[i].info, "genAsmOrEmitStmt()") if isAsmStmt and hasGnuAsm in CC[cCompiler].props: |