more comment updates
authorDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 00:44:23 +0000 (00:44 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 10 Feb 2010 00:44:23 +0000 (00:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95736 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineBasicBlock.h
lib/CodeGen/DeadMachineInstructionElim.cpp

index 283322b7461ba8f08f7db097ef6e89984794c34e..1cb8130e87d33c36a07069e953561631a52d1b6e 100644 (file)
@@ -338,7 +338,7 @@ public:
                             bool isCond);
 
   /// 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 findDebugLoc(MachineBasicBlock::iterator &MBBI);
 
   // Debugging methods.
index a888e6d71fb3677c8fa5fa2d349b3698cc687660..b0cb24d95f72479169b7cca70634ef1da9a0cb7d 100644 (file)
@@ -112,7 +112,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {
       MachineInstr *MI = &*MII;
 
       if (MI->isDebugValue()) {
-        // Don't delete the DEBUG_VALUE itself, but if its Value operand is
+        // Don't delete the DBG_VALUE itself, but if its Value operand is
         // a vreg and this is the only use, substitute an undef operand;
         // the former operand will then be deleted normally.
         if (MI->getNumOperands()==3 && MI->getOperand(0).isReg()) {
@@ -120,7 +120,7 @@ bool DeadMachineInstructionElim::runOnMachineFunction(MachineFunction &MF) {
           MachineRegisterInfo::use_iterator I = MRI->use_begin(Reg);
           assert(I != MRI->use_end());
           if (++I == MRI->use_end())
-            // only one use, which must be this DEBUG_VALUE.
+            // only one use, which must be this DBG_VALUE.
             MI->getOperand(0).setReg(0U);
         }
       }