summaryrefslogtreecommitdiff
path: root/Ports/llvm
diff options
context:
space:
mode:
authordavidot <davidot@serenityos.org>2022-02-28 21:33:45 +0100
committerAndreas Kling <kling@serenityos.org>2022-08-15 17:11:25 +0200
commit8381e7f1e665d30a0cc770492c67d8cfd5ea0bc8 (patch)
treeddc5551411536e441e8376fad373c565bbff87c7 /Ports/llvm
parent8be96cd7ff505257206f88736cb0ed45ac0a0f15 (diff)
downloadserenity-8381e7f1e665d30a0cc770492c67d8cfd5ea0bc8.zip
LibJS: Specialize Optional<Value>
Values can be "empty" which only has a valid meaning for array holes. We can however use this state the represent the empty state of an Optional<Value> which is used in a lot of placed, because of Completion having one. This saves 8 bytes for every Optional<Value>.
Diffstat (limited to 'Ports/llvm')
0 files changed, 0 insertions, 0 deletions