linker: Implement first bits of intrastage linking

This currently involves an ugly hack so that every link doesn't result
in all the built-in functions showing up as multiply defined.  As soon
as the built-in functions are stored in a separate compilation unit,
ir_function_signature::is_built_in can be removed.
This commit is contained in:
Ian Romanick
2010-06-29 18:53:38 -07:00
parent e2e5d0def4
commit 13f782c4ae
4 changed files with 63 additions and 2 deletions

View File

@@ -287,6 +287,7 @@ ir_function_signature::clone(struct hash_table *ht) const
new(mem_ctx) ir_function_signature(this->return_type);
copy->is_defined = this->is_defined;
copy->is_built_in = this->is_built_in;
/* Clone the parameter list.
*/