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

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 07:09:43 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL313148: [MachineScheduler] Put SchedRegion in an anonymous namespace. (authored by uabelho).

Changed prior to commit:
  https://reviews.llvm.org/D37555?vs=114313&id=115040#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37555

Files:
  llvm/trunk/lib/CodeGen/MachineScheduler.cpp


Index: llvm/trunk/lib/CodeGen/MachineScheduler.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/MachineScheduler.cpp
+++ llvm/trunk/lib/CodeGen/MachineScheduler.cpp
@@ -437,6 +437,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
@@ -451,6 +452,7 @@
               unsigned N) :
     RegionBegin(B), RegionEnd(E), NumRegionInstrs(N) {}
 };
+} // end anonymous namespace
 
 using MBBRegionsVector = SmallVector<SchedRegion, 16>;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37555.115040.patch
Type: text/x-patch
Size: 664 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170913/14a39d29/attachment.bin>


More information about the llvm-commits mailing list