Streamline memoize functions a little
commit94b3ddac7ec09225dc689fceb6832ba25e117afd
authorMark Williams <mwilliams@fb.com>
Tue, 9 May 2017 18:39:26 +0000 (9 11:39 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 9 May 2017 18:57:25 +0000 (9 11:57 -0700)
treef5860c4fa73f16ea219de86b5adcb0182815b5d6
parent45fe4c3a70ee003fcce01b8050232cbeba698050
Streamline memoize functions a little

Summary:
- We were inadvertently adding an EntryNop to every memoize-wrapper.
 - In HardTypeHints mode, we don't need to verify the parameters in the
   memoize-impl, because they've already been checked by the wrapper.

Reviewed By: ricklavoie

Differential Revision: D5028044

fbshipit-source-id: 4ba8b79bbb5d6bf8cc2f570d9da302219343d769
hphp/compiler/analysis/emitter.cpp
hphp/hhbbc/analyze.cpp
hphp/hhbbc/interp.cpp
hphp/hhbbc/parse.cpp
hphp/hhbbc/representation.h
hphp/runtime/vm/func-inl.h
hphp/runtime/vm/func.cpp
hphp/runtime/vm/func.h