mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibJS/Bytecode: Add some basic codegen for ExportStatement
This is by no means complete, but at least a bunch of test-js and test262 tests start working. :^)
This commit is contained in:
parent
5d79431859
commit
06ac768c8b
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/awesomekling
Commit: 06ac768c8b
Pull-request: https://github.com/SerenityOS/serenity/pull/19608
2 changed files with 28 additions and 0 deletions
|
@ -470,6 +470,8 @@ public:
|
|||
|
||||
virtual void dump(int indent) const override;
|
||||
|
||||
virtual Bytecode::CodeGenerationErrorOr<void> generate_bytecode(Bytecode::Generator&) const override;
|
||||
|
||||
bool has_export(DeprecatedFlyString const& export_name) const;
|
||||
|
||||
bool has_statement() const { return m_statement; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue