From a30444a69c2503ab7dae4c9d696fd3ade33e921d Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 20 Apr 2012 20:24:33 +0000 Subject: [PATCH 1/1] New and improved comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155229 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/ScheduleDAGInstrs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/ScheduleDAGInstrs.cpp b/lib/CodeGen/ScheduleDAGInstrs.cpp index 20f8b787597..1b306d6990a 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.cpp +++ b/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. -- 2.34.1