mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibGC: Rename MarkedVector => RootVector
Let's try to make it a bit more clear that this is a Vector of GC roots.
This commit is contained in:
parent
ada36e5c0a
commit
3bfb0534be
Notes:
github-actions[bot]
2024-12-26 18:11:36 +00:00
Author: https://github.com/awesomekling
Commit: 3bfb0534be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3048
117 changed files with 281 additions and 281 deletions
|
@ -52,12 +52,12 @@ template<typename... Args>
|
|||
[[nodiscard]] ALWAYS_INLINE ThrowCompletionOr<Value> Value::invoke(VM& vm, PropertyKey const& property_key, Args... args)
|
||||
{
|
||||
if constexpr (sizeof...(Args) > 0) {
|
||||
GC::MarkedVector<Value> arglist { vm.heap() };
|
||||
GC::RootVector<Value> arglist { vm.heap() };
|
||||
(..., arglist.append(move(args)));
|
||||
return invoke_internal(vm, property_key, move(arglist));
|
||||
}
|
||||
|
||||
return invoke_internal(vm, property_key, Optional<GC::MarkedVector<Value>> {});
|
||||
return invoke_internal(vm, property_key, Optional<GC::RootVector<Value>> {});
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue