Closed Bug 497784 Opened 17 years ago Closed 16 years ago

nanojit: fix load opcode checking

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

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

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

Attached patch patchSplinter Review
isOp2() currently includes some but not all load opcodes, but no store opcodes. This patch moves the load opcodes out of isOp2(), adds an isLoad() to oprnd2() and setOprnd2() so loads are covered that way, and also adds a missing case to isLoad(). The problem was found by Graydon's LIR assembler.
Attachment #382898 - Flags: review?(graydon)
Attachment #382898 - Flags: review?(graydon) → review+
Whiteboard: checkin-needed
Whiteboard: checkin-needed → fixed-in-tracemonkey
Sayre, I suspect you merged this but forgot to mark it here?
Status: ASSIGNED → RESOLVED
Closed: 16 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: