Bug 126550

Summary: CStack Branch: Disable JIT stack alignment check for ARM64
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch mark.lam: review+

Michael Saboff
Reported 2014-01-06 17:01:08 PST
Since ARM64 enforces strict stack alignment, the need for checkStackPointerAlignment() is not needed. Also, the implementation of checkStackPointerAlignment() would need to be reworked given the limits on the operations that can be done with the stack pointer register in ARM64. Therefore checkStackPointerAlignment() should be conditionally disabled for ARM64.
Attachments
Patch (1.25 KB, patch)
2014-01-06 17:20 PST, Michael Saboff
mark.lam: review+
Michael Saboff
Comment 1 2014-01-06 17:20:57 PST
Mark Lam
Comment 2 2014-01-06 17:39:06 PST
Comment on attachment 220474 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220474&action=review r=me with comment fix. > Source/JavaScriptCore/ChangeLog:8 > + Disabled the compilation of the body of checkStackPointerAlignment for ARM64. Can you put your bug comment here instead? The bug comment said, "Since ARM64 enforces strict stack alignment, the need for checkStackPointerAlignment() is not needed. Also, the implementation of checkStackPointerAlignment() would need to be reworked given the limits on the operations that can be done with the stack pointer register in ARM64. Therefore checkStackPointerAlignment() should be conditionally disabled for ARM64." I think your bug comment does a good job of explaining why we needed this change.
Michael Saboff
Comment 3 2014-01-06 17:53:41 PST
Note You need to log in before you can comment on or make changes to this bug.