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 1635432 - Create FunctionBox without a FunctionCreationData. r=mg…
…audet Initialize the FunctionBox fields from parameters instead of a FunctionCreationData instance, and allow creating the JSFunction directly from the FunctionBox. This allows us to remove most fields from the FunctionCreationData type. Note that we still use a default instance of FunctionCreationData to correctly fill in CompilationInfo::funcData list. Future work will address that when we unify with ScriptStencil. Differential Revision: https://phabricator.services.mozilla.com/D73883
- Loading branch information
1 parent
06d9dd2
commit 067091a
Showing
6 changed files
with
128 additions
and
184 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
Oops, something went wrong.