summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/ExecutionContext.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-02-09 10:06:40 +0000
committerLinus Groh <mail@linusgroh.de>2022-02-09 12:25:27 +0000
commitbc183dbbcb61b1e03196b82f8bad23a167f481a9 (patch)
tree055ce49a3139cfb0e21a0ce41601246bc8d79f65 /Userland/Libraries/LibJS/Runtime/ExecutionContext.h
parent1d32ac7b8b8c18e5da4ba9fa7da47ea812bd99b4 (diff)
downloadserenity-bc183dbbcb61b1e03196b82f8bad23a167f481a9.zip
LibJS: Replace uses of MarkedValueList with MarkedVector<Value>
This is effectively a drop-in replacement.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/ExecutionContext.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/ExecutionContext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/ExecutionContext.h b/Userland/Libraries/LibJS/Runtime/ExecutionContext.h
index 753b6690ab..baedc56368 100644
--- a/Userland/Libraries/LibJS/Runtime/ExecutionContext.h
+++ b/Userland/Libraries/LibJS/Runtime/ExecutionContext.h
@@ -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