summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-02-03 21:17:20 +0000
committerBill Wendling <isanbard@gmail.com>2009-02-03 21:17:20 +0000
commiteaf02df7b4c9a80bce103ecb52f644447f2b4212 (patch)
tree9ea39b19c232448c6bf6bd37d7e61d65bae0801f /llvm/lib/CodeGen/GCStrategy.cpp
parentef37dc8511118f485612b642a5e79e7f377761b2 (diff)
downloadbcm5719-llvm-eaf02df7b4c9a80bce103ecb52f644447f2b4212.tar.gz
bcm5719-llvm-eaf02df7b4c9a80bce103ecb52f644447f2b4212.zip
Whitespace and comment changes. No functionality change.
llvm-svn: 63660
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r--llvm/lib/CodeGen/GCStrategy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp
index b851c074c21..3ec368fe73c 100644
--- a/llvm/lib/CodeGen/GCStrategy.cpp
+++ b/llvm/lib/CodeGen/GCStrategy.cpp
@@ -329,6 +329,7 @@ void MachineCodeAnalysis::getAnalysisUsage(AnalysisUsage &AU) const {
unsigned MachineCodeAnalysis::InsertLabel(MachineBasicBlock &MBB,
MachineBasicBlock::iterator MI) const {
unsigned Label = MMI->NextLabelID();
+ // N.B. we assume that MI is *not* equal to the "end()" iterator.
BuildMI(MBB, MI, MI->getDebugLoc(),
TII->get(TargetInstrInfo::GC_LABEL)).addImm(Label);
return Label;
OpenPOWER on IntegriCloud