diff options
author | Richard Guenther <rguenther@suse.de> | 2012-08-02 11:41:35 +0000 |
---|---|---|
committer | Richard Guenther <rguenther@suse.de> | 2012-08-02 11:41:35 +0000 |
commit | e1a07ca7b2d9be36a170f53c95cfcebb064a7f6b (patch) | |
tree | 0e0dffe31ea1bae355b8df209a5c5e0b95682e5f /gcc/cgraphunit.c | |
parent | 65ac04853009bd4a971eacc4d03d377a324b35ce (diff) |
2012-08-02 Richard Guenther <rguenther@suse.de>
* tree-flow.h (make_rename_temp): Remove.
* tree-dfa.c (make_rename_temp): Likewise.
* cgraphunit.c (thunk_adjust, assemble_thunk): Use create_tmp_reg
instead of make_rename_temp.
* omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
expand_omp_atomic_pipeline): Likewise.
* trans-mem.c (tm_log_emit_save_or_restores, build_tm_load,
build_tm_store, expand_call_tm, expand_transaction,
ipa_tm_insert_gettmclone_call): Likewise.
* tree-complex.c (expand_complex_div_wide): Likewise.
* tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for):
Likewise.
* tree-ssa-loop-im.c (execute_sm_if_changed_flag_set, execute_sm):
Likewise.
* tree-ssa-math-opts.c (insert_reciprocals): Likewise.
* value-prof.c (gimple_divmod_fixed_value, gimple_mod_pow2,
gimple_mod_subtract): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@190074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 12a254dad9d..a6591b5c133 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -1280,7 +1280,7 @@ thunk_adjust (gimple_stmt_iterator * bsi, } vtabletmp = - make_rename_temp (build_pointer_type + create_tmp_reg (build_pointer_type (build_pointer_type (vtable_entry_type)), "vptr"); /* The vptr is always at offset zero in the object. */ @@ -1290,7 +1290,7 @@ thunk_adjust (gimple_stmt_iterator * bsi, gsi_insert_after (bsi, stmt, GSI_NEW_STMT); /* Form the vtable address. */ - vtabletmp2 = make_rename_temp (TREE_TYPE (TREE_TYPE (vtabletmp)), + vtabletmp2 = create_tmp_reg (TREE_TYPE (TREE_TYPE (vtabletmp)), "vtableaddr"); stmt = gimple_build_assign (vtabletmp2, build_simple_mem_ref (vtabletmp)); @@ -1304,7 +1304,7 @@ thunk_adjust (gimple_stmt_iterator * bsi, gsi_insert_after (bsi, stmt, GSI_NEW_STMT); /* Get the offset itself. */ - vtabletmp3 = make_rename_temp (TREE_TYPE (TREE_TYPE (vtabletmp2)), + vtabletmp3 = create_tmp_reg (TREE_TYPE (TREE_TYPE (vtabletmp2)), "vcalloffset"); stmt = gimple_build_assign (vtabletmp3, build_simple_mem_ref (vtabletmp2)); @@ -1326,7 +1326,7 @@ thunk_adjust (gimple_stmt_iterator * bsi, ptrtmp = ptr; else { - ptrtmp = make_rename_temp (TREE_TYPE (ptr), "ptr"); + ptrtmp = create_tmp_reg (TREE_TYPE (ptr), "ptr"); stmt = gimple_build_assign (ptrtmp, ptr); gsi_insert_after (bsi, stmt, GSI_NEW_STMT); } @@ -1335,7 +1335,7 @@ thunk_adjust (gimple_stmt_iterator * bsi, } /* Emit the statement and gimplify the adjustment expression. */ - ret = make_rename_temp (TREE_TYPE (ptr), "adjusted_this"); + ret = create_tmp_reg (TREE_TYPE (ptr), "adjusted_this"); stmt = gimple_build_assign (ret, ptr); gsi_insert_after (bsi, stmt, GSI_NEW_STMT); @@ -1440,7 +1440,7 @@ assemble_thunk (struct cgraph_node *node) BLOCK_VARS (DECL_INITIAL (current_function_decl)) = restmp; } else - restmp = make_rename_temp (restype, "retval"); + restmp = create_tmp_reg (restype, "retval"); } for (arg = a; arg; arg = DECL_CHAIN (arg)) |