Fix flag check when morphing into rotate
authorMichelle McDaniel <adiaaida@gmail.com>
Tue, 25 Oct 2016 17:09:06 +0000 (10:09 -0700)
committerMichelle McDaniel <adiaaida@gmail.com>
Tue, 25 Oct 2016 17:12:36 +0000 (10:12 -0700)
commit650358779c1d0f3cca92bf599aaf249773a9b554
treef53364a2a45dcfe50e2541bce947bedc29cb7408
parente9e1eb2666d4f79d8d02168375219426460c2bae
Fix flag check when morphing into rotate

When we morphed a tree into a rotate, we assumed that the parent's flags
would be the same as its operands' flags, when in actuality, the parent's
flags should be a superset of its operands' flags. This change fixes the
flag check.

Fixes VSO 278374.
src/jit/morph.cpp