mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:07:36 +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
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