1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:28:13 +00:00

LibJS: Replace uses of MarkedValueList with MarkedVector<Value>

This is effectively a drop-in replacement.
This commit is contained in:
Linus Groh 2022-02-09 10:06:40 +00:00
parent 1d32ac7b8b
commit bc183dbbcb
61 changed files with 143 additions and 142 deletions

View file

@ -10,8 +10,8 @@
#include <AK/FlyString.h>
#include <AK/WeakPtr.h>
#include <LibJS/Forward.h>
#include <LibJS/Heap/MarkedVector.h>
#include <LibJS/Module.h>
#include <LibJS/Runtime/MarkedValueList.h>
#include <LibJS/Runtime/PrivateEnvironment.h>
#include <LibJS/Runtime/Value.h>
@ -45,7 +45,7 @@ struct ExecutionContext {
}
private:
explicit ExecutionContext(MarkedValueList existing_arguments)
explicit ExecutionContext(MarkedVector<Value> existing_arguments)
: arguments(move(existing_arguments))
{
}
@ -61,7 +61,7 @@ public:
ASTNode const* current_node { nullptr };
FlyString function_name;
Value this_value;
MarkedValueList arguments;
MarkedVector<Value> arguments;
bool is_strict_mode { false };
// https://html.spec.whatwg.org/multipage/webappapis.html#skip-when-determining-incumbent-counter