Store required coeffects on the func
commitda7490b5aa9b0a4efd6d84a42d63214d5081dca3
authorOguz Ulgen <oulgen@fb.com>
Thu, 25 Mar 2021 23:48:57 +0000 (25 16:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 30 Mar 2021 19:53:47 +0000 (30 12:53 -0700)
treedbf5e5873ba5e060633f9ab4e7cac04d4eaed451
parent6b6a41f9e5929c06963e604d2d0f1ee02e1e26bc
Store required coeffects on the func

Summary:
* makes the interpreter faster since it no longer needs to compute required coeffects.
* makes jit faster as it doesn't need to do a c++ call anymore

Reviewed By: jano

Differential Revision: D27340829

fbshipit-source-id: dd3a4f4e3564a0c4664c30fb6711e31908a4ea59
hphp/runtime/vm/func-emitter.cpp
hphp/runtime/vm/func-inl.h
hphp/runtime/vm/func.h
hphp/runtime/vm/jit/irlower-class-func.cpp
hphp/system/systemlib.cpp