extend parsing etc. to cope with hhas instructions that hackc doesn't directly emit
commit0ac36edd589fe56756ad8a833847e410a603eba6
authorNick Benton <pnb@fb.com>
Wed, 14 Feb 2018 20:04:06 +0000 (14 12:04 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 14 Feb 2018 20:14:42 +0000 (14 12:14 -0800)
tree2743847835617448f7901287651a443371a45fcc
parent909bd3337cb0511f4266d2b02fced1e06d38f4b7
extend parsing etc. to cope with hhas instructions that hackc doesn't directly emit

Summary:
Add parsing for some instructions (e.g. AssertRATStk) that
are not directly produced by hackc, but appear when hackc is invoked
by hhvm in repo mode, and a missing mode for BareThis.

Reviewed By: CatherineGasnier

Differential Revision: D6987377

fbshipit-source-id: d463722b2ad8d5ff939820fa08c67ed54dcc12bf
hphp/hack/src/hhbc/Hhas_parser_actions.ml
hphp/hack/src/hhbc/hhas_lexer.mll
hphp/hack/src/hhbc/hhas_parser.mly
hphp/hack/src/hhbc/hhbc_ast.ml
hphp/hack/src/hhbc/hhbc_hhas.ml
hphp/hack/test/semdiff/exns_05.semdiff.exp [new file with mode: 0644]
hphp/hack/test/semdiff/exns_06.semdiff.exp [new file with mode: 0644]