diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-27 19:55:21 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-27 20:26:58 +0200 |
commit | b9793e603c2e3f975a93ffe873fae632dd29c9b5 (patch) | |
tree | a107874bae48dbbcf950ef79c1c6848fd022bf6a /Libraries/LibJS/AST.cpp | |
parent | 1df18c58f52d02f65de49f268c2839cb0e7bb977 (diff) | |
download | serenity-b9793e603c2e3f975a93ffe873fae632dd29c9b5.zip |
LibJS: Don't require Interpreter& in PropertyName and StringOrSymbol
Diffstat (limited to 'Libraries/LibJS/AST.cpp')
-rw-r--r-- | Libraries/LibJS/AST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/AST.cpp b/Libraries/LibJS/AST.cpp index df1a3be351..0313c0aa57 100644 --- a/Libraries/LibJS/AST.cpp +++ b/Libraries/LibJS/AST.cpp @@ -1285,7 +1285,7 @@ Value AssignmentExpression::execute(Interpreter& interpreter, GlobalObject& glob interpreter.vm().throw_exception<ReferenceError>(global_object, ErrorType::InvalidLeftHandAssignment); return {}; } - update_function_name(rhs_result, get_function_name(global_object, reference.name().to_value(interpreter))); + update_function_name(rhs_result, get_function_name(global_object, reference.name().to_value(interpreter.vm()))); reference.put(interpreter, global_object, rhs_result); if (interpreter.exception()) |