mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
LibJS/JIT: Compile the Await instruction
This commit is contained in:
parent
4671520c0a
commit
c810d4784e
2 changed files with 7 additions and 1 deletions
|
@ -1724,6 +1724,11 @@ void Compiler::compile_yield(Bytecode::Op::Yield const& op)
|
|||
compile_continuation(op.continuation(), false);
|
||||
}
|
||||
|
||||
void Compiler::compile_await(Bytecode::Op::Await const& op)
|
||||
{
|
||||
compile_continuation(op.continuation(), true);
|
||||
}
|
||||
|
||||
void Compiler::jump_to_exit()
|
||||
{
|
||||
m_assembler.jump(m_exit_label);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue