DescriptionShuffle fields around in Scope to save more zone memory
This makes the debug-only scope-name actually debug-only-allocated, replaces num_vars_ usages by variables_.occupancy, and shuffles fields around in the scope class for better packing.
This reduces sizeof(i::Scope) from 360 to 328 bytes on x64.
BUG=v8:5209
Committed: https://crrev.com/d454e6cc59f37c6b19b3b6694dfd9f446cf61f5d
Cr-Commit-Position: refs/heads/master@{#38210}
Patch Set 1 #Patch Set 2 : Annotate bool/LanguageMode with sizes #
Total comments: 1
Patch Set 3 : Addressed comment #
Total comments: 1
Messages
Total messages: 20 (12 generated)
|