Closed Bug 787906 Opened 14 years ago Closed 14 years ago

IonMonkey: Don't generate a shift instruction for x >>> 0

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

Attached patch Patch — — Splinter Review
I missed this before because no asm spew was printed for the shrl instructions. The patch fixes this and avoids generating a shift instruction if the shift amount is 0. I had to restructure the code a bit, but the patch is pretty straight-forward.
Attachment #657817 - Flags: review?(dvander)
Attachment #657817 - Flags: review?(dvander) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: