diff options
author | Hendiadyoin1 <leon.a@serenityos.org> | 2022-10-22 20:23:47 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-03 15:25:05 +0000 |
commit | eb50969781ab11d9253ae7c27600132c8fc19ad6 (patch) | |
tree | 2e30c7b743c10602a55ed1b8236c14ae11438452 /Meta/CMake/lagom-install-config.cmake | |
parent | fafe498238e06fa7e87cdcc9b8f88aa2d6e311c9 (diff) | |
download | serenity-eb50969781ab11d9253ae7c27600132c8fc19ad6.zip |
LibJS: Add an EliminateLoads pass to Bytecode
This pass tries to eliminate repeated lookups of variables by name, by
remembering where these where last loaded to.
For now the lookup cache needs to be fully cleared with each call or
property access, because we do not have a way to check if these have any
side effects on the currently visible scopes.
Note that property accesses can cause getters/setters to be called, so
these are treated as calls in all cases.
Diffstat (limited to 'Meta/CMake/lagom-install-config.cmake')
0 files changed, 0 insertions, 0 deletions