The simpler step as we finish removing flags from `LazyScriptCreationData` is to just absorb the struct into `FunctionCreationData`. We alread have a `Maybe<FunctionCreationData>` field, so instead we can just inline the `closedOverBindings` and `innerFunctionIndexes` arrays. Fortunately things are mostly in the right place to make this change: https://searchfox.org/mozilla-central/rev/2bfe3415fb3a2fba9b1c694bc0b376365e086927/js/src/frontend/Parser.cpp#1781-1792
Bug 1631106 Comment 1 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The simpler step as we finish removing flags from `LazyScriptCreationData` is to just absorb the struct into `FunctionCreationData`. We already have a `Maybe<LazyScriptCreationData>` field, so instead we can just inline the `closedOverBindings` and `innerFunctionIndexes` arrays. Fortunately things are mostly in the right place to make this change: https://searchfox.org/mozilla-central/rev/2bfe3415fb3a2fba9b1c694bc0b376365e086927/js/src/frontend/Parser.cpp#1781-1792