Everywhere: Convert VM::call() to JS::call()

This commit is contained in:
mjz19910 2022-01-23 02:12:26 -07:00 committed by Linus Groh
commit 1ef633472b
Notes: sideshowbarker 2024-07-17 20:23:01 +09:00
37 changed files with 160 additions and 157 deletions

View file

@ -61,7 +61,7 @@ ThrowCompletionOr<Object*> WeakMapConstructor::construct(FunctionObject& new_tar
auto key = TRY(iterator_value.as_object().get(0));
auto value = TRY(iterator_value.as_object().get(1));
TRY(vm.call(adder.as_function(), Value(weak_map), key, value));
TRY(JS::call(global_object, adder.as_function(), weak_map, key, value));
return {};
}));