[lto] PATCH: more CALL_EXPR changes to java front end

Sandra Loosemore sandra@codesourcery.com
Sat Jul 22 00:45:00 GMT 2006


Already committed as "obvious".

-Sandra


2006-07-21  Sandra Loosemore  <sandra@codesourcery.com>

	* gcc/java/class.c (build_static_field_ref): Use build_call_expr.
	(emit_indirect_register_classes): Likewise.
	(emit_register_classes): Likewise.

	* gcc/java/decl.c (finish_method): Use build_call_expr.

	* gcc/java/check-init.c (check_init): Use new CALL_EXPR accessors.

	* gcc/java/resource.c (write_resource_constructor): Use
	build_call_expr.

	* gcc/java/builtins.c (builtin_creator_function): Pass entire
	CALL_EXPR as the second argument, not just the argument list.
	(max_builtin): Extract arguments from CALL_EXPR using new accessors.
	(min_builtin): Likewise.
	(abs_builtin): Likewise.
	(java_build_function_call_expr): Rewrite to use new CALL_EXPR
	constructors.
	(convert_real): Extract arguments from CALL_EXPR using new accessors.
	(check_for_builtin): Pass entire CALL_EXPR as argument to creator,
	rather than just its argument list.

	* gcc/java/lang.c (java_get_callee_fndecl): Use new CALL_EXPR
	accessors.

	* gcc/java/java-tree.h (CALL_THIS_CONSTRUCTOR_P): Use new CALL_EXPR
	accessors.
	(CALL_SUPER_CONSTRUCTOR_P): Likewise.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lto.patch1b
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060722/190465f8/attachment.ksh>


More information about the Gcc-patches mailing list