[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Jilc-dev] OOPS, it's broken....
From: |
Abhaya Agarwal |
Subject: |
Re: [Jilc-dev] OOPS, it's broken.... |
Date: |
Wed, 27 Feb 2002 00:10:13 +0530 |
Hi,
I noticed that the program stops when ever it encounters a 'sipush' it sort
of freezes. I guess this was the reason.
abhaya
On Tuesday 26 February 2002 10:14 pm, you wrote:
> Hi Guys,
> Sorry to disappoint you all, but my program really needs a
> redesign.. While debugging the program, I happened to notice some
> might peculiar things in my code.
>
> * sipush is marked as I while it has a 2 byte parameter.
> * the signed/unsigned problems for jump offsets etc...
>
> I suggest we go back to the drawing board for jopcodes.c
> and jopcodes.h and start over.
> ie
>
> IS1 -> 1 byte signed
> IU2 -> 2 byte unsigned etc...
>
> LABEL_U2 -> 2 byte label
> LABEL_U4 -> 4 byte label
>
> METHOD_U2 -> 2 byte method
>
>
> This mistake obviously from yours truly will be fixed in the
> next few days (before saturday I promise). Only functions to be
> affected will be print_byte_code and get_jump_points; So please
> keep up with the IL stuff.
>
> Also jparser.* needs some work to get nested class support,
> which I had ignored in the first place.
>
> Gopal.V