Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 4227b8ee067531a4dae5a6c7d4dc21cea5f46dac..0cd2f874259ad72e95094822bf3515c0d33bbdc8 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2838,6 +2838,8 @@ class HCheckFunction: public HUnaryOperation { |
virtual void PrintDataTo(StringStream* stream); |
virtual HType CalculateInferredType(); |
+ virtual HValue* Canonicalize(); |
+ |
#ifdef DEBUG |
virtual void Verify(); |
#endif |
@@ -3411,6 +3413,11 @@ class HConstant: public HTemplateInstruction<0> { |
} |
} |
+ bool UniqueValueIdsMatch(UniqueValueId other) { |
+ if (!has_double_value_) return unique_id_ == other; |
+ return false; |
+ } |
+ |
#ifdef DEBUG |
virtual void Verify() { } |
#endif |