mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +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
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 (statement.is_program()) {
|
||||||
if (m_call_stack.is_empty()) {
|
if (m_call_stack.is_empty()) {
|
||||||
CallFrame global_call_fram;
|
CallFrame global_call_frame;
|
||||||
global_call_fram.this_value = m_global_object;
|
global_call_frame.this_value = m_global_object;
|
||||||
global_call_fram.function_name = "(global execution context)";
|
global_call_frame.function_name = "(global execution context)";
|
||||||
global_call_fram.environment = heap().allocate<LexicalEnvironment>();
|
global_call_frame.environment = heap().allocate<LexicalEnvironment>();
|
||||||
m_call_stack.append(move(global_call_fram));
|
m_call_stack.append(move(global_call_frame));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue