[PATCH] D37555: [MachineScheduler] Put SchedRegion in an anonymous namespace.

Bevin Hansson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 01:20:14 PDT 2017


bevinh updated this revision to Diff 114313.

https://reviews.llvm.org/D37555

Files:
  lib/CodeGen/MachineScheduler.cpp


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<SchedRegion, 16> MBBRegionsVector;
 static void


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37555.114313.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170908/f39acc18/attachment.bin>


More information about the llvm-commits mailing list