Closed
Bug 1816682
Opened 1 year ago
Closed 1 year ago
Transpile CallClassHook
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
112 Branch
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(2 files)
CallClassHook
is one of the few CacheIR instructions we don't transpile yet. My bound function rewrite prototype uses class hooks for bound function calls so we should just fix this.
Assignee | ||
Comment 1•1 year ago
|
||
newObjectWithCallHook()
returns an object that's callable because it has call/construct
hooks. These hooks return a new object with information about the arguments passed to the
call, so that we can write tests for this more easily.
Assignee | ||
Comment 2•1 year ago
|
||
This adds an MCallBase
base class that's shared with MCall
. This lets us
reuse some of the MCall
code for MCallClassHook
.
Depends on D170070
Updated•1 year ago
|
Attachment #9318150 -
Attachment description: Bug 1816682 part 1 - Add testing function for JSClass call/construct hooks. r?iain! → Bug 1816682 part 1 - Add testing function and tests for JSClass call/construct hooks. r?iain!
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/46a9548d4831 part 1 - Add testing function and tests for JSClass call/construct hooks. r=iain https://hg.mozilla.org/integration/autoland/rev/3afd6d54fc75 part 2 - Transpile CallClassHook. r=iain
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/46a9548d4831
https://hg.mozilla.org/mozilla-central/rev/3afd6d54fc75
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox112:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
Updated•1 year ago
|
Whiteboard: [sp3]
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-256
You need to log in
before you can comment on or make changes to this bug.
Description
•