From c9f253214e51e779ce3d3848cc077e6c9ef11f0f Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Wed, 10 Feb 2010 00:11:11 +0000 Subject: [PATCH] Fix comments to reflect renaming elsewhere. llvm-svn: 95730 --- lib/CodeGen/MachineBasicBlock.cpp | 2 +- lib/CodeGen/RegAllocLocal.cpp | 4 ++-- lib/CodeGen/SelectionDAG/FastISel.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 8a6dfa63488..655a0bf4450 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/lib/CodeGen/MachineBasicBlock.cpp @@ -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; diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index f32a709279a..4d2e3a318b4 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -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() && diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index dbc5e558bda..35ef5b70534 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -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(I)); return true;