Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index a4c8d012dabaeb75d23dc06aabb48349053a804b..4b397bbf9efc2eefe2cd880c615216f533e4cb61 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -9517,7 +9517,7 @@ HValue* HGraphBuilder::TruncateToNumber(HValue* value, Type** expected) { |
if (expected_obj->Is(Type::Undefined(zone()))) { |
// This is already done by HChange. |
- *expected = Type::Union(expected_number, Type::Float(zone()), zone()); |
+ *expected = Type::Union(expected_number, Type::Number(zone()), zone()); |
return value; |
} |