summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/MergeFunctions.cpp
diff options
context:
space:
mode:
authorNicola Zaghen <nicola.zaghen@imgtec.com>2018-05-23 15:09:29 +0000
committerNicola Zaghen <nicola.zaghen@imgtec.com>2018-05-23 15:09:29 +0000
commit03d0b91f43319d02ec416489118726b8dee9801a (patch)
treea5c49fbab9b2eb667c9d3921a5163e9ab2b77cf9 /llvm/lib/Transforms/IPO/MergeFunctions.cpp
parent2e171b52eeac53d4ece15816688b8c259cd1fea1 (diff)
downloadbcm5719-llvm-03d0b91f43319d02ec416489118726b8dee9801a.tar.gz
bcm5719-llvm-03d0b91f43319d02ec416489118726b8dee9801a.zip
Remove DEBUG macro.
Now that the LLVM_DEBUG() macro landed on the various sub-projects the DEBUG macro can be removed. Also change the new uses of DEBUG to LLVM_DEBUG. Differential Revision: https://reviews.llvm.org/D46952 llvm-svn: 333091
Diffstat (limited to 'llvm/lib/Transforms/IPO/MergeFunctions.cpp')
-rw-r--r--llvm/lib/Transforms/IPO/MergeFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/MergeFunctions.cpp b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
index 929d4fd86eb..208c50d508d 100644
--- a/llvm/lib/Transforms/IPO/MergeFunctions.cpp
+++ b/llvm/lib/Transforms/IPO/MergeFunctions.cpp
@@ -645,8 +645,8 @@ void MergeFunctions::filterInstsUnrelatedToPDI(
static bool isThunkProfitable(Function * F) {
if (F->size() == 1) {
if (F->front().size() <= 2) {
- DEBUG(dbgs() << "isThunkProfitable: " << F->getName()
- << " is too small to bother creating a thunk for\n");
+ LLVM_DEBUG(dbgs() << "isThunkProfitable: " << F->getName()
+ << " is too small to bother creating a thunk for\n");
return false;
}
}
OpenPOWER on IntegriCloud