mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibJS: Rename global_call_fram to global_call_frame
Seems to be a typo.
This commit is contained in:
parent
660fd04063
commit
13f806b1b0
Notes:
sideshowbarker
2024-07-19 07:25:46 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/13f806b1b00 Pull-request: https://github.com/SerenityOS/serenity/pull/1898
1 changed files with 5 additions and 5 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue