Set effectFree from constprop in impl_vec
commit568c549d5f9fc3cc63ade317c899ccdf9236fe4d
authorMark Williams <mwilliams@fb.com>
Sat, 23 Sep 2017 00:37:13 +0000 (22 17:37 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 23 Sep 2017 00:55:02 +0000 (22 17:55 -0700)
treefe12a72fe6790ebcc4d70eeedd89b77f08e6005b
parentb3d2608a2c8ce7b398c6bedcb236ce1e23b54d96
Set effectFree from constprop in impl_vec

Summary:
The main interpOps loop automatically sets effectFree, and nothrow for
bytecodes that set constprop and produce a constant. impl_vec does so
when we're reducing and a propagation function is set (only during
optimize); it needs to do it on all paths.

Reviewed By: ricklavoie

Differential Revision: D5894919

fbshipit-source-id: 7940db73faa38480539a756d3c8fc7f639a152d6
hphp/hhbbc/interp.cpp