Fix block mapping for IRUnit entry
commit944ee61121e6094f8265e69064284d1f38eb3442
authorGuilherme Ottoni <ottoni@fb.com>
Fri, 25 Jul 2014 04:44:48 +0000 (24 21:44 -0700)
committerfacebook-github-bot <githubbot@fb.com>
Fri, 25 Jul 2014 05:00:19 +0000 (24 22:00 -0700)
tree933575432cbad9cf8ed717e7c2404647470517be
parentc367d39fd62717a8e1f04f636a640a9fd447b235
Fix block mapping for IRUnit entry

Summary: It was picking which region block corresponds to the unit entry based
on offset.  Just use the first block in the region, which is the
entry.

Reviewed By: @bertmaher

Differential Revision: D1456181
hphp/runtime/vm/jit/translator.cpp