diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-31 16:37:10 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-31 16:37:10 -0700 |
commit | 6a15d5b514b703ff8dd024f96ffbcb68484a954e (patch) | |
tree | 8d04a22f27cfbff9a8340ab5d5b2836fe965a107 /builtin_function.cpp | |
parent | 4ef183e51de2b625b51cdd6c925760429801595e (diff) |
Use ir_function::add_signature to create link between function and signature
ir_function_signature now has a pointer back to the ir_function that owns it.
Diffstat (limited to 'builtin_function.cpp')
-rw-r--r-- | builtin_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin_function.cpp b/builtin_function.cpp index 8e7e1164b8..684a10c889 100644 --- a/builtin_function.cpp +++ b/builtin_function.cpp @@ -214,7 +214,7 @@ generate_function_instance(ir_function *f, ir_variable *declarations[17]; ir_function_signature *const sig = new ir_function_signature(type); - f->signatures.push_tail(sig); + f->add_signature(sig); ir_label *const label = new ir_label(name); instructions->push_tail(label); |