aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index c64eccd..576ad118 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -437,6 +437,7 @@ static bool isSchedBoundary(MachineBasicBlock::iterator MI,
}
/// 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
@@ -451,6 +452,7 @@ struct SchedRegion {
unsigned N) :
RegionBegin(B), RegionEnd(E), NumRegionInstrs(N) {}
};
+} // end anonymous namespace
using MBBRegionsVector = SmallVector<SchedRegion, 16>;