mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibJS: Implement codegen for MemberExpression binding patterns
This commit is contained in:
parent
007ffcd763
commit
56c0fdc1c4
Notes:
sideshowbarker
2024-07-17 16:24:06 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/56c0fdc1c4 Pull-request: https://github.com/SerenityOS/serenity/pull/13370
1 changed files with 1 additions and 4 deletions
|
@ -1058,10 +1058,7 @@ static Bytecode::CodeGenerationErrorOr<void> generate_array_binding_pattern_byte
|
|||
return generate_binding_pattern_bytecode(generator, pattern, initialization_mode, target_reg);
|
||||
},
|
||||
[&](NonnullRefPtr<MemberExpression> const& expr) -> Bytecode::CodeGenerationErrorOr<void> {
|
||||
return Bytecode::CodeGenerationError {
|
||||
expr.ptr(),
|
||||
"Unimplemented alias mode: MemberExpression"sv,
|
||||
};
|
||||
return generator.emit_store_to_reference(*expr);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue