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

Re: CmpExpr



On Sun, 24 Mar 2002, Florian Loitsch wrote:

> i'm trying to write a small method, that tells me, if a Value can throw an
> exception or not, and i got stuck for "CmpExpr"s. I can't even figure out
> the meaning of this Value.
> any help appreciated.

When Jimple -> Jasmin conversion gets a CmpExpr, it always emits a lcmp, a
comparison between long values.

Reading Java class files, Soot will only generate CmpExprs when it got a
lcmp in the input classfile.

pat