Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 68cf40125c2256810f757cb0aa8dc01ef8ffe21c..3ca5121f73ae308b0db390494e82cea2fa2bd0cf 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -3893,6 +3893,24 @@ ComparisonInstr* DoubleTestOpInstr::CopyWithNewOperands(Value* new_left, |
} |
+ComparisonInstr* SmiRangeComparisonInstr::CopyWithNewOperands( |
+ Value* new_left, |
+ Value* new_right) { |
+ UNREACHABLE(); |
+ return NULL; |
+} |
+ |
+ |
+bool SmiRangeComparisonInstr::AttributesEqual(Instruction* other) const { |
+ SmiRangeComparisonInstr* other_check = other->AsSmiRangeComparison(); |
+ ASSERT(other_check != NULL); |
+ if (!ComparisonInstr::AttributesEqual(other_check)) { |
+ return false; |
+ } |
+ return from_ == other_check->from_ && to_ == other_check->to_; |
+} |
+ |
+ |
ComparisonInstr* EqualityCompareInstr::CopyWithNewOperands(Value* new_left, |
Value* new_right) { |
return new EqualityCompareInstr(token_pos(), kind(), new_left, new_right, |