Resolve _SetIsInlinableLargeFunction at parse time
Categories
(Core :: JavaScript Engine, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
The self-hosting intrinsic, _SetIsInlinableLargeFunction
, is used to add flags to a target function (much like a decorator), but currently is processed when the top-level self-hosted.js file is executed rather than at parse time. This means a mutable flag is needed and extra care must be taken to copy it correctly.
Instead, we can process this at BCE-time and make the flag immutable. This will also enable Bug 1688794 to clone more things directly from the stencil.
Assignee | ||
Comment 1•4 years ago
|
||
Use the existing intrinsic function call processing of self-hosting, the BCE
can also resolve _SetIsInlinableLargeFunction. To do this, we also track the
latest top-level FunctionBox that was processed to allow easily updating
flags without a dedicated hashmap. This change lets us make the flag
immutable now.
Comment 3•4 years ago
|
||
bugherder |
Description
•