Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index a81c07272901ee4f812b5d361f41b54bd912c0f8..20d89a689a497aa5dde51cd489e4cefdb2b58ec8 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -5120,6 +5120,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
Handle<Object> terminal_kind_sentinel = |
TypeFeedbackCells::MonomorphicArraySentinel(masm->isolate(), |
LAST_FAST_ELEMENTS_KIND); |
+ __ JumpIfNotSmi(a3, &miss); |
__ Branch(&miss, gt, a3, Operand(terminal_kind_sentinel)); |
// Make sure the function is the Array() function |
__ LoadArrayFunction(a3); |