Commit a115251c by Ilya Enkovich Committed by Ilya Enkovich

cgraphunit.c (cgraph_node::expand_thunk): Don't expand instrumentation thunks.

	* cgraphunit.c (cgraph_node::expand_thunk): Don't expand
	instrumentation thunks.

From-SVN: r221852
parent fad71ff5
2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
* cgraphunit.c (cgraph_node::expand_thunk): Don't expand
instrumentation thunks.
2015-04-02 Ilya Enkovich <ilya.enkovich@intel.com>
* config/i386/i386.c (ix86_expand_call): Avoid nested
PARALLEL in returned call value.
......
......@@ -1508,6 +1508,10 @@ cgraph_node::expand_thunk (bool output_asm_thunks, bool force_gimple_thunk)
tree thunk_fndecl = decl;
tree a;
/* Instrumentation thunk is the same function with
a different signature. Never need to expand it. */
if (thunk.add_pointer_bounds_args)
return false;
if (!force_gimple_thunk && this_adjusting
&& targetm.asm_out.can_output_mi_thunk (thunk_fndecl, fixed_offset,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment