Fix vasm jump optimization in presence of loops
commitcf1b737c4946f00a1b07256dc3244e356851046b
authorBin Liu <binliu@fb.com>
Sat, 25 Apr 2015 04:21:32 +0000 (24 21:21 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 25 Apr 2015 05:00:38 +0000 (24 22:00 -0700)
tree69c7f7a0bc1b68be7331536b0be694752e439b79
parent60d73867f4b628c07a9daa6a96d9cdf4858a9400
Fix vasm jump optimization in presence of loops

Summary: The number of predecessors of a block changes during the transformation and should be maintained to guarantee correctness. Now we maintain it as an upper bound.

Reviewed By: @ottoni

Differential Revision: D2020335
hphp/runtime/vm/jit/vasm-jumps.cpp