Index: lib/CodeGen/MachineScheduler.cpp =================================================================== --- lib/CodeGen/MachineScheduler.cpp +++ lib/CodeGen/MachineScheduler.cpp @@ -440,6 +440,7 @@ } /// A region of an MBB for scheduling. +namespace { struct SchedRegion { /// RegionBegin is the first instruction in the scheduling region, and /// RegionEnd is either MBB->end() or the scheduling boundary after the @@ -453,6 +454,7 @@ unsigned N) : RegionBegin(B), RegionEnd(E), NumRegionInstrs(N) {} }; +} // end anonymous namespace typedef SmallVector MBBRegionsVector; static void