ladybird/Userland/Libraries/LibJS/Bytecode
Tim Ledbetter 6c31f2a68a LibJS: Don't crash when attempting to load from an invalid reference
Previously, attempting to load a value from an invalid reference would
cause a crash. We now return a CodeGenerationError rather than hitting
an assertion. This is not a complete solution, as ideally we would want
to return a ReferenceError, but this now matches the behavior we see
when we attempt to store something to an invalid reference.
2024-02-08 07:55:07 -07:00
..
ASTCodegen.cpp LibCrypto: Make constructing a BigInteger from string fallible 2024-01-13 19:01:35 -07:00
BasicBlock.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
BasicBlock.h LibWeb+LibJS: Use JS::GCPtr for pointers to GC-allocated objects 2023-12-11 16:55:25 +01:00
Builtins.cpp
Builtins.h LibJS/JIT: Add builtin for Math.exp() 2023-11-24 12:49:15 +01:00
CodeGenerationError.cpp
CodeGenerationError.h
CommonImplementations.h LibJS: Use IteratorStepValue in ECMA-262 2024-02-03 14:07:26 -05:00
Executable.cpp LibJS: Make Bytecode::Executable GC-allocated 2023-11-29 09:48:18 +01:00
Executable.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Generator.cpp LibJS: Don't crash when attempting to load from an invalid reference 2024-02-08 07:55:07 -07:00
Generator.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
IdentifierTable.cpp
IdentifierTable.h
Instruction.cpp
Instruction.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Interpreter.cpp LibJS: Fast path for Increment of Int32 value in bytecode interpreter 2024-01-27 22:29:49 +01:00
Interpreter.h LibJS: Put Bytecode::CallFrame + register slots in a single allocation 2023-11-29 09:48:18 +01:00
Label.h
Op.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
RegexTable.cpp
RegexTable.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Register.h
StringTable.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
StringTable.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30