mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
LibJS: Remove unused ExecutionContext::arguments_object
This commit is contained in:
parent
f8354c5503
commit
0cb4d48283
Notes:
sideshowbarker
2024-07-18 03:06:36 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/0cb4d482834
|
@ -30,7 +30,6 @@ struct ExecutionContext {
|
|||
FlyString function_name;
|
||||
Value this_value;
|
||||
MarkedValueList arguments;
|
||||
Object* arguments_object { nullptr };
|
||||
bool is_strict_mode { false };
|
||||
};
|
||||
|
||||
|
|
|
@ -103,7 +103,6 @@ void VM::gather_roots(HashTable<Cell*>& roots)
|
|||
for (auto& execution_context : stack) {
|
||||
if (execution_context->this_value.is_cell())
|
||||
roots.set(&execution_context->this_value.as_cell());
|
||||
roots.set(execution_context->arguments_object);
|
||||
for (auto& argument : execution_context->arguments) {
|
||||
if (argument.is_cell())
|
||||
roots.set(&argument.as_cell());
|
||||
|
|
Loading…
Reference in a new issue