Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index eca5650ba597ef06c2870b9ee21a98e850a6b431..057bf0c60df19b6cedf5724118a844bee8236c02 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -494,8 +494,7 @@ Node* RepresentationChanger::GetFloat32RepresentationFor( |
node = jsgraph()->graph()->NewNode(op, node); |
op = machine()->TruncateFloat64ToFloat32(); |
} |
- } else if (output_rep == MachineRepresentation::kTagged || |
- output_rep == MachineRepresentation::kTaggedPointer) { |
+ } else if (IsAnyTagged(output_rep)) { |
if (output_type->Is(Type::NumberOrOddball())) { |
// tagged -> float64 -> float32 |
if (output_type->Is(Type::Number())) { |