Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 615f358cd9058c827b9b9c36c098b43896ec6a17..5f44d78a3da3e1a7488ef053d8c91c5e74a227c8 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -2589,7 +2589,8 @@ CompareIC::State CompareIC::ComputeState(Code* target) { |
Token::Value CompareIC::ComputeOperation(Code* target) { |
ASSERT(target->major_key() == CodeStub::CompareIC); |
- return static_cast<Token::Value>(target->compare_operation()); |
+ return static_cast<Token::Value>( |
+ target->compare_operation() + Token::EQ); |
} |