we can grab its return value. */
if (gimple_call_lhs(stmt) == NULL)
{
- /*
- tree new_lhs = create_tmp_var(gimple_call_return_type(stmt),
- "aop_result");
- add_referenced_var(new_lhs);
- new_lhs = make_ssa_name(new_lhs, stmt);
- gimple_call_set_lhs(stmt, new_lhs);
- update_stmt(stmt);
- */
+ tree new_lhs = create_tmp_var (gimple_call_return_type(stmt),
+ "aop_return");
+ gimple_call_set_lhs (stmt, new_lhs);
+ update_stmt (stmt);
}
+
return_value = stabilize_reference (gimple_call_lhs (stmt));
- debug_gimple_stmt (stmt);
return return_value;
}