[turbofan][cleanup] Do a Word32Equal since inputs are 32 bits

The two inputs are a Word32And and an Int32Constant. There is no need to
do this in 64 bits.

Bug: v8:9396
Change-Id: Ie564ac2f43e98192bf9853855b6c766248264886
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1715462
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62909}
This commit is contained in:
Santiago Aboy Solanes 2019-07-25 10:49:34 +01:00 committed by Commit Bot
parent 60d2018f1f
commit 7f1304755b

View File

@ -1811,7 +1811,7 @@ void EffectControlLinearizer::LowerCheckMaps(Node* node, Node* frame_state) {
// If map is not deprecated the migration attempt does not make sense.
Node* bitfield3 =
__ LoadField(AccessBuilder::ForMapBitField3(), value_map);
Node* if_not_deprecated = __ WordEqual(
Node* if_not_deprecated = __ Word32Equal(
__ Word32And(bitfield3,
__ Int32Constant(Map::IsDeprecatedBit::kMask)),
__ Int32Constant(0));