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
parent 363bf114c0
commit 11a7014b4e
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 {};
}
}