Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index e2ca0718f65f11ff6475c8980c9059714311c640..269cabb97721ab9081a854a3725ea5dc8874b877 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -2481,6 +2481,7 @@ void StoreArrayLengthStub::Generate(MacroAssembler* masm) { |
Register scratch = rbx; |
if (kind() == Code::KEYED_STORE_IC) { |
__ Cmp(rcx, masm->isolate()->factory()->length_string()); |
+ __ j(not_equal, &miss); |
} |
// Check that the receiver isn't a smi. |