glsl: Refactor out cloning of function prototypes.

This allows us to reuse some code and will be useful later.
This commit is contained in:
Kenneth Graunke
2010-11-11 12:21:27 -08:00
parent 4ce084c707
commit 01a25bb64e
3 changed files with 27 additions and 30 deletions

View File

@@ -376,6 +376,8 @@ public:
virtual ir_function_signature *clone(void *mem_ctx,
struct hash_table *ht) const;
ir_function_signature *clone_prototype(void *mem_ctx,
struct hash_table *ht) const;
virtual void accept(ir_visitor *v)
{