ladybird/Userland/Libraries/LibJS/Bytecode
Daniel Bertalan fc7de74b12 LibJS/Bytecode: Improve export statement handling
This adds support for exporting class expressions, which was previously
TODO'd.

We now correctly set the binding name of exports to `"*default*"` if
they are unnamed. I'm not sure what the difference between the
`InitializationMode` kinds is, but using `Initialize` fixes a bunch of
tests.

Note that some export tests (e.g. `eval-export-dflt-expr-cls-named.js`)
still fail, as we don't set the "name" property of exported classes
correctly.

176 new passes on test262
2023-06-28 05:13:52 +02:00
..
Pass LibJS: Fix mix-up between assignment and comparison 2023-05-02 07:03:57 -04:00
ASTCodegen.cpp LibJS/Bytecode: Improve export statement handling 2023-06-28 05:13:52 +02:00
BasicBlock.cpp
BasicBlock.h LibJS/Bytecode: Restore old environments when an exception is caught 2023-05-14 06:18:28 +02:00
CodeGenerationError.cpp LibJS: Add to_string definitions to CodeGenerationError and ParserError 2023-02-17 09:14:23 -05:00
CodeGenerationError.h LibJS: Remove unused CodeGenerationError::to_deprecated_string 2023-02-17 09:14:23 -05:00
Executable.cpp Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00
Executable.h Everywhere: Remove NonnullOwnPtr.h includes 2023-03-06 23:46:35 +01:00
Generator.cpp LibJS/Bytecode: Add codegen for "named evaluation if anonymous function" 2023-06-23 16:09:33 +02:00
Generator.h LibJS/Bytecode: Add codegen for "named evaluation if anonymous function" 2023-06-23 16:09:33 +02:00
IdentifierTable.cpp
IdentifierTable.h
Instruction.cpp
Instruction.h LibJS/Bytecode: Throw on destructuring object assignment to nullish LHS 2023-06-25 09:19:53 +02:00
Interpreter.cpp LibJS: Remove the concept of bytecode optimization levels 2023-06-27 14:35:23 +03:30
Interpreter.h LibJS: Remove the concept of bytecode optimization levels 2023-06-27 14:35:23 +03:30
Label.h
Op.cpp LibJS/Bytecode: Implement for await of 2023-06-27 21:04:22 +02:00
Op.h LibJS/Bytecode: Implement for await of 2023-06-27 21:04:22 +02:00
PassManager.h AK: Rename Time to Duration 2023-05-24 23:18:07 +02:00
Register.h
StringTable.cpp
StringTable.h