<?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>129420</bug_id>
          
          <creation_ts>2014-02-27 05:03:12 -0800</creation_ts>
          <short_desc>Incorrect V_JITOperation_EJ call implementation in DFG for 32-bit ports.</short_desc>
          <delta_ts>2014-02-27 10:42:26 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>108645</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Julien Brianceau">jbriance</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ggaren</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ossy</cc>
    
    <cc>rgabor</cc>
    
    <cc>yong.li.webkit</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>985103</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 05:03:12 -0800</bug_when>
    <thetext>r162652 (http://trac.webkit.org/changeset/162652) introduced V_JITOperation_EJ prototype.

Its implementation seems to be incorrect for 32-bit ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985105</commentid>
    <comment_count>1</comment_count>
      <attachid>225357</attachid>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 05:09:15 -0800</bug_when>
    <thetext>Created attachment 225357
Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985114</commentid>
    <comment_count>2</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2014-02-27 05:23:03 -0800</bug_when>
    <thetext>Was this a speculative fix?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985116</commentid>
    <comment_count>3</comment_count>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 05:26:05 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Was this a speculative fix?
Yes, I only checked compilation. I&apos;m going to retrieve my env to launch run-layout-jsc tests on my arm traditional board.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985123</commentid>
    <comment_count>4</comment_count>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 05:48:50 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; Yes, I only checked compilation. I&apos;m going to retrieve my env to launch run-layout-jsc tests on my arm traditional board.
run-layout-jsc reports the same results on my board with and without this patch: not better, not worse.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985130</commentid>
    <comment_count>5</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2014-02-27 06:02:29 -0800</bug_when>
    <thetext>&gt; run-layout-jsc reports the same results on my board with and without this patch: not better, not worse.

Interesting. So this patch is needed or not? I suspect this code is not triggered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985133</commentid>
    <comment_count>6</comment_count>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 06:08:08 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; &gt; run-layout-jsc reports the same results on my board with and without this patch: not better, not worse.
&gt; 
&gt; Interesting. So this patch is needed or not? I suspect this code is not triggered.

You&apos;re right. If I remove this function, compilation is still ok so it&apos;s not even compiled actually :)
What&apos;s the best choice, removing it or fixing it in case we&apos;d need it later?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985137</commentid>
    <comment_count>7</comment_count>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2014-02-27 06:16:06 -0800</bug_when>
    <thetext>I think we should trigger it somehow, otherwise we don&apos;t know whether the fix is correct :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985154</commentid>
    <comment_count>8</comment_count>
    <who name="Julien Brianceau">jbriance</who>
    <bug_when>2014-02-27 07:40:42 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; I think we should trigger it somehow, otherwise we don&apos;t know whether the fix is correct :(
As it&apos;s like http://trac.webkit.org/changeset/157797 for the tag/payload swap, I&apos;m pretty sure the fix is correct. However if the code is not compiled, I won&apos;t be opposed to just remove it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985171</commentid>
    <comment_count>9</comment_count>
      <attachid>225357</attachid>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2014-02-27 08:05:58 -0800</bug_when>
    <thetext>Comment on attachment 225357
Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.

Looks right to me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985172</commentid>
    <comment_count>10</comment_count>
      <attachid>225357</attachid>
    <who name="Yong Li">yong.li.webkit</who>
    <bug_when>2014-02-27 08:08:46 -0800</bug_when>
    <thetext>Comment on attachment 225357
Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.

Withdraw r+. A test case should have helped to find this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985223</commentid>
    <comment_count>11</comment_count>
      <attachid>225357</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2014-02-27 10:11:20 -0800</bug_when>
    <thetext>Comment on attachment 225357
Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985240</commentid>
    <comment_count>12</comment_count>
      <attachid>225357</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-27 10:42:23 -0800</bug_when>
    <thetext>Comment on attachment 225357
Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.

Clearing flags on attachment: 225357

Committed r164813: &lt;http://trac.webkit.org/changeset/164813&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>985241</commentid>
    <comment_count>13</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2014-02-27 10:42:26 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>225357</attachid>
            <date>2014-02-27 05:09:15 -0800</date>
            <delta_ts>2014-02-27 10:42:23 -0800</delta_ts>
            <desc>Fix V_JITOperation_EJ call implementation in DFG for 32-bit ports.</desc>
            <filename>bug-129420.patch</filename>
            <type>text/plain</type>
            <size>1352</size>
            <attacher name="Julien Brianceau">jbriance</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTY0Nzk0KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBA
CisyMDE0LTAyLTI3ICBKdWxpZW4gQnJpYW5jZWF1ICAgPGpicmlhbmNlQGNpc2NvLmNvbT4KKwor
ICAgICAgICBGaXggMzItYml0IFZfSklUT3BlcmF0aW9uX0VKIGNhbGxPcGVyYXRpb24gaW50cm9k
dWNlZCBpbiByMTYyNjUyLgorICAgICAgICB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hdGUoYXJnMVRhZywgYXJnMVBheWxvYWQp
OworICAgICAgICBtX2ppdC5zZXR1cEFyZ3VtZW50c1dpdGhFeGVjU3RhdGUoRUFCSV8zMkJJVF9E
VU1NWV9BUkcgYXJnMVBheWxvYWQsIGFyZzFUYWcpOwogICAgICAgICByZXR1cm4gYXBwZW5kQ2Fs
bFdpdGhFeGNlcHRpb25DaGVjayhvcGVyYXRpb24pOwogICAgIH0KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>