Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index b168ad50d6b80b5cbf43484d7a4bf4beb38eb876..bfa49d51d0ac4e3dfdd458f26e1bcc9d2f5fd86a 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4775,6 +4775,7 @@ static void GenerateRecordCallTarget(MacroAssembler* masm) { |
Handle<Object> terminal_kind_sentinel = |
TypeFeedbackCells::MonomorphicArraySentinel(isolate, |
LAST_FAST_ELEMENTS_KIND); |
+ __ JumpIfNotSmi(ecx, &miss); |
__ cmp(ecx, Immediate(terminal_kind_sentinel)); |
__ j(above, &miss); |
// Load the global or builtins object from the current context |