[Webkit-unassigned] [Bug 152838] [mips] GPRInfo::toArgumentRegister missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 7 11:21:10 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=152838

--- Comment #5 from Michael Saboff <msaboff at apple.com> ---
(In reply to comment #3)
> 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.

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160107/9a4aef14/attachment.html>


More information about the webkit-unassigned mailing list