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

Re: why CmpExpr?



On Wed, 25 Aug 2004, Jooyong Lee wrote:

> I'm trying to conver the conditions in IfStmt, so I need to recognize
> all possible cases. Obviously I may have to deal with GtExpr, GeExpr,
> LeExp, LtExpr, EqExpr and NeExpr. I wonder, however if I should consider
> CmpExpr, CmpgExpr and CmplExpr, too. Frankly, I don't even know why they
> exist in Soot.

See http://www.sable.mcgill.ca/listarchives/soot-list/msg01032.html

CmpExpr compares two floating-point values and returns an int.

pat