port emit_method_prolog
commit9fe08004eddd1f188afe63ae1638c7cb568aa3e3
authorSteve Cao <shiqicao@fb.com>
Fri, 14 Feb 2020 20:47:15 +0000 (14 12:47 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 14 Feb 2020 20:58:12 +0000 (14 12:58 -0800)
treea2dadb0075579a50ff1dfcbea34ab17cfc6d502b
parented363868ef5b25bbf0ff0edb244b7d4b8a114470
port emit_method_prolog

Summary:
Two unimplemented functions in emit_expression will be filled in the next diff. Emitting prolog crashes due to the two unimplemented functions, it was mismatch. There are more mismatch converted to crash.

Few identicals are added due to two bugs are fixed, one in print.rs, another in hhas_type.rs

Reviewed By: losvald

Differential Revision: D19902225

fbshipit-source-id: 13e6c1898615f42f27c969743f5341fe927ab4df
hphp/hack/src/hhbc/emit_body.rs
hphp/hack/src/hhbc/emit_expression.rs
hphp/hack/src/hhbc/emit_memoize_method.rs
hphp/hack/src/hhbc/emit_statement.rs
hphp/hack/src/hhbc/hhas_type.rs
hphp/hack/src/hhbc/instruction_sequence.rs
hphp/hack/src/hhbc/print.rs
hphp/hack/src/hhbc/reified_generics_helpers.rs
hphp/hack/src/hhbc/try_finally_rewriter.rs