<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [MIPS] webkitgtk crashed if JIT is enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=146629#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [MIPS] webkitgtk crashed if JIT is enabled"
   href="https://bugs.webkit.org/show_bug.cgi?id=146629">bug 146629</a>
              from <span class="vcard"><a class="email" href="mailto:Jeffrey.li&#64;nagra.com" title="Jeffrey &lt;Jeffrey.li&#64;nagra.com&gt;"> <span class="fn">Jeffrey</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=146629#c4">comment #4</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=146629#c3">comment #3</a>)
&gt; &gt; Guillaume, this look OK? You didn't run into this issue...?
&gt; 
&gt; I did not run into this issue (yet?), maybe because I've mainly worked with
&gt; jsc only (only compiling WTF/ and JavaScriptCore/).
&gt; I am a little confused by the patch though. I understand that $gp is
&gt; computed by the code of .cpload (emitted by offlineasm for each label),
&gt; which uses $t9. I don't understand how this is different for
&gt; llint_op_catch(), though I didn't study the exception code/protocol, and I
&gt; have a feeling that this is not your regular function, and there might be
&gt; something done with $ra that I did not understand.
&gt; 
&gt; &gt; (In reply to <a href="show_bug.cgi?id=146629#c1">comment #1</a>)
&gt; &gt; &gt; Created <span class=""><a href="attachment.cgi?id=256203" name="attach_256203" title="test case for this issue.">attachment 256203</a> <a href="attachment.cgi?id=256203&amp;action=edit" title="test case for this issue.">[details]</a></span>
&gt; &gt; &gt; test case for this issue.
&gt; &gt; 
&gt; &gt; Great. This should probably be added as a testcase under LayoutTests/js.</span >

The .cpload uses $ra register to compute the $gp value. The jumpToExceptionHandler() uses $t9 as jump register now. Then in llint_op_catch() function, $ra will get a incorrect value. This will cause the $gp value is incorrect too.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>