[RFA] Fix bytecode interpreter bitrot

Keith Seitz keiths@redhat.com
Thu Sep 28 19:09:00 GMT 2006


Hi,

I don't know if anybody actually uses the bytecode interpreter anymore, 
but since we do have all the code lurking in the sources somewhere, it 
would be nice to keep it working.

It seems that over the past months, several bugs have found their way 
into the BC interpreter. I believe this patch fixes those problems.

Keith

ChangeLog
2006-09-28  Keith Seitz  <keiths@redhat.com>

         * include/java-interp.h (prepared): Change type to pc_t.
         (insn_index): Define for both DIRECT_THREADED and bytecode 
interpreters.
         * interpret.cc [!DIRECT_THREADED] (POKEI): Fix typo.
         (insn_index): Implement for bytecode interpreter.
         * interpret-run.cc [!DIRECT_THREADED] (AVAL1U): Add _Jv_Linker 
class
         qualifier to resolve_pool_entry.
         [!DIRECT_THREADED] (AVAL2U): Likewise.
         [!DIRECT_THREADED] bytecode() cannot be called without an object.
         Changed all typos.
         [!DIRECT_THREADED] Likewise for defining_class.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bc-bitrot.patch
Type: text/x-patch
Size: 4182 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20060928/307afcf8/attachment.bin>


More information about the Java-patches mailing list