<?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>126478</bug_id>
          
          <creation_ts>2014-01-03 17:45:05 -0800</creation_ts>
          <short_desc>CStack Branch: slowPathFor() should emit an epilogue instead of popping the callFrameRegister</short_desc>
          <delta_ts>2014-01-04 10:26:51 -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>964352</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-03 17:45:05 -0800</bug_when>
    <thetext>Before ThunkGenerators::slowPathFor() jumps to the target function, it returns the stack to the function entry state.  Currently it does this using a pop(callFrameRegister).  Instead it should emit a function epilogue().  This will work for architectures that have a link register that the callee will want to save in its prologue in addition to the callFrameRegister.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964356</commentid>
    <comment_count>1</comment_count>
      <attachid>220360</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-03 17:51:30 -0800</bug_when>
    <thetext>Created attachment 220360
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964395</commentid>
    <comment_count>2</comment_count>
      <attachid>220360</attachid>
    <who name="Mark Lam">mark.lam</who>
    <bug_when>2014-01-04 05:46:31 -0800</bug_when>
    <thetext>Comment on attachment 220360
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>964415</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2014-01-04 10:26:51 -0800</bug_when>
    <thetext>Committed r161312: &lt;http://trac.webkit.org/changeset/161312&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>220360</attachid>
            <date>2014-01-03 17:51:30 -0800</date>
            <delta_ts>2014-01-04 05:46:30 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>126478.patch</filename>
            <type>text/plain</type>
            <size>1323</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTYxMzAwKQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBA
CisyMDE0LTAxLTAzICBNaWNoYWVsIFNhYm9mZiAgPG1zYWJvZmZAYXBwbGUuY29tPgorCisgICAg
ICAgIENTdGFjayBCcmFuY2g6IHNsb3dQYXRoRm9yKCkgc2hvdWxkIGVtaXQgYW4gZXBpbG9ndWUg
aW5zdGVhZCBvZiBwb3BwaW5nIHRoZSBjYWxsRnJhbWVSZWdpc3RlcgorICAgICAgICBodHRwczov
L2J1Z3Mud2Via2l0Lm9yZy9zaG93X2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2lzdGVyKTsKKyAgICBqaXQu
ZW1pdEZ1bmN0aW9uRXBpbG9ndWUoKTsKICAgICBqaXQuanVtcChHUFJJbmZvOjpyZXR1cm5WYWx1
ZUdQUik7CiB9CiAK
</data>
<flag name="review"
          id="244062"
          type_id="1"
          status="+"
          setter="mark.lam"
    />
          </attachment>
      

    </bug>

</bugzilla>