1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00
serenity/Userland/Libraries/LibJS/Bytecode
Aliaksandr Kalenik 2bdc69c42c LibJS: Add caching of this value in ResolveThisBinding instruction
Because "this" value cannot be changed during function execution it is
safe to compute it once and then use for future access.

This optimization makes ai-astar.js run 8% faster.
2023-07-29 04:23:49 +02:00
..
ASTCodegen.cpp LibJS: Make GetIterator's hint parameter required 2023-07-19 06:56:51 +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+CI: Remove bytecode optimization passes for now 2023-07-21 19:47:36 +03:30
Interpreter.cpp LibJS: Add caching of this value in ResolveThisBinding instruction 2023-07-29 04:23:49 +02:00
Interpreter.h LibJS: Add caching of this value in ResolveThisBinding instruction 2023-07-29 04:23:49 +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: Add caching of this value in ResolveThisBinding instruction 2023-07-29 04:23:49 +02:00
Op.h LibJS+CI: Remove bytecode optimization passes for now 2023-07-21 19:47:36 +03:30
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