Replace tc_is_disposable with lazy-lookup
commit492e562782b6e2c06018ff319c1ec800beb4194d
authorJake Bailey (Hacklang) <jakebailey@fb.com>
Mon, 13 May 2019 21:08:16 +0000 (13 14:08 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 13 May 2019 21:11:51 +0000 (13 14:11 -0700)
treefb0eb3fcfd5fbb8d98b4b34a6a15b99146bc5318
parentbd0b436537bc037f34f6fa3bbfdcad34c1c58e17
Replace tc_is_disposable with lazy-lookup

Summary: Replace the use of tc_is_disposable with lazy lookup from the linearization when shallow_class_decl is enabled.

Reviewed By: vassilmladenov

Differential Revision: D14631447

fbshipit-source-id: 5ead88a40fb4a53cee94f1c994c9adeea92fa401
hphp/hack/src/typing/typing_classes_heap.ml