Index: src/arm/ic-arm.cc |
diff --git a/src/arm/ic-arm.cc b/src/arm/ic-arm.cc |
index 676baeb35fb8f220712e2a613fa3c8063e7c20ca..dea875bad4bd2788531497ac952e97eb507d7376 100644 |
--- a/src/arm/ic-arm.cc |
+++ b/src/arm/ic-arm.cc |
@@ -952,6 +952,9 @@ static MemOperand GenerateUnmappedArgumentsLookup(MacroAssembler* masm, |
const int kBackingStoreOffset = FixedArray::kHeaderSize + kPointerSize; |
Register backing_store = parameter_map; |
__ ldr(backing_store, FieldMemOperand(parameter_map, kBackingStoreOffset)); |
+ Handle<Map> fixed_array_map(masm->isolate()->heap()->fixed_array_map()); |
+ __ CheckMap(backing_store, scratch, fixed_array_map, slow_case, |
+ DONT_DO_SMI_CHECK); |
__ ldr(scratch, FieldMemOperand(backing_store, FixedArray::kLengthOffset)); |
__ cmp(key, Operand(scratch)); |
__ b(cs, slow_case); |