Files
ladybird/Userland/Libraries/LibJS/Bytecode/CommonImplementations.h
Andreas Kling 8e04791480 LibJS/Bytecode: Combine has_index() and get() in GetByVal and PutByVal
Since get() returns an empty Optional if the index is not present, we
can combine these two into a single get() operation and save the cost of
a virtual call.
2024-03-04 20:54:51 +01:00

40 KiB