<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@apple.com" title="Michael Saboff <msaboff@apple.com>"> <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">> GPRInfo::toArgumentRegister is used at
> Source/JavaScriptCore/jit/CCallHelpers.h:58 which currently breaks
> compilation on MIPS
>
> BTW, MIPS32 has 32 GPRs so it would be the right thing to pass arguments via
> registers.</span >
With only 4 argument registers, it still doesn't make sense to pass arguments in registers. Effectively this would only allow for "this" 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>