Iterator jumps were not being rewritten properly
commit03ae25470fc0cf081402d508e3a4787147a60ef1
authorEric Lippert <ericlippert@fb.com>
Wed, 1 Mar 2017 15:19:54 +0000 (1 07:19 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 1 Mar 2017 15:32:50 +0000 (1 07:32 -0800)
tree558a5e31d98ef08d4a2fc5c394c6a0548b8b0ec5
parent56a89ac749dcb3f0155319b7ef9d196e7635a10b
Iterator jumps were not being rewritten properly

Summary:
I forgot to add jump rewriters for iterator blocks to Andrew's label rewriter, so some of the jumps were wrong.

There are still additional wrong jump rewrites in here due to bugs in the instruction sequence mappers.  I'll fix those in the next diff.

Reviewed By: hubyrod

Differential Revision: D4633790

fbshipit-source-id: dbcdbcb8b549b34a8a09f8cd2616cc4b4a200416
hphp/hack/src/hhbc/hhbc_from_nast.ml