Refactor ClsCnsLookup to take into account context constants
commite3cd1a0f49e5b1ccd8a7486eb99459c9af71a171
authorOguz Ulgen <oulgen@fb.com>
Tue, 23 Feb 2021 07:54:03 +0000 (22 23:54 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 26 Feb 2021 00:30:20 +0000 (25 16:30 -0800)
tree874a5a10f31c8ac3efc91633a238c793f42394cb
parent394e78e005cc2de832ca92c4484fcaea5b4e412b
Refactor ClsCnsLookup to take into account context constants

Summary: This diff renames `ClsCnsLookup` enum members and also converts the `Class::cnsNameToTV` function to understand about context constants.

Reviewed By: jano

Differential Revision: D26410246

fbshipit-source-id: a0f84bdbb8e9e66985916eb1694e2c746594d368
hphp/runtime/base/type-structure.cpp
hphp/runtime/vm/class.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/jit/cls-cns-profile.cpp
hphp/runtime/vm/jit/translator-runtime.cpp