2007-08-06 Dan Hipschman <dsh@google.com>
* method.c (use_thunk): Use DECL_NAME instead of DECL_RTL to
access function name.
From-SVN: r127255
+2007-08-06 Dan Hipschman <dsh@google.com>
+
+ * method.c (use_thunk): Use DECL_NAME instead of DECL_RTL to
+ access function name.
+
2007-08-04 Alfred Minarik <a.minarik@aon.at>
PR pch/13676
current_function_decl = thunk_fndecl;
DECL_RESULT (thunk_fndecl)
= build_decl (RESULT_DECL, 0, integer_type_node);
- fnname = XSTR (XEXP (DECL_RTL (thunk_fndecl), 0), 0);
+ fnname = IDENTIFIER_POINTER (DECL_NAME (thunk_fndecl));
/* The back end expects DECL_INITIAL to contain a BLOCK, so we
create one. */
fn_block = make_node (BLOCK);