summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/AST.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/AST.cpp')
-rw-r--r--Libraries/LibJS/AST.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Libraries/LibJS/AST.cpp b/Libraries/LibJS/AST.cpp
index 39485a8203..cedab231cd 100644
--- a/Libraries/LibJS/AST.cpp
+++ b/Libraries/LibJS/AST.cpp
@@ -1286,7 +1286,7 @@ Value AssignmentExpression::execute(Interpreter& interpreter, GlobalObject& glob
return {};
}
update_function_name(rhs_result, get_function_name(global_object, reference.name().to_value(interpreter.vm())));
- reference.put(interpreter, global_object, rhs_result);
+ reference.put(global_object, rhs_result);
if (interpreter.exception())
return {};
@@ -1298,7 +1298,7 @@ Value UpdateExpression::execute(Interpreter& interpreter, GlobalObject& global_o
auto reference = m_argument->to_reference(interpreter, global_object);
if (interpreter.exception())
return {};
- auto old_value = reference.get(interpreter, global_object);
+ auto old_value = reference.get(global_object);
if (interpreter.exception())
return {};
old_value = old_value.to_numeric(global_object);
@@ -1323,7 +1323,7 @@ Value UpdateExpression::execute(Interpreter& interpreter, GlobalObject& global_o
ASSERT_NOT_REACHED();
}
- reference.put(interpreter, global_object, new_value);
+ reference.put(global_object, new_value);
if (interpreter.exception())
return {};
return m_prefixed ? new_value : old_value;