Add pushRemovableIfNoThrow in HHBBC DCE to arithmetic and array operations
commitbf25bba7681790ce49796899d403c35ee7880719
authorOguz Ulgen <oulgen@fb.com>
Mon, 6 May 2019 20:53:32 +0000 (6 13:53 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Mon, 6 May 2019 21:36:13 +0000 (6 14:36 -0700)
tree21504e97cf3f0dd315257f4a51f6c7a34d5c4a9b
parent9dd5feaa633b9d43a835cf16046a1214b8acf8b4
Add pushRemovableIfNoThrow in HHBBC DCE to arithmetic and array operations

Summary: These instructions should get DCEd if they dont raise and they are unused.

Reviewed By: markw65

Differential Revision: D15136690

fbshipit-source-id: a8856c488351d18ab9433d278326276a27d0f7a9
hphp/hhbbc/dce.cpp