forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1640211 - Use js::FunctionFlags for WrappedFunction instead of ma…
…nually defining bit-fields. r=tcampbell We don't want to keep a pointer to the native or jitInfo, because that would mean in the long run we would have to include those into CacheIR as well. (We are going to construct WrappedFunction off-main thread in the future and initialize the flags explicitly via CacheIR, probably) Add *Unchecked helpers to JSFunction to avoid asserts reading flags from off-thread. Differential Revision: https://phabricator.services.mozilla.com/D76531
- Loading branch information
Showing
3 changed files
with
26 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters