mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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:
parent
363bf114c0
commit
11a7014b4e
Notes:
sideshowbarker
2024-07-17 07:35:03 +09:00
Author: https://github.com/BertalanD
Commit: 11a7014b4e
Pull-request: https://github.com/SerenityOS/serenity/pull/19672
2 changed files with 7 additions and 0 deletions
|
@ -2867,4 +2867,9 @@ Bytecode::CodeGenerationErrorOr<void> ExportStatement::generate_bytecode(Bytecod
|
|||
return {};
|
||||
}
|
||||
|
||||
Bytecode::CodeGenerationErrorOr<void> ImportStatement::generate_bytecode(Bytecode::Generator&) const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue