| Index: src/compiler/opcodes.h
|
| diff --git a/src/compiler/opcodes.h b/src/compiler/opcodes.h
|
| index 0d0f0428ea4289c2662d45ba7aabc59e6b269841..e901365dcc1fddbc391817540d967c9942057a9c 100644
|
| --- a/src/compiler/opcodes.h
|
| +++ b/src/compiler/opcodes.h
|
| @@ -76,7 +76,8 @@
|
| V(JSLessThan) \
|
| V(JSGreaterThan) \
|
| V(JSLessThanOrEqual) \
|
| - V(JSGreaterThanOrEqual)
|
| + V(JSGreaterThanOrEqual) \
|
| + V(JSSameValueZero)
|
|
|
| #define JS_BITWISE_BINOP_LIST(V) \
|
| V(JSBitwiseOr) \
|
| @@ -715,7 +716,7 @@ class IrOpcode {
|
|
|
| // Returns true if opcode for comparison operator.
|
| static bool IsComparisonOpcode(Value value) {
|
| - return (kJSEqual <= value && value <= kJSGreaterThanOrEqual) ||
|
| + return (kJSEqual <= value && value <= kJSSameValueZero) ||
|
| (kNumberEqual <= value && value <= kStringLessThanOrEqual) ||
|
| (kWord32Equal <= value && value <= kFloat64LessThanOrEqual);
|
| }
|
|
|