summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-04-20 20:24:33 +0000
committerAndrew Trick <atrick@apple.com>2012-04-20 20:24:33 +0000
commit51ee9361016a8bdfc2775d0d2e14270f7f1cc32d (patch)
treed9841e59802be224535bcc23261f4baff71f72ab /llvm/lib/CodeGen
parent1eb4a0da55cd0aac0c439d59c0ec81842033841a (diff)
downloadbcm5719-llvm-51ee9361016a8bdfc2775d0d2e14270f7f1cc32d.tar.gz
bcm5719-llvm-51ee9361016a8bdfc2775d0d2e14270f7f1cc32d.zip
New and improved comment.
llvm-svn: 155229
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/ScheduleDAGInstrs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
index 20f8b787597..1b306d6990a 100644
--- a/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp
@@ -135,8 +135,8 @@ void ScheduleDAGInstrs::startBlock(MachineBasicBlock *bb) {
}
void ScheduleDAGInstrs::finishBlock() {
+ // Subclasses should no longer refer to the old block.
BB = 0;
- // Nothing to do.
}
/// Initialize the map with the number of registers.
OpenPOWER on IntegriCloud