Hack codegen: classname stuff
commit4e964f03ae775e78a71b2e1c227e83bca5494d25
authorAndrew Kennedy <akenn@fb.com>
Mon, 27 Mar 2017 16:00:57 +0000 (27 09:00 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 27 Mar 2017 16:28:41 +0000 (27 09:28 -0700)
tree31be233f4aa97246b223fec182dc8af8baf8e7d7
parent6bf457cb9bd965e759ff86a83482bf7001268d38
Hack codegen: classname stuff

Summary:
Generate code for `new $x` and friends. Also translate `classname` types, and fix a few other string issues.
Also move to new bytecode for classrefs, as implemented in D4465986.

NYI: count of classref slots, usage of more than one slot.

Reviewed By: hubyrod

Differential Revision: D4779243

fbshipit-source-id: d0deab6c436877eab0baf3ebfced1ba29411ea42
hphp/hack/src/hhbc/emit_type_hint.ml
hphp/hack/src/hhbc/generate_memoized.ml
hphp/hack/src/hhbc/hhbc_ast.ml
hphp/hack/src/hhbc/hhbc_from_nast.ml
hphp/hack/src/hhbc/hhbc_hhas.ml
hphp/hack/src/hhbc/instruction_sequence.ml