diff --git a/src/hydrogen.h b/src/hydrogen.h index 851e692250..a0fdf00f9d 100644 --- a/src/hydrogen.h +++ b/src/hydrogen.h @@ -1311,10 +1311,11 @@ class HGraphBuilder { template HValue* BuildDecodeField(HValue* encoded_field) { - HValue* shifted_field = AddUncasted(encoded_field, - Add(static_cast(BitFieldClass::kShift))); HValue* mask_value = Add(static_cast(BitFieldClass::kMask)); - return AddUncasted(Token::BIT_AND, shifted_field, mask_value); + HValue* masked_field = + AddUncasted(Token::BIT_AND, encoded_field, mask_value); + return AddUncasted(masked_field, + Add(static_cast(BitFieldClass::kShift))); } HValue* BuildGetElementsKind(HValue* object);