Closed
Bug 1020141
Opened 11 years ago
Closed 11 years ago
IonMonkey: (ARM) remove the unused 'offset' field from RelativePatch.
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: dougc, Assigned: dougc)
Details
(Whiteboard: [qa-] )
Attachments
(1 file)
3.34 KB,
patch
|
mjrosenb
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
The 'offset' field of RelativePatch is not used. There is even code to update this offset to it's actualOffset() in finish(). If it has no planned use then can we remove it.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8433966 -
Flags: review?(mrosenberg)
Updated•11 years ago
|
Attachment #8433966 -
Flags: review?(mrosenberg) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Double checked this patch, and it still looks good. The x86 and x64 backends use pc relative jumps which need to be patched in executableCopy() so they need the 'offset' field. Whereas the ARM backend jumps to an absolute address that is inlined or stored in a constant pool and these do no need patching, so the 'offset' field is not needed by the ARM backend.
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 8433966 [details] [diff] [review]
Remove the unused 'offset' field from RelativePatch.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): long standing issue.
User impact if declined: None, but 31 is an ESR release and a lot of ARM backend patches need uplifting for this, and lowering the differences between 31 and m-c will help this work.
Testing completed (on m-c, etc.): locally, and try build
Risk to taking this patch (and alternatives if risky): very low.
String or IDL/UUID changes made by this patch: n/a
Attachment #8433966 -
Flags: approval-mozilla-beta?
Attachment #8433966 -
Flags: approval-mozilla-aurora?
Comment 5•11 years ago
|
||
Keywords: checkin-needed
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8433966 -
Flags: approval-mozilla-beta?
Attachment #8433966 -
Flags: approval-mozilla-beta+
Attachment #8433966 -
Flags: approval-mozilla-aurora?
Attachment #8433966 -
Flags: approval-mozilla-aurora+
Comment 7•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•