Closed Bug 520716 Opened 15 years ago Closed 14 years ago

nanojit: LIR::isFloat() doesn't succeed for LIR_float or LIR_fmod

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 538060

People

(Reporter: n.nethercote, Assigned: n.nethercote)

Details

It should!  I came across this when looking at bug 520208.

It would probably be a good idea to make this another attribute in LIRopcode.tbl, so it can be a fast table-based test and more importantly so we can't forget to update it.  (Probably would be a good idea to combine this with isQuad() and the missing isInt(), ie. have the type as an attribute for each instruction.)
Actually, LIR_fmod is present as an opcode in NJ but no code handles it.  jstracer.cpp in TM uses it a bit but seems to replace it with other code.
This was fixed as part of bug 538060, which also renamed isFloat() as isF64().
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.