Replace use of bools in decl element by bitwise flags
commita6baee478785939b680932f623cea8507b978be7
authorAndrew Kennedy <akenn@fb.com>
Thu, 9 Apr 2020 06:44:05 +0000 (8 23:44 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Apr 2020 07:04:34 +0000 (9 00:04 -0700)
tree0da56537e4cbdc7863cba52a11622c3f504e7e67
parent4133526705fb012e2cf76eb390524b539c436a20
Replace use of bools in decl element by bitwise flags

Summary:
Use the same flag encoding for `Decl_defs.element` as for `Typing_defs.class_elt`.

This is the last diff in the stack that reduces the size of our typing structures.

Differential Revision: D20724042

fbshipit-source-id: 570047b0dce2bbd6b17bbfa2a0d417f95bd5ca79
hphp/hack/src/decl/decl.ml
hphp/hack/src/decl/decl_class.ml
hphp/hack/src/decl/decl_defs.ml
hphp/hack/src/decl/decl_inherit.ml
hphp/hack/src/decl/decl_init_check.ml
hphp/hack/src/oxidized/gen/decl_defs.rs
hphp/hack/src/typing/typing_defs.ml