mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 17:58:49 +00:00
LibJS: Remove unused this
value from CallConstruct instruction
There's no `this` value prior in the caller context, and this was never actually used by CallConstruct.
This commit is contained in:
parent
6b883c5ccb
commit
5cdbb8b140
Notes:
github-actions[bot]
2025-04-08 16:54:36 +00:00
Author: https://github.com/awesomekling
Commit: 5cdbb8b140
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 4 additions and 10 deletions
|
@ -1806,7 +1806,6 @@ Bytecode::CodeGenerationErrorOr<Optional<ScopedOperand>> CallExpression::generat
|
|||
argument_operands.size(),
|
||||
dst,
|
||||
callee,
|
||||
this_value,
|
||||
argument_operands,
|
||||
expression_string_index);
|
||||
} else if (call_type == Op::CallType::DirectEval) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue