Description[turbofan] Remove another ineffective optimization from the ControlReducer.
The condition of a Branch or Select can never be a NumberConstant,
because the resulting graph would be invalid, so we don't need to
optimize this case. It can only ever be a tagged boolean or an untagged
bit.
Drive-by-fix: Test the interesting cases in the unit tests instead.
R=jarin@chromium.org
Committed: https://crrev.com/afc2fb26a151425fac7dd290108a1a91ff3836be
Cr-Commit-Position: refs/heads/master@{#29089}
Patch Set 1 #
Messages
Total messages: 7 (1 generated)
|