Preserve src locs during dce
commit1a3a3acc6509c388a0b973ba83ccb420dbf7bedc
authorMark Williams <mwilliams@fb.com>
Wed, 6 Sep 2017 15:31:01 +0000 (6 08:31 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 6 Sep 2017 15:50:49 +0000 (6 08:50 -0700)
tree04881ecb569f1708ab32c3ba228196139eb8a434
parentdebc24f476a4311fd2195ce2a427f8635e9e067f
Preserve src locs during dce

Summary:
dce sometimes inserts replacement instructions, so we should preserve
the original srcLocs.

Reviewed By: ricklavoie

Differential Revision: D5773280

fbshipit-source-id: 75f2d35f0038ac0961bbd7c34825200df6f9210a
hphp/hhbbc/dce.cpp