Free up space in Func::SharedData
commitfaf92fb48eb26695575fa82d3f062de9fdf1b0e5
authorRick Lavoie <rlavoie@fb.com>
Mon, 19 Apr 2021 18:48:16 +0000 (19 11:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Mon, 19 Apr 2021 18:49:36 +0000 (19 11:49 -0700)
treed44858efff96f59a9eccc61000469b62c9861543
parentc7c53e0ce5af8d78ae559131e364216ade203438
Free up space in Func::SharedData

Summary:
Free up some space in Func::SharedData because I want to use it for
something else. Doc-comments aren't generated (by default) in
repo-auth builds, so m_docComment is always going to be nullptr when
it matters. m_inoutBitPtr is only necessary when there's more than 64
parameters, which is pretty rare. Move both into ExtendedSharedData.

Reviewed By: jano

Differential Revision: D27849654

fbshipit-source-id: c2f06a7041e978f320ae19d53587b22856c2e9fb
hphp/runtime/vm/func-emitter.cpp
hphp/runtime/vm/func-emitter.h
hphp/runtime/vm/func-inl.h
hphp/runtime/vm/func.cpp
hphp/runtime/vm/func.h
hphp/runtime/vm/jit/irlower-call.cpp