All users were logged out of Bugzilla on October 13th, 2018

Add a way to do some sort of fastcall from the JIT on i386 and use it for JSJitPropertyOp and JSJitMethodOp

NEW
Unassigned

Status

()

6 years ago
3 years ago

People

(Reporter: bzbarsky, Unassigned)

Tracking

(Blocks: 2 bugs)

Firefox Tracking Flags

(Not tracked)

Details

On 32-bit we end up generating call code like this:

movl       %ecx, 0xc(%esp)
movl       %ebx, 0x8(%esp)
movl       %eax, 0x4(%esp)
movl       %edi, 0x0(%esp)

for a binding getter.  Would be nice if we could pass at least some of those in registers.

Note that this should be done in such a way as to play nice with the setup in bug 817943.

Note that this is only an issue on i386; x86-64 and ARM are already sane.
This partly depends on the DOM getters being marked as fastcall, correct?
(Reporter)

Comment 2

6 years ago
Well, sure, but they're all codegenned, so this would be a pretty trivial change to make.
(Assignee)

Updated

4 years ago
Assignee: general → nobody
(Reporter)

Updated

3 years ago
Blocks: 1218972
You need to log in before you can comment on or make changes to this bug.