LibJS: Rename global_call_fram to global_call_frame

Seems to be a typo.
This commit is contained in:
Linus Groh 2020-04-20 23:53:28 +01:00 committed by Andreas Kling
parent 660fd04063
commit 13f806b1b0
Notes: sideshowbarker 2024-07-19 07:25:46 +09:00

View file

@ -51,11 +51,11 @@ Value Interpreter::run(const Statement& statement, ArgumentVector arguments, Sco
{
if (statement.is_program()) {
if (m_call_stack.is_empty()) {
CallFrame global_call_fram;
global_call_fram.this_value = m_global_object;
global_call_fram.function_name = "(global execution context)";
global_call_fram.environment = heap().allocate<LexicalEnvironment>();
m_call_stack.append(move(global_call_fram));
CallFrame global_call_frame;
global_call_frame.this_value = m_global_object;
global_call_frame.function_name = "(global execution context)";
global_call_frame.environment = heap().allocate<LexicalEnvironment>();
m_call_stack.append(move(global_call_frame));
}
}