Edit comment for accuracy
authorBrian Gaeke <gaeke@uiuc.edu>
Tue, 16 Sep 2003 15:36:50 +0000 (15:36 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Tue, 16 Sep 2003 15:36:50 +0000 (15:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8562 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/PhyRegAlloc.h
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h

index 195275fa6563a2a55bdade85de767c2d00410a81..7e86b1205d17f52202acb1df0e05bda91e310152 100644 (file)
@@ -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
index 195275fa6563a2a55bdade85de767c2d00410a81..7e86b1205d17f52202acb1df0e05bda91e310152 100644 (file)
@@ -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