Codegen: use CGetL2 in binary operations
commit723a99b56c54f8c365310bd3a94c56a08f6f68ed
authorEric Lippert <ericlippert@fb.com>
Tue, 21 Feb 2017 23:38:35 +0000 (21 15:38 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 21 Feb 2017 23:44:03 +0000 (21 15:44 -0800)
treeb9377320727bb339905e33ed10fbcb1fa50ba4db
parentcbb8d5e47f906cd90a1db438564fcd64cd4db298
Codegen: use CGetL2 in binary operations

Summary:
Make use of the instruction `CGetL2` that pulls a local into the stack just below the top-of-stack.
Also fix output of function names

Reviewed By: oulgen

Differential Revision: D4575856

fbshipit-source-id: 1cc33b7693df0841f9c2cfefa199bdc959b1f956
hphp/hack/src/hhbc/hhbc_from_nast.ml
hphp/hack/src/hhbc/hhbc_hhas.ml