Index: src/compiler/simplified-lowering.cc |
diff --git a/src/compiler/simplified-lowering.cc b/src/compiler/simplified-lowering.cc |
index a531b27ec87a63408961611d6ccf874d4d53ef39..86508cd6f11f7e8476c58d761f7eaccd09e92247 100644 |
--- a/src/compiler/simplified-lowering.cc |
+++ b/src/compiler/simplified-lowering.cc |
@@ -1243,7 +1243,7 @@ class RepresentationSelector { |
// based on the feedback types of the inputs. |
VisitBinop(node, |
UseInfo(MachineRepresentation::kWord32, Truncation::Float64()), |
- MachineRepresentation::kWord32); |
+ MachineRepresentation::kWord32, Type::Number()); |
if (lower()) DeferReplacement(node, lowering->Uint32Mod(node)); |
return; |
} |
@@ -1255,7 +1255,7 @@ class RepresentationSelector { |
// based on the feedback types of the inputs. |
VisitBinop(node, |
UseInfo(MachineRepresentation::kWord32, Truncation::Float64()), |
- MachineRepresentation::kWord32); |
+ MachineRepresentation::kWord32, Type::Number()); |
if (lower()) DeferReplacement(node, lowering->Int32Mod(node)); |
return; |
} |