diff options
author | Reid Kleckner <rnk@google.com> | 2016-10-20 00:22:23 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-10-20 00:22:23 +0000 |
commit | 40d7230f2fd3d15b14b15a8689d1b8b1b7205d70 (patch) | |
tree | d7a1798e001ca4af7d8a065c8d7a879140ee1648 /llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp | |
parent | 2918d0b4b25d71d8d4b4cae9ce3721f1d147f43f (diff) | |
download | bcm5719-llvm-40d7230f2fd3d15b14b15a8689d1b8b1b7205d70.tar.gz bcm5719-llvm-40d7230f2fd3d15b14b15a8689d1b8b1b7205d70.zip |
Use __func__ directly now that all supported compilers support it
Remove the portability macro now that it is unused.
llvm-svn: 284681
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp b/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp index 48d1c082a66..bfa2275a423 100644 --- a/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp +++ b/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp @@ -383,9 +383,9 @@ void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap, HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeLiveMap( InstrIndexMap &IndexMap) { RegToRangeMap LiveMap; - DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": index map\n" << IndexMap << '\n'); + DEBUG(dbgs() << __func__ << ": index map\n" << IndexMap << '\n'); computeInitialLiveRanges(IndexMap, LiveMap); - DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": live map\n" + DEBUG(dbgs() << __func__ << ": live map\n" << PrintRangeMap(LiveMap, TRI) << '\n'); return LiveMap; } @@ -448,7 +448,7 @@ HexagonBlockRanges::RegToRangeMap HexagonBlockRanges::computeDeadMap( if (TargetRegisterInfo::isVirtualRegister(P.first.Reg)) addDeadRanges(P.first); - DEBUG(dbgs() << LLVM_FUNCTION_NAME << ": dead map\n" + DEBUG(dbgs() << __func__ << ": dead map\n" << PrintRangeMap(DeadMap, TRI) << '\n'); return DeadMap; } |