LibJS: Correct completion_cell typo in GeneratorObject
This commit is contained in:
parent
04238d0f3f
commit
5fb78ae455
1 changed files with 2 additions and 2 deletions
|
|
@ -101,7 +101,7 @@ ThrowCompletionOr<GeneratorObject::IterationResult> GeneratorObject::execute(VM&
|
|||
return {};
|
||||
};
|
||||
|
||||
auto compleion_cell = heap().allocate<CompletionCell>(completion);
|
||||
auto completion_cell = heap().allocate<CompletionCell>(completion);
|
||||
|
||||
auto& bytecode_interpreter = vm.bytecode_interpreter();
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ ThrowCompletionOr<GeneratorObject::IterationResult> GeneratorObject::execute(VM&
|
|||
// We should never enter `execute` again after the generator is complete.
|
||||
VERIFY(next_block.has_value());
|
||||
|
||||
auto result_value = bytecode_interpreter.run_executable(vm.running_execution_context(), *m_generating_function->bytecode_executable(), next_block, compleion_cell);
|
||||
auto result_value = bytecode_interpreter.run_executable(vm.running_execution_context(), *m_generating_function->bytecode_executable(), next_block, completion_cell);
|
||||
|
||||
vm.pop_execution_context();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue