mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-14 21:11:57 +00:00
LibJS: Always emit value in emit_named_evaluation_if_anonymous_function
There does not appear to be any case that we need to return an OptionalNone{}.
This commit is contained in:
parent
20dba8f1ab
commit
f2fb86abea
Notes:
github-actions[bot]
2025-05-23 01:26:59 +00:00
Author: https://github.com/shannonbooth
Commit: f2fb86abea
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4760
3 changed files with 15 additions and 16 deletions
|
@ -165,7 +165,7 @@ public:
|
|||
void pop_home_object();
|
||||
void emit_new_function(ScopedOperand dst, JS::FunctionExpression const&, Optional<IdentifierTableIndex> lhs_name);
|
||||
|
||||
CodeGenerationErrorOr<Optional<ScopedOperand>> emit_named_evaluation_if_anonymous_function(Expression const&, Optional<IdentifierTableIndex> lhs_name, Optional<ScopedOperand> preferred_dst = {});
|
||||
CodeGenerationErrorOr<ScopedOperand> emit_named_evaluation_if_anonymous_function(Expression const&, Optional<IdentifierTableIndex> lhs_name, Optional<ScopedOperand> preferred_dst = {});
|
||||
|
||||
void begin_continuable_scope(Label continue_target, Vector<FlyString> const& language_label_set);
|
||||
void end_continuable_scope();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue