Fix bugs in emit_body and emit_expression
commit4040fd1f732728bf890bc4ccec29c2404defc2d7
authorMillie Chen <milliechen@fb.com>
Thu, 19 Mar 2020 02:23:39 +0000 (18 19:23 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 Mar 2020 02:35:00 +0000 (18 19:35 -0700)
treea51e74f1046098da3c5226c4e2d835e7092f4230
parent2d64e5c75d4334ca9eed6bfbee235f8fe17de223
Fix bugs in emit_body and emit_expression

Summary:
- Fix an order mismatch when emitting VerifyOutType
- Fix an error check when emitting ArrayGet

Reviewed By: shiqicao

Differential Revision: D20526157

fbshipit-source-id: 83b76394407931364a878d665b47495afc78ea90
hphp/hack/src/hhbc/emit_body.rs
hphp/hack/src/hhbc/emit_expression.rs