Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 27c517aa1a5be38b03e3ec186532dea8da7aeebb..2fb18fd3be564fa384f290346bca3522e5b93c52 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2837,6 +2837,8 @@ class HCheckFunction: public HUnaryOperation { |
virtual void PrintDataTo(StringStream* stream); |
virtual HType CalculateInferredType(); |
+ virtual HValue* Canonicalize(); |
+ |
#ifdef DEBUG |
virtual void Verify(); |
#endif |
@@ -3410,6 +3412,10 @@ class HConstant: public HTemplateInstruction<0> { |
} |
} |
+ bool UniqueValueIdsMatch(UniqueValueId other) { |
+ return !has_double_value_ && unique_id_ == other; |
+ } |
+ |
#ifdef DEBUG |
virtual void Verify() { } |
#endif |