[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tags missing from Jimple statements



On Thu, 24 Oct 2002, Ondrej Lhotak wrote:

> > I suspected it is because certain optimizations to the Jimple body create
> > new statements without updating their tags, so I tried using the option '-p
> > jb verbatim', but still some statements are missing their tags.
> > I noticed that this especially occurs for the very first statements, which
> > copy values from method parameters to local values.
>
> Are the tags for these identity statements created in the first place?
> Since identity statements do not correspond to any actual bytecode (they
> are only present in Jimple), I don't see how their line number and
> bytecode offset should be defined.

Yes, identity statements don't exist in the original Java.  However, you
could define their line number as the start of the relevant method.  Maybe
bytecode offset too (I don't know how that's used).

pat