Index: src/ia32/ic-ia32.cc |
diff --git a/src/ia32/ic-ia32.cc b/src/ia32/ic-ia32.cc |
index 0f5820254de7d952673e9fc18388e7a54b4ff1ca..be5910a1243b7671f069f3fafc66262e9b47f144 100644 |
--- a/src/ia32/ic-ia32.cc |
+++ b/src/ia32/ic-ia32.cc |
@@ -528,6 +528,8 @@ static Operand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, |
const int kBackingStoreOffset = FixedArray::kHeaderSize + kPointerSize; |
Register backing_store = parameter_map; |
__ mov(backing_store, FieldOperand(parameter_map, kBackingStoreOffset)); |
+ Handle<Map> fixed_array_map(masm->isolate()->heap()->fixed_array_map()); |
+ __ CheckMap(backing_store, fixed_array_map, slow_case, DONT_DO_SMI_CHECK); |
__ mov(scratch, FieldOperand(backing_store, FixedArray::kLengthOffset)); |
__ cmp(key, Operand(scratch)); |
__ j(greater_equal, slow_case); |