ladybird/Userland/Libraries/LibJS/Bytecode
Luke Wilde 2aaae6fc70 LibJS: Avoid ToPropertyKey for spreading in PutByValue(WithThis)
This is not we're supposed to do according to https://tc39.es/ecma262/#sec-runtime-semantics-propertydefinitionevaluation
Furthermore, this was observable by ToPrimitive looking up toString and
valueOf and potentially calling them if they exist. The big ticket
issue however is that for objects without toString and valueOf, such as
null-proto objects, this would unexpectedly throw.
2023-08-29 21:38:54 -04:00
..
ASTCodegen.cpp LibJS: Implement await properly for async functions 2023-08-10 05:12:07 +02:00
BasicBlock.cpp LibJS/Bytecode: Use malloc instead of mmap for BasicBlock buffers 2023-07-13 10:19:10 +02:00
BasicBlock.h LibJS/Bytecode: Do not rethrow caught exception from finally 2023-07-14 17:05:29 +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 LibJS/Bytecode: Don't reparse regular expressions on instantiation 2023-07-13 13:30:49 +02:00
Generator.cpp LibJS: Deduplicate labelled continue & break bytecode generation 2023-07-20 07:24:31 +02:00
Generator.h LibJS: Deduplicate labelled continue & break bytecode generation 2023-07-20 07:24:31 +02:00
IdentifierTable.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
IdentifierTable.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Instruction.cpp LibJS: Move Instruction::length() to the Op.h header 2021-06-09 09:24:32 +02:00
Instruction.h LibJS: Use correct this value when callee is a with binding 2023-08-01 16:08:21 +02:00
Interpreter.cpp LibJS: Make Value::to_string_without_side_effects() infallible 2023-08-09 17:09:16 +02:00
Interpreter.h LibJS: Remove ability to disable bytecode VM 2023-08-08 13:07:13 +02:00
Label.h Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Op.cpp LibJS: Avoid ToPropertyKey for spreading in PutByValue(WithThis) 2023-08-29 21:38:54 -04:00
Op.h LibJS: Use correct this value when callee is a with binding 2023-08-01 16:08:21 +02:00
RegexTable.cpp LibJS/Bytecode: Don't reparse regular expressions on instantiation 2023-07-13 13:30:49 +02:00
RegexTable.h LibJS/Bytecode: Don't reparse regular expressions on instantiation 2023-07-13 13:30:49 +02:00
Register.h LibJS/Bytecode: Keep saved return value in call frame register 2023-07-21 19:15:33 +02:00
StringTable.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
StringTable.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00