[PATCH] D30367: CodeGen : Check LLVM_ENABLE_DUMP definition for dumpMachineInstrRangeWithSlotIndex.
Junmo Park via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 21:26:48 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL298895: CodeGen : Check LLVM_ENABLE_DUMP definition for… (authored by flyingforyou).
Changed prior to commit:
https://reviews.llvm.org/D30367?vs=90625&id=93208#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30367
Files:
llvm/trunk/lib/CodeGen/InlineSpiller.cpp
Index: llvm/trunk/lib/CodeGen/InlineSpiller.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/InlineSpiller.cpp
+++ llvm/trunk/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.93208.patch
Type: text/x-patch
Size: 568 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170328/1852e907/attachment.bin>
More information about the llvm-commits
mailing list