Make ir_function::signatures private
[mesa.git] / ir.h
diff --git a/ir.h b/ir.h
index 2d2da1df7639b3627e13e90b1898f08c9dd1457c..261d1924027ffac1d469de92231a3893e3554a63 100644 (file)
--- a/ir.h
+++ b/ir.h
@@ -187,6 +187,14 @@ public:
       signatures.push_tail(sig);
    }
 
+   /**
+    * Get an iterator for the set of function signatures
+    */
+   exec_list_iterator iterator()
+   {
+      return signatures.iterator();
+   }
+
    /**
     * Find a signature that matches a set of actual parameters.
     */
@@ -197,6 +205,7 @@ public:
     */
    const char *name;
 
+private:
    /**
     * Set of overloaded functions with this name.
     */