Don't simplify LdObjInvoke if __invoke is static.
commit6b7e3a9a75d25063f88e7fd93c0dc306e3b39aa1
authorAlex Malyshev <alexanderm@fb.com>
Fri, 12 Dec 2014 06:27:53 +0000 (11 22:27 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Fri, 12 Dec 2014 07:00:29 +0000 (11 23:00 -0800)
tree344e56b96a35764ed90c30d3934b96fd612ef744
parent7b605b5d93b9dfcea5bc326f303a09ca921e56c8
Don't simplify LdObjInvoke if __invoke is static.

Summary: We expect LdObjInvoke to give us an instance method that we'll pass an
ObjectData* to. If it happens to give us a static method, we'll need to
pass in the Class*, but we expect to side-exit in that case.

Reviewed By: @jdelong

Differential Revision: D1732694
hphp/runtime/vm/class.cpp
hphp/runtime/vm/class.h
hphp/runtime/vm/jit/simplify.cpp