mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +00:00
LibJS: Replace uses of MarkedValueList with MarkedVector<Value>
This is effectively a drop-in replacement.
This commit is contained in:
parent
1d32ac7b8b
commit
bc183dbbcb
Notes:
sideshowbarker
2024-07-17 19:06:41 +09:00
Author: https://github.com/linusg
Commit: bc183dbbcb
Pull-request: https://github.com/SerenityOS/serenity/pull/12376
Reviewed-by: https://github.com/IdanHo
61 changed files with 143 additions and 142 deletions
|
@ -210,7 +210,7 @@ JS::ThrowCompletionOr<size_t> WebAssemblyObject::instantiate_module(Wasm::Module
|
|||
// just extract its address and resolve to that.
|
||||
Wasm::HostFunction host_function {
|
||||
[&](auto&, auto& arguments) -> Wasm::Result {
|
||||
JS::MarkedValueList argument_values { vm.heap() };
|
||||
JS::MarkedVector<JS::Value> argument_values { vm.heap() };
|
||||
for (auto& entry : arguments)
|
||||
argument_values.append(to_js_value(global_object, entry));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue