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:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user