Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 4558afe68aa4e10e22af5b1e2e7b02904becd73d..9174768fecb12823af559ee59193e6711ab705d4 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1619,7 +1619,7 @@ MaybeObject* CallStubCompiler::CompileArrayPushCall(Object* object, |
__ bind(&with_write_barrier); |
__ ldr(r6, FieldMemOperand(receiver, HeapObject::kMapOffset)); |
- __ CheckFastSmiOnlyElements(r6, r6, &call_builtin); |
+ __ CheckFastObjectElements(r6, r6, &call_builtin); |
// Save new length. |
__ str(r0, FieldMemOperand(receiver, JSArray::kLengthOffset)); |