This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] _Jv_CompileMethod


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]