Bug 131167 - Fix bit rot in ARMv7 JIT probe mechanism
Summary: Fix bit rot in ARMv7 JIT probe mechanism
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-03 10:09 PDT by Mark Lam
Modified: 2014-04-03 11:25 PDT (History)
7 users (show)

See Also:


Attachments
the patch (2.28 KB, patch)
2014-04-03 10:13 PDT, Mark Lam
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2014-04-03 10:09:44 PDT
This is just to get the ARMv7 JIT probe mechanism working again.  The needed changes:
1. The macro assembler does not support pushing the SP register.  Worked around this by pushing the LR register as a placeholder, and then writing the original SP value to that slot.
2. The CPUState field in the ProbeContext needs to be aligned on a 4 byte boundary, not an 8 byte boundary.
Comment 1 Mark Lam 2014-04-03 10:13:53 PDT
Created attachment 228514 [details]
the patch
Comment 2 Geoffrey Garen 2014-04-03 10:54:41 PDT
Comment on attachment 228514 [details]
the patch

r=me
Comment 3 WebKit Commit Bot 2014-04-03 11:25:52 PDT
Comment on attachment 228514 [details]
the patch

Clearing flags on attachment: 228514

Committed r166732: <http://trac.webkit.org/changeset/166732>
Comment 4 WebKit Commit Bot 2014-04-03 11:25:55 PDT
All reviewed patches have been landed.  Closing bug.