Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index d9590a946e28a21ae10120df6f243c03f901ac97..0e6ea00058f299ab0966d2e5055e1a70f6da9858 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -1689,6 +1689,14 @@ void HBinaryOperation::AssumeRepresentation(Representation r) { |
} |
+void HMathMinMax::InferRepresentation(HInferRepresentation* h_infer) { |
+ ASSERT(CheckFlag(kFlexibleRepresentation)); |
+ Representation new_rep = RepresentationFromInputs(); |
+ UpdateRepresentation(new_rep, h_infer, "inputs"); |
+ // Do not care about uses. |
+} |
+ |
+ |
Range* HBitwise::InferRange(Zone* zone) { |
if (op() == Token::BIT_XOR) return HValue::InferRange(zone); |
const int32_t kDefaultMask = static_cast<int32_t>(0xffffffff); |