Closed Bug 486096 Opened 16 years ago Closed 16 years ago

TraceMonkey: ARM BKPT instructions are not properly encoded.

Categories

(Core :: JavaScript Engine, defect)

ARM
All
defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: jbramley, Assigned: jbramley)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

NativeARM.h encodes BKPT using "E << 24" for the condition code. This is incorrect, as the shift should be 28. In addition, the #defined COND_AL macro should be used. Note: The BKPT instruction in Trace Monkey is never intended to be executed, but acts as a sensible replacement for locations which should never be executed. This can occur when a "LDR PC, xxx" is patched up later with a "B xxx", for example. Because this should never be executed, I have labelled this bug as "trivial".
Attachment #370176 - Flags: review?(vladimir)
Needs check-in on tracemonkey.
Status: NEW → ASSIGNED
Keywords: checkin-needed
Keywords: checkin-needed
Whiteboard: fixed-in-tracemonkey
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: