Index: src/x64/ic-x64.cc |
diff --git a/src/x64/ic-x64.cc b/src/x64/ic-x64.cc |
index 814da760c88abab20e1226a08efbae6592c08448..a76ba463e9ba1f0b408fdb84c57fc5f5af40b515 100644 |
--- a/src/x64/ic-x64.cc |
+++ b/src/x64/ic-x64.cc |
@@ -895,7 +895,7 @@ void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) { |
// Check that the key is an array index, that is Uint32. |
STATIC_ASSERT(kSmiValueSize <= 32); |
- __ JumpIfNotPositiveSmi(rax, &slow); |
+ __ JumpUnlessNonNegativeSmi(rax, &slow); |
// Get the map of the receiver. |
__ movq(rcx, FieldOperand(rdx, HeapObject::kMapOffset)); |