summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-04-28 12:44:24 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-04-28 15:34:52 -0700
commitbff6013d469b3d4e54cdc5731801c56994a523ec (patch)
treecfbd67f0ab174146df188d4e7563dafbe0084fc8 /ir.h
parent0d605cb97c9cd2f9a170e3aa15bdf4021a75fc14 (diff)
Factor out parameter list replacement for later reuse.
Diffstat (limited to 'ir.h')
-rw-r--r--ir.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 118d97f..df64e48 100644
--- a/ir.h
+++ b/ir.h
@@ -214,6 +214,13 @@ public:
const char *qualifiers_match(exec_list *params);
/**
+ * Replace the current parameter list with the given one. This is useful
+ * if the current information came from a prototype, and either has invalid
+ * or missing parameter names.
+ */
+ void replace_parameters(exec_list *new_params);
+
+ /**
* Function return type.
*
* \note This discards the optional precision qualifier.