[llvm-branch-commits] [llvm-branch] r107650 - /llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h

Bill Wendling isanbard at gmail.com
Tue Jul 6 04:25:55 PDT 2010


Author: void
Date: Tue Jul  6 06:25:55 2010
New Revision: 107650

URL: http://llvm.org/viewvc/llvm-project?rev=107650&view=rev
Log:
Add 'filter_empty' predicate.

Modified:
    llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h

Modified: llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h?rev=107650&r1=107649&r2=107650&view=diff
==============================================================================
--- llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h (original)
+++ llvm/branches/wendling/eh/include/llvm/CodeGen/MachineFunction.h Tue Jul  6 06:25:55 2010
@@ -256,6 +256,8 @@
   filter_iterator filter_begin() const { return EHFilters.begin(); }
   filter_iterator   filter_end() const { return EHFilters.end(); }
 
+  bool            filter_empty() const { return EHFilters.empty(); }
+
   /// print - Print out the MachineFunction in a format suitable for debugging
   /// to the specified stream.
   ///





More information about the llvm-branch-commits mailing list