Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: src/IceRegAlloc.cpp

Issue 1353923004: Subzero: Fix a couple of debugging tools. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Prepare test for enabling other targets Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceOperand.h ('k') | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceRegAlloc.cpp
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp
index eac255a476fbcc068329d0b0cd1bdd270c49014d..d9837d967c0a63d8d87926742b0b479e760e4597 100644
--- a/src/IceRegAlloc.cpp
+++ b/src/IceRegAlloc.cpp
@@ -339,12 +339,12 @@ void LinearScan::handleActiveRangeExpiredOrInactive(const Variable *Cur) {
bool Moved = false;
if (Item->rangeEndsBefore(Cur)) {
// Move Item from Active to Handled list.
- dumpLiveRangeTrace("Expiring ", Cur);
+ dumpLiveRangeTrace("Expiring ", Item);
moveItem(Active, Index, Handled);
Moved = true;
} else if (!Item->rangeOverlapsStart(Cur)) {
// Move Item from Active to Inactive list.
- dumpLiveRangeTrace("Inactivating ", Cur);
+ dumpLiveRangeTrace("Inactivating ", Item);
moveItem(Active, Index, Inactive);
Moved = true;
}
@@ -368,11 +368,11 @@ void LinearScan::handleInactiveRangeExpiredOrReactivated(const Variable *Cur) {
Item->trimLiveRange(Cur->getLiveRange().getStart());
if (Item->rangeEndsBefore(Cur)) {
// Move Item from Inactive to Handled list.
- dumpLiveRangeTrace("Expiring ", Cur);
+ dumpLiveRangeTrace("Expiring ", Item);
moveItem(Inactive, Index, Handled);
} else if (Item->rangeOverlapsStart(Cur)) {
// Move Item from Inactive to Active list.
- dumpLiveRangeTrace("Reactivating ", Cur);
+ dumpLiveRangeTrace("Reactivating ", Item);
moveItem(Inactive, Index, Active);
// Increment Item in RegUses[].
assert(Item->hasRegTmp());
« no previous file with comments | « src/IceOperand.h ('k') | src/IceTargetLoweringARM32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698