Fix comments to reflect renaming elsewhere.
authorDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 00:11:11 +0000 (00:11 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 00:11:11 +0000 (00:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95730 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineBasicBlock.cpp
lib/CodeGen/RegAllocLocal.cpp
lib/CodeGen/SelectionDAG/FastISel.cpp

index 8a6dfa634887624e265e00a551c2c0f0f019f8b9..655a0bf4450dcb6590c6d0a05832c4c34d9eee6f 100644 (file)
@@ -540,7 +540,7 @@ bool MachineBasicBlock::CorrectExtraCFGEdges(MachineBasicBlock *DestA,
 }
 
 /// findDebugLoc - find the next valid DebugLoc starting at MBBI, skipping
-/// any DEBUG_VALUE instructions.  Return UnknownLoc if there is none.
+/// any DBG_VALUE instructions.  Return UnknownLoc if there is none.
 DebugLoc
 MachineBasicBlock::findDebugLoc(MachineBasicBlock::iterator &MBBI) {
   DebugLoc DL;
index f32a709279af4d23af2d763a43d85974e72a1e6d..4d2e3a318b4f3126d846bb569dfe30b23a65e235 100644 (file)
@@ -841,8 +841,8 @@ void RALocal::AllocateBasicBlock(MachineBasicBlock &MBB) {
       }
     }
 
-    // If a DEBUG_VALUE says something is located in a spilled register,
-    // change the DEBUG_VALUE to be undef, which prevents the register
+    // If a DBG_VALUE says something is located in a spilled register,
+    // change the DBG_VALUE to be undef, which prevents the register
     // from being reloaded here.  Doing that would change the generated
     // code, unless another use immediately follows this instruction.
     if (MI->isDebugValue() &&
index dbc5e558bda434c0e998019dc113a0bc6b844f81..35ef5b7053432a1fec1225153a26e88c07b5f376 100644 (file)
@@ -345,7 +345,7 @@ bool FastISel::SelectCall(User *I) {
       if (MDNode *Dbg = DI->getMetadata("dbg"))
         MMI->setVariableDbgInfo(DI->getVariable(), FI, Dbg);
     }
-    // Building the map above is target independent.  Generating DEBUG_VALUE
+    // Building the map above is target independent.  Generating DBG_VALUE
     // inline is target dependent; do this now.
     (void)TargetSelectInstruction(cast<Instruction>(I));
     return true;