ladybird/Userland
Luke Wilde 589c3771e9 LibJS: Only store MemberExpression object when loading a computed prop
When calling emit_load_from_reference with a MemberExpression, it is
only necessary to store the result of evaluating MemberExpression's
object when performing computed property lookup.

This allows us to skip unnecessary stores for identifier lookup.
For example, this would generate 3 unnecessary stores:
```
> Temporal.PlainDateTime.prototype.add
JS::Bytecode::Executable (REPL)
1:
[   0] GetVariable 0 (Temporal)
[  28] Store $2
[  30] GetById 1 (PlainDateTime)
[  40] Store $3
[  48] GetById 2 (prototype)
[  58] Store $4
[  60] GetById 3 (add)
```

With this, it generates:
```
> Temporal.PlainDateTime.prototype.add
JS::Bytecode::Executable (REPL)
1:
[   0] GetVariable 0 (Temporal)
[  28] GetById 1 (PlainDateTime)
[  38] GetById 2 (prototype)
[  48] GetById 3 (add)
```
2022-03-28 14:05:33 +02:00
..
Applets ClipboardHistory: Show ranges and max dimensions for copied glyphs 2022-03-18 01:12:26 +01:00
Applications WindowServer+LibGUI: Expose raw scroll wheel values to applications 2022-03-27 01:11:27 +01:00
Demos Demos/LibGfxScaleDemo: Use BGRA8888 bitmap in canvas 2022-03-26 18:24:11 +00:00
DevTools Everywhere: Rename CommandResult stdout, stderr members to output, error 2022-03-27 16:41:39 -07:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games LibCards+Games: Change name of card type to card suit 2022-03-18 23:49:34 +00:00
Libraries LibJS: Only store MemberExpression object when loading a computed prop 2022-03-28 14:05:33 +02:00
Services LookupServer: Fix confusing copy/paste error in debug message 2022-03-27 18:39:47 +01:00
Shell Shell: Keep the stdio and rpath pledges for execute_process() 2022-03-27 21:05:44 +02:00
Utilities disk_benchmark: TRY more stuff :^) 2022-03-27 08:33:24 -04:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00