Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index b0a32eadcfc85e54a2cdfe20d0cb6269ad0b0d67..daa5623c025a3d86238caaa82129491b1fda746c 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -3363,7 +3363,7 @@ void StoreArrayLengthStub::Generate(MacroAssembler* masm) { |
Register value = eax; |
Register scratch = ebx; |
- if (kind() == Code::KEYED_LOAD_IC) { |
+ if (kind() == Code::KEYED_STORE_IC) { |
__ cmp(ecx, Immediate(masm->isolate()->factory()->length_string())); |
__ j(not_equal, &miss); |
} |