forked from OSchip/llvm-project
Simplify debug code by using RetOrArg::getDescription().
llvm-svn: 53598
This commit is contained in:
parent
90d08addb0
commit
f2860b9fb3
|
@ -544,12 +544,7 @@ void DAE::MarkLive(RetOrArg RA) {
|
||||||
if (!LiveValues.insert(RA).second)
|
if (!LiveValues.insert(RA).second)
|
||||||
return; // We were already marked Live.
|
return; // We were already marked Live.
|
||||||
|
|
||||||
if (RA.IsArg)
|
DOUT << "DAE - Marking " << RA.getDescription() << " live\n";
|
||||||
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";
|
|
||||||
|
|
||||||
// We don't use upper_bound (or equal_range) here, because our recursive call
|
// 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
|
// to ourselves is likely to cause the upper_bound (which is the first value
|
||||||
|
|
Loading…
Reference in New Issue