<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [mips] GPRInfo::toArgumentRegister missing"
   href="https://bugs.webkit.org/show_bug.cgi?id=152838#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [mips] GPRInfo::toArgumentRegister missing"
   href="https://bugs.webkit.org/show_bug.cgi?id=152838">bug 152838</a>
              from <span class="vcard"><a class="email" href="mailto:msaboff&#64;apple.com" title="Michael Saboff &lt;msaboff&#64;apple.com&gt;"> <span class="fn">Michael Saboff</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=152838#c3">comment #3</a>)
<span class="quote">&gt; GPRInfo::toArgumentRegister is used at
&gt; Source/JavaScriptCore/jit/CCallHelpers.h:58 which currently breaks
&gt; compilation on MIPS
&gt; 
&gt; BTW, MIPS32 has 32 GPRs so it would be the right thing to pass arguments via
&gt; registers.</span >

With only 4 argument registers, it still doesn't make sense to pass arguments in registers.  Effectively this would only allow for &quot;this&quot; to be passed.  a0 would have the callee, a1 would have the arg count, and a2/a3 would have the tag and payload for this.  Even if we didn't pass the callee and arg count in registers, that would only give this and arg1.</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>