[PATCH] D30367: CodeGen : Check LLVM_ENABLE_DUMP definition for dumpMachineInstrRangeWithSlotIndex.
Junmo Park via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 5 15:25:32 PST 2017
flyingforyou updated this revision to Diff 90625.
flyingforyou edited the summary of this revision.
flyingforyou added a comment.
Addressing Benjamin's comment.
Thanks.
https://reviews.llvm.org/D30367
Files:
lib/CodeGen/InlineSpiller.cpp
Index: lib/CodeGen/InlineSpiller.cpp
===================================================================
--- lib/CodeGen/InlineSpiller.cpp
+++ lib/CodeGen/InlineSpiller.cpp
@@ -686,7 +686,8 @@
return true;
}
-#if !defined(NDEBUG)
+#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
+LLVM_DUMP_METHOD
// Dump the range of instructions from B to E with their slot indexes.
static void dumpMachineInstrRangeWithSlotIndex(MachineBasicBlock::iterator B,
MachineBasicBlock::iterator E,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30367.90625.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170305/8f1d1a83/attachment.bin>
More information about the llvm-commits
mailing list