File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -949,10 +949,10 @@ Node* RepresentationChanger::GetWord32RepresentationFor(
949
949
return node;
950
950
} else if (output_rep == MachineRepresentation::kWord64 ) {
951
951
if (output_type.Is (Type::Signed32 ()) ||
952
- output_type.Is (Type::Unsigned32 ())) {
953
- op = machine ()-> TruncateInt64ToInt32 ();
954
- } else if (output_type.Is (cache_->kSafeInteger ) &&
955
- use_info.truncation ().IsUsedAsWord32 ()) {
952
+ ( output_type.Is (Type::Unsigned32 ()) &&
953
+ use_info. type_check () == TypeCheckKind:: kNone ) ||
954
+ (output_type.Is (cache_->kSafeInteger ) &&
955
+ use_info.truncation ().IsUsedAsWord32 () )) {
956
956
op = machine ()->TruncateInt64ToInt32 ();
957
957
} else if (use_info.type_check () == TypeCheckKind::kSignedSmall ||
958
958
use_info.type_check () == TypeCheckKind::kSigned32 ||
You can’t perform that action at this time.
0 commit comments