diff options
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.h | 6 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 195275f..7e86b12 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -61,9 +61,9 @@ class PhyRegAlloc { const TargetRegInfo &MRI; // Machine Register information const unsigned NumOfRegClasses; // recorded here for efficiency - // Map to indicate whether operands of each MachineInstr have been updated - // according to their assigned colors. This is primarily for debugging and - // could be removed in the long run. + // Map to indicate whether operands of each MachineInstr have been + // updated according to their assigned colors. This is only used in + // assertion checking (debug builds). std::map<const MachineInstr *, bool> OperandsColoredMap; // AddedInstrMap - Used to store instrns added in this phase diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h index 195275f..7e86b12 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h @@ -61,9 +61,9 @@ class PhyRegAlloc { const TargetRegInfo &MRI; // Machine Register information const unsigned NumOfRegClasses; // recorded here for efficiency - // Map to indicate whether operands of each MachineInstr have been updated - // according to their assigned colors. This is primarily for debugging and - // could be removed in the long run. + // Map to indicate whether operands of each MachineInstr have been + // updated according to their assigned colors. This is only used in + // assertion checking (debug builds). std::map<const MachineInstr *, bool> OperandsColoredMap; // AddedInstrMap - Used to store instrns added in this phase |