Make lookupImmutableObjMethod() aware of base classes and interfaces
commit904ed75de22bed8b839c8c8b15f5d05f5660c3a4
authorJan Oravec <jan@fb.com>
Wed, 8 May 2019 05:25:55 +0000 (7 22:25 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 8 May 2019 05:32:54 +0000 (7 22:32 -0700)
treeb0881cfc00a32a89ce3ca9d9a7a77e460cc92f2e
parent77b858f1bc0df5085127f20cb8703811ee9c8d30
Make lookupImmutableObjMethod() aware of base classes and interfaces

Summary:
Return also a lookup type indicating how the returned `Func*` should be used
to dispatch the method call.

Reviewed By: ricklavoie

Differential Revision: D15157190

fbshipit-source-id: f590435069da54f1a18ab0748558dc7f099b646a
hphp/runtime/vm/class-inl.h
hphp/runtime/vm/class.h
hphp/runtime/vm/jit/annotation.cpp
hphp/runtime/vm/jit/irgen-call.cpp
hphp/runtime/vm/jit/irgen-internal.h
hphp/runtime/vm/method-lookup.cpp
hphp/runtime/vm/method-lookup.h