Don't allow TRef in equivLocs
commit07020795814007fd3291f8b0bae679d68b061d01
authorMark Williams <mwilliams@fb.com>
Mon, 4 Jun 2018 13:13:20 +0000 (4 06:13 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 4 Jun 2018 13:25:45 +0000 (4 06:25 -0700)
tree96e8b7908a826906e6f2b0a225056768f15829b4
parent90d7d686b0a5686445d35434e940eba808ba601e
Don't allow TRef in equivLocs

Summary:
This was never supposed to happen, and was always incorrect if it
did. Add some asserts to ensure that it doesn't slip through, and fix
the one place where they fired.

Reviewed By: jano

Differential Revision: D8248878

fbshipit-source-id: d49e9f02011cd23b1c86947e50a8906dd91973e1
hphp/hhbbc/interp-internal.h
hphp/hhbbc/interp.cpp