mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 00:19:18 +00:00
LibJS: Split PutBy* instructions into specialized per-kind variants
This allows the compiler to fold away lots of unused code for each kind. 1.10x speed-up on MicroBench/pic-add-own.js :^)
This commit is contained in:
parent
d13b4f3e39
commit
b47f8f94fe
Notes:
github-actions[bot]
2025-10-11 18:10:13 +00:00
Author: https://github.com/awesomekling
Commit: b47f8f94fe
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6450
5 changed files with 439 additions and 305 deletions
|
@ -123,12 +123,37 @@
|
|||
O(PrepareYield) \
|
||||
O(PostfixDecrement) \
|
||||
O(PostfixIncrement) \
|
||||
O(PutById) \
|
||||
O(PutByNumericId) \
|
||||
O(PutByIdWithThis) \
|
||||
O(PutNormalById) \
|
||||
O(PutOwnById) \
|
||||
O(PutGetterById) \
|
||||
O(PutSetterById) \
|
||||
O(PutPrototypeById) \
|
||||
O(PutNormalByNumericId) \
|
||||
O(PutOwnByNumericId) \
|
||||
O(PutGetterByNumericId) \
|
||||
O(PutSetterByNumericId) \
|
||||
O(PutPrototypeByNumericId) \
|
||||
O(PutNormalByIdWithThis) \
|
||||
O(PutOwnByIdWithThis) \
|
||||
O(PutGetterByIdWithThis) \
|
||||
O(PutSetterByIdWithThis) \
|
||||
O(PutPrototypeByIdWithThis) \
|
||||
O(PutNormalByNumericIdWithThis) \
|
||||
O(PutOwnByNumericIdWithThis) \
|
||||
O(PutGetterByNumericIdWithThis) \
|
||||
O(PutSetterByNumericIdWithThis) \
|
||||
O(PutPrototypeByNumericIdWithThis) \
|
||||
O(PutBySpread) \
|
||||
O(PutByValue) \
|
||||
O(PutByValueWithThis) \
|
||||
O(PutNormalByValue) \
|
||||
O(PutOwnByValue) \
|
||||
O(PutGetterByValue) \
|
||||
O(PutSetterByValue) \
|
||||
O(PutPrototypeByValue) \
|
||||
O(PutNormalByValueWithThis) \
|
||||
O(PutOwnByValueWithThis) \
|
||||
O(PutGetterByValueWithThis) \
|
||||
O(PutSetterByValueWithThis) \
|
||||
O(PutPrototypeByValueWithThis) \
|
||||
O(PutPrivateById) \
|
||||
O(ResolveSuperBase) \
|
||||
O(ResolveThisBinding) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue