This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: RFC: Tell do_allocate_static_fields which fields to allocate
Tom Tromey writes:
> Bryce> Instead of duplicating it, couldn't this code actually be shared with
> Bryce> the interpreter?
>
> This sounds like a reasonable suggestion to me.
> It is nice when we can reduce the number of cases in the linker -- it
> is already super complex.
Like I said, it's semantically different. In the interpreted case,
the initializers are constant pool indexes, in the compiled case
they're direct pointers.
Andrew.