summaryrefslogtreecommitdiff
path: root/src/trans
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2018-07-04 21:00:12 +0800
committerJohn Hodge <tpg@ucc.asn.au>2018-07-04 21:00:12 +0800
commit35c11b8e48fc92ad4b0992cf0b73f3e570468874 (patch)
treedef7988d111ccc0295e47a8ddacad43515e6e361 /src/trans
parent169fc6e5cc4482d509f2829ef302c135f983c1ea (diff)
downloadmrust-35c11b8e48fc92ad4b0992cf0b73f3e570468874.tar.gz
All - Dump full contents of asm! in AST/MIR
Diffstat (limited to 'src/trans')
-rw-r--r--src/trans/codegen_c.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp
index d91a058d..7d38f7a6 100644
--- a/src/trans/codegen_c.cpp
+++ b/src/trans/codegen_c.cpp
@@ -2487,6 +2487,7 @@ namespace {
void emit_statement(const ::MIR::TypeResolve& mir_res, const ::MIR::Statement& stmt, unsigned indent_level=1)
{
+ DEBUG(stmt);
auto indent = RepeatLitStr { "\t", static_cast<int>(indent_level) };
switch( stmt.tag() )
{