From 132b6b3efee8d1be7f94545ed5fefaf64de741dc Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 16 Dec 2013 22:26:17 +0100 Subject: implemented 'injectStmt'; more debug support --- compiler/cgen.nim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler/cgen.nim') diff --git a/compiler/cgen.nim b/compiler/cgen.nim index b0c90de76..c143a5d6a 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -289,6 +289,9 @@ proc genLineDir(p: BProc, t: PNode) = linefmt(p, cpsStmts, "nimln($1, $2);$n", line.toRope, t.info.quotedFilename) +proc postStmtActions(p: BProc) {.inline.} = + app(p.s(cpsStmts), p.module.injectStmt) + proc accessThreadLocalVar(p: BProc, s: PSym) proc emulatedThreadVars(): bool {.inline.} -- cgit 1.4.1-2-gfad0 fadb8b4e95d09981fbeb01d85b12f23946c3e7'>this commit This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/tests/misc/t12480.nim
blob: 992533ef608ef82775736913ff0e13c203a05fc3 (plain) (blame)
1
2
3
4
5