Closed Bug 618050 Opened 14 years ago Closed 14 years ago

JM: Compile JSOP_CASE and JSOP_DEFAULT

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 628073

People

(Reporter: bhackett1024, Unassigned)

References

Details

Switch statements which aren't optimized into LOOKUPSWITCH or TABLESWITCH get emitted as JSOP_CASE and JSOP_DEFAULT. JSOP_CASE is a STRICTEQ plus IFNE, JSOP_DEFAULT is a POP plus GOTO, so these should be simple to do.
Duping forward (other bug has reviewed patch)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.