1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00
serenity/Userland/Libraries/LibJS/Bytecode/Pass
Andreas Kling c37b204ce1 LibJS/Bytecode: Add Call opcode for fixed-argument-count calls
This avoids the overhead of allocating a new Array on every function
call, saving a substantial amount of time and avoiding GC thrash.

This patch only makes use of Op::Call in CallExpression. There are other
places we should codegen this op. We should also do the same for super
expression calls.

~5% speed-up on Kraken/stanford-crypto-ccm.js
2023-07-02 18:30:02 +02:00
..
DumpCFG.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
GenerateCFG.cpp LibJS: Fix mix-up between assignment and comparison 2023-05-02 07:03:57 -04:00
LoadElimination.cpp LibJS/Bytecode: Add Call opcode for fixed-argument-count calls 2023-07-02 18:30:02 +02:00
MergeBlocks.cpp Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00
PlaceBlocks.cpp Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00
UnifySameBlocks.cpp Everywhere: Stop using NonnullOwnPtrVector 2023-03-06 23:46:35 +01:00