Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 23da69c30bb3bf3e46ff19cd24f81ec5df7459fe..d4bd75bb977e2aa2c346b059eb3df7789eb3cb12 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4750,6 +4750,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
Handle<Object> terminal_kind_sentinel = |
TypeFeedbackCells::MonomorphicArraySentinel(masm->isolate(), |
LAST_FAST_ELEMENTS_KIND); |
+ __ JumpIfNotSmi(r3, &miss); |
__ cmp(r3, Operand(terminal_kind_sentinel)); |
__ b(gt, &miss); |
// Make sure the function is the Array() function |