This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA] _Jv_CompileMethod
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Keith Seitz <keiths at redhat dot com>, java-patches at gcc dot gnu dot org
- Date: 18 Jan 2006 14:24:13 -0700
- Subject: Re: [RFA] _Jv_CompileMethod
- References: <43CE9FE3.4070401@redhat.com> <43CEB242.9070702@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:
Bryce> Why call _Jv_InterpMethod::run() instead of
Bryce> _Jv_InterpMethod::compile() directly?
Unfortunately, AFAIK, you can't do that. compile() needs a table of
the addresses of the labels in run(), and there is no way to get at
this table outside of run(). This is a known limitation of writing
interpreters this way (the vmgen papers mention this as well).
Tom