Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 2aab3696519f242d40280aedfe199da82e68c63e..fc80748a6a4a8d62f274c330327dd4ab0004fb1b 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -174,7 +174,7 @@ bool HValue::IsRelationTrue(NumericRelation relation, |
int offset, |
int scale) { |
if (this == other) { |
- return NumericRelation::Eq().Implies(relation); |
+ return scale == 0 && relation.IsExtendable(offset); |
} |
// Test the direct relation. |