Dealing with IterBreak and Switch in semdiff
commit32944b6f85bc0d36c0ab5f5c2f5528f0116dcf06
authorNick Benton <pnb@fb.com>
Sat, 3 Jun 2017 00:14:01 +0000 (2 17:14 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 3 Jun 2017 00:17:47 +0000 (2 17:17 -0700)
treee3b2a655e451daca92acced02f2272238a6e0ff6
parenta60e111a7627c238d82aacb84884bfeee4ae4518
Dealing with IterBreak and Switch in semdiff

Summary:
Abandoning D5155249 as it conflicted with D5151834.
Tweaked the latter's handling of parsing IterBreak instructions (list is separated by commas).
Added correct handling for them in rhl. Also now treat Switch instructions. (But not SSwitch since we don't seem to generate them.)

Reviewed By: andrewjkennedy

Differential Revision: D5172903

fbshipit-source-id: c71e312e8f8da4d2356a7d77e247eb22cb263a36
hphp/hack/src/hhbc/hhas_parser.mly
hphp/hack/src/hhbc/semdiff/rhl.ml