]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-emutls.c
IPA REF refactoring
[thirdparty/gcc.git] / gcc / tree-emutls.c
index fe1e85d9014d44a9c9e50b4d43f255bcf428b821..3a486305c1b7808f19058b4bd0913306494ac7f0 100644 (file)
@@ -453,7 +453,7 @@ gen_emutls_addr (tree decl, struct lower_emutls_data *d)
 
       /* We may be adding a new reference to a new variable to the function.
          This means we have to play with the ipa-reference web.  */
-      ipa_record_reference (d->cfun_node, cvar, IPA_REF_ADDR, x);
+      d->cfun_node->add_reference (cvar, IPA_REF_ADDR, x);
 
       /* Record this ssa_name for possible use later in the basic block.  */
       access_vars[index] = addr;