summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-11-26 19:01:55 +0100
committerLinus Groh <mail@linusgroh.de>2022-12-08 23:36:17 +0000
commite70f944e11f6d25d8365363ecd2fdb48a5dbd411 (patch)
tree3fd4624970eb055c503a40d5df0c2da8a2acee78 /.gitignore
parente647ad2ce3f02db755f8001f78413452e134234a (diff)
downloadserenity-e70f944e11f6d25d8365363ecd2fdb48a5dbd411.zip
LibJS: Rearrange ASTNode members so there's a padding hole at the end
ASTNode inherits from RefCounted, which has a single 32-bit member. This means that there's a 32-bit padding hole after RefCounted, where we are free to put something (or it will go to waste!) This patch moves ASTNode::m_start_offset into that padding hole, and we now have a 32-bit padding hole at the end of ASTNode instead. This will allow ASTNode subclasses to put things in the ASTNode hole by moving them to the head of the member list.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions