Fix flags for FCallAwait
commitfa20c934ed9d81a3bd7b58e5b830b9557783c98e
authorMark Williams <mwilliams@fb.com>
Tue, 17 Jan 2017 15:15:57 +0000 (17 07:15 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 17 Jan 2017 15:29:51 +0000 (17 07:29 -0800)
tree58feb6c2cc5d214f759e07cf056a63094bc2de4f
parent974db7a36039aca410cb35fb92e7b5cda27012e9
Fix flags for FCallAwait

Summary:
FPassRNop marks itself canConstProp and nothrow, which meant that an
FCallAwait with a constant output (eg if we know it returns null, or
true) could be constant propagated away. In debug builds we would then
assert while trying to pop its arguments (because they're F flavored).

Reviewed By: ricklavoie

Differential Revision: D4422091

fbshipit-source-id: a736970b5939c72209ee20415f64850d36ab9955
hphp/hhbbc/interp.cpp