Commit 34026199 by Tom Tromey Committed by Tom Tromey

lex.c (java_init_lex): Define wfl_to_string as gnu.gcj.runtime.StringBuffer…

lex.c (java_init_lex): Define wfl_to_string as gnu.gcj.runtime.StringBuffer unless generating bytecode.

	* lex.c (java_init_lex): Define wfl_to_string as
	gnu.gcj.runtime.StringBuffer unless generating bytecode.

From-SVN: r47882
parent f0451e26
2001-12-11 Tom Tromey <tromey@redhat.com>
* lex.c (java_init_lex): Define wfl_to_string as
gnu.gcj.runtime.StringBuffer unless generating bytecode.
2001-12-11 Jeff Sturm <jsturm@one-point.com> 2001-12-11 Jeff Sturm <jsturm@one-point.com>
* class.c (make_method_value): Use null_pointer_node to * class.c (make_method_value): Use null_pointer_node to
......
...@@ -118,7 +118,10 @@ java_init_lex (finput, encoding) ...@@ -118,7 +118,10 @@ java_init_lex (finput, encoding)
wfl_append = build_expr_wfl (get_identifier ("append"), NULL, 0, 0); wfl_append = build_expr_wfl (get_identifier ("append"), NULL, 0, 0);
if (!wfl_string_buffer) if (!wfl_string_buffer)
wfl_string_buffer = wfl_string_buffer =
build_expr_wfl (get_identifier ("java.lang.StringBuffer"), NULL, 0, 0); build_expr_wfl (get_identifier (flag_emit_class_files
? "java.lang.StringBuffer"
: "gnu.gcj.runtime.StringBuffer"),
NULL, 0, 0);
if (!wfl_to_string) if (!wfl_to_string)
wfl_to_string = build_expr_wfl (get_identifier ("toString"), NULL, 0, 0); wfl_to_string = build_expr_wfl (get_identifier ("toString"), NULL, 0, 0);
......
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