<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>126550</bug_id>
          
          <creation_ts>2014-01-06 17:01:08 -0800</creation_ts>
          <short_desc>CStack Branch: Disable JIT stack alignment check for ARM64</short_desc>
          <delta_ts>2014-01-06 17:53:41 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>964815</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-06 17:01:08 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964824</commentid>
    <comment_count>1</comment_count>
      <attachid>220474</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-06 17:20:57 -0800</bug_when>
    <thetext>Created attachment 220474
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964828</commentid>
    <comment_count>2</comment_count>
      <attachid>220474</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2014-01-06 17:39:06 -0800</bug_when>
    <thetext>Comment on attachment 220474
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=220474&amp;action=review

r=me with comment fix.

&gt; Source/JavaScriptCore/ChangeLog:8
&gt; +        Disabled the compilation of the body of checkStackPointerAlignment for ARM64.

Can you put your bug comment here instead?  The bug comment said, &quot;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.&quot;  I think your bug comment does a good job of explaining why we needed this change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964833</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-06 17:53:41 -0800</bug_when>
    <thetext>Committed r161390: &lt;http://trac.webkit.org/changeset/161390&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220474</attachid>
            <date>2014-01-06 17:20:57 -0800</date>
            <delta_ts>2014-01-06 17:39:06 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>126550.patch</filename>
            <type>text/plain</type>
            <size>1281</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTYxMzg3KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya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lkIGNoZWNrU3RhY2tQb2ludGVyQWxpZ25tZW50KCkKICAgICB7Ci0jaWZuZGVmIE5ERUJVRwor
I2lmICFkZWZpbmVkKE5ERUJVRykgJiYgIUNQVShBUk02NCkKICAgICAgICAgSnVtcCBzdGFja1Bv
aW50ZXJBbGlnbmVkID0gYnJhbmNoVGVzdFB0cihaZXJvLCBzdGFja1BvaW50ZXJSZWdpc3Rlciwg
VHJ1c3RlZEltbTMyKDB4ZikpOwogICAgICAgICBicmVha3BvaW50KCk7CiAgICAgICAgIHN0YWNr
UG9pbnRlckFsaWduZWQubGluayh0aGlzKTsK
</data>
<flag name="review"
          id="244185"
          type_id="1"
          status="+"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>