Used symbol cache to optimize LdCls
commit9d246130102a5a2f76d9da7ce27fd6fee5b43f7d
authorShaunak Kishore <kshaunak@fb.com>
Wed, 26 Aug 2020 13:56:47 +0000 (26 06:56 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 26 Aug 2020 13:59:26 +0000 (26 06:59 -0700)
tree6547a04868d4dea6e2af25bc4903183a8dc5506f
parentac2b60e3f422133a918473d00946bee5344cf0bd
Used symbol cache to optimize LdCls

Summary: Now that we've got a cached Class* on "symbol"-like strings in RepoAuth mode, we can JIT code to read this cache and push the native call here into cold.

Reviewed By: oulgen

Differential Revision: D23302078

fbshipit-source-id: ae1319511b3a17be118fb107113bd79fda14dce8
hphp/runtime/base/string-data.cpp
hphp/runtime/base/string-data.h
hphp/runtime/vm/jit/irlower-internal-inl.h
hphp/runtime/vm/jit/irlower-lookup-cls-func.cpp