| Index: test/cctest/compiler/test-representation-change.cc
|
| diff --git a/test/cctest/compiler/test-representation-change.cc b/test/cctest/compiler/test-representation-change.cc
|
| index 7e75bf8eb01513325624a7a1618c66abf73ee112..943d5651dabdb7828fbcfe485252c328d26b1aac 100644
|
| --- a/test/cctest/compiler/test-representation-change.cc
|
| +++ b/test/cctest/compiler/test-representation-change.cc
|
| @@ -444,12 +444,26 @@ TEST(SingleChanges) {
|
| CheckChange(IrOpcode::kChangeBitToBool, MachineRepresentation::kBit,
|
| Type::None(), MachineRepresentation::kTagged);
|
|
|
| + CheckChange(IrOpcode::kChangeInt31ToTagged, MachineRepresentation::kWord32,
|
| + Type::Signed31(), MachineRepresentation::kTagged);
|
| CheckChange(IrOpcode::kChangeInt32ToTagged, MachineRepresentation::kWord32,
|
| Type::Signed32(), MachineRepresentation::kTagged);
|
| CheckChange(IrOpcode::kChangeUint32ToTagged, MachineRepresentation::kWord32,
|
| Type::Unsigned32(), MachineRepresentation::kTagged);
|
| CheckChange(IrOpcode::kChangeFloat64ToTagged, MachineRepresentation::kFloat64,
|
| - Type::None(), MachineRepresentation::kTagged);
|
| + Type::Number(), MachineRepresentation::kTagged);
|
| + CheckTwoChanges(IrOpcode::kChangeFloat64ToInt32,
|
| + IrOpcode::kChangeInt31ToTagged,
|
| + MachineRepresentation::kFloat64, Type::Signed31(),
|
| + MachineRepresentation::kTagged);
|
| + CheckTwoChanges(IrOpcode::kChangeFloat64ToInt32,
|
| + IrOpcode::kChangeInt32ToTagged,
|
| + MachineRepresentation::kFloat64, Type::Signed32(),
|
| + MachineRepresentation::kTagged);
|
| + CheckTwoChanges(IrOpcode::kChangeFloat64ToUint32,
|
| + IrOpcode::kChangeUint32ToTagged,
|
| + MachineRepresentation::kFloat64, Type::Unsigned32(),
|
| + MachineRepresentation::kTagged);
|
|
|
| CheckChange(IrOpcode::kChangeTaggedToInt32, MachineRepresentation::kTagged,
|
| Type::Signed32(), MachineRepresentation::kWord32);
|
|
|