[WinEH] Moved funclet pads should be in relative order
[oota-llvm.git] / include / llvm / CodeGen / MachineFunction.h
index 9a253226a1c7cf4d5553f04027d6e23d0d3a9645..1a102c050006711e2d6d5cbe75c497bbc9053c4d 100644 (file)
@@ -375,6 +375,11 @@ public:
     BasicBlocks.erase(MBBI);
   }
 
+  template <typename Comp>
+  void sort(Comp comp) {
+    BasicBlocks.sort(comp);
+  }
+
   //===--------------------------------------------------------------------===//
   // Internal functions used to automatically number MachineBasicBlocks
   //