Today the front-ends (llvm-gcc and clang) generate multiple llvm.dbg.compile_units...
[oota-llvm.git] / include / llvm / CodeGen / MachineLoopInfo.h
index 8b46825f2570b55a57efb358e00a728326ae32f8..fa2d2290e31df3607433cdc3031416c2554f07a3 100644 (file)
@@ -92,6 +92,7 @@ public:
   typedef std::vector<MachineLoop*>::const_iterator iterator;
   inline iterator begin() const { return LI->begin(); }
   inline iterator end() const { return LI->end(); }
+  bool empty() const { return LI->empty(); }
 
   /// getLoopFor - Return the inner most loop that BB lives in.  If a basic
   /// block is in no loop (for example the entry node), null is returned.