LibJS/Bytecode: Handle ImportStatement in codegen

There is nothing to do here at runtime as imports are handled in
`Interpreter::run`.
This commit is contained in:
Daniel Bertalan 2023-06-27 20:46:41 +02:00 committed by Andreas Kling
commit 11a7014b4e
Notes: sideshowbarker 2024-07-17 07:35:03 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -2867,4 +2867,9 @@ Bytecode::CodeGenerationErrorOr<void> ExportStatement::generate_bytecode(Bytecod
return {};
}
Bytecode::CodeGenerationErrorOr<void> ImportStatement::generate_bytecode(Bytecode::Generator&) const
{
return {};
}
}