Index: src/mips/ic-mips.cc |
diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc |
index fb33eb6651af059d731c78b3d76f823a4b31d367..438a0eceed1b6d3839afcb40097ab9a66683b424 100644 |
--- a/src/mips/ic-mips.cc |
+++ b/src/mips/ic-mips.cc |
@@ -1560,11 +1560,9 @@ Condition CompareIC::ComputeCondition(Token::Value op) { |
case Token::LT: |
return lt; |
case Token::GT: |
- // Reverse left and right operands to obtain ECMA-262 conversion order. |
- return lt; |
+ return gt; |
case Token::LTE: |
- // Reverse left and right operands to obtain ECMA-262 conversion order. |
- return ge; |
+ return le; |
case Token::GTE: |
return ge; |
default: |