mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
Simplify debug code by using RetOrArg::getDescription().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0d1730a14c
commit
03016ca361
@ -544,12 +544,7 @@ void DAE::MarkLive(RetOrArg RA) {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user