mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibJS: Make JS parser emit accurate this
insights for constructors
This way we don't have to handle it when instantiating the constructor.
This commit is contained in:
parent
9c0b185ab8
commit
ef4e7b7945
Notes:
github-actions[bot]
2025-04-08 16:54:10 +00:00
Author: https://github.com/awesomekling
Commit: ef4e7b7945
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4283
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/trflynn89
3 changed files with 14 additions and 6 deletions
|
@ -39,6 +39,7 @@ struct FunctionNodeParseOptions {
|
|||
IsGeneratorFunction = 1 << 6,
|
||||
IsAsyncFunction = 1 << 7,
|
||||
HasDefaultExportName = 1 << 8,
|
||||
IsConstructor = 1 << 9,
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue