[llvm-commits] [llvm] r53598 - /llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Matthijs Kooijman
matthijs at stdin.nl
Tue Jul 15 01:53:36 PDT 2008
Author: matthijs
Date: Tue Jul 15 03:53:36 2008
New Revision: 53598
URL: http://llvm.org/viewvc/llvm-project?rev=53598&view=rev
Log:
Simplify debug code by using RetOrArg::getDescription().
Modified:
llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
Modified: llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp?rev=53598&r1=53597&r2=53598&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/DeadArgumentElimination.cpp Tue Jul 15 03:53:36 2008
@@ -544,12 +544,7 @@
if (!LiveValues.insert(RA).second)
return; // We were already marked Live.
- if (RA.IsArg)
- DOUT << "DAE - Marking argument " << RA.Idx << " to function "
- << RA.F->getNameStart() << " live\n";
- else
- DOUT << "DAE - Marking return value " << RA.Idx << " of function "
- << RA.F->getNameStart() << " live\n";
+ DOUT << "DAE - Marking " << RA.getDescription() << " live\n";
// We don't use upper_bound (or equal_range) here, because our recursive call
// to ourselves is likely to cause the upper_bound (which is the first value
More information about the llvm-commits
mailing list