Commit 1b24ca2
Reduce number of JSObject direct slots to 5
Summary:
The previous changes shave 4 bytes off the size of objects. However,
due to heap alignment, we need to shrink `JSObject` by 8 bytes in
order to decrease its actual size after alignment. We can do that by
removing a direct property slot.
Reviewed By: dulinriley
Differential Revision: D28526281
fbshipit-source-id: 408d80cfebbf63c3112345099940e01cda450ae11 parent f926135 commit 1b24ca2
2 files changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
1558 | 1558 | | |
1559 | 1559 | | |
1560 | 1560 | | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
1561 | 1565 | | |
1562 | 1566 | | |
1563 | 1567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
0 commit comments