Make persistent MonotypeDicts children of their refcounted variants
commit21123e53dbb187781a696598e9730b7e5cd64ed9
authorMichael Colavita <mcolavita@fb.com>
Wed, 2 Dec 2020 23:30:20 +0000 (2 15:30 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 2 Dec 2020 23:32:40 +0000 (2 15:32 -0800)
tree8c51ca4c70311f05667fd297c35dea4e605cf394
parent0fec31ed95901bf8704a4aacbe1b5c725ed4b9bf
Make persistent MonotypeDicts children of their refcounted variants

Summary: It is safe to use the layout methods of a ref-counted MonotypeDict instead of those of its persistent variant. Therefore, for all types with persistent and refcounted variants, we make MonotypeDict<X, PersistentY> a child of MonotypeDict<X, RefcountedY>.

Differential Revision: D25262955

fbshipit-source-id: 57c7eb2d09fecf832518579d6cbcfba93fbb5a06
hphp/runtime/base/bespoke/monotype-dict.cpp