From 4a1cbc2d3379519b4015fe12056f42057c2ecbb7 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 27 Sep 2012 22:01:53 +0200 Subject: [PATCH] Debug log prettification: Indent toElemDtor() children. --- gen/toir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gen/toir.cpp b/gen/toir.cpp index cf39a425..d4b9839f 100644 --- a/gen/toir.cpp +++ b/gen/toir.cpp @@ -65,6 +65,8 @@ DValue *Expression::toElemDtor(IRState *irs) { #if DMDV2 Logger::println("Expression::toElemDtor(): %s", toChars()); + LOG_SCOPE + size_t starti = irs->varsInScope().size(); DValue *val = toElem(irs); size_t endi = irs->varsInScope().size();