| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 3d85c3390e847da2c7510d7c9a8149284dde9889..8a05e007639d432f33701b614d26d8993c197883 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2264,7 +2264,7 @@ static void CallFunctionNoFeedback(MacroAssembler* masm,
|
| // Load the receiver from the stack.
|
| __ mov(eax, Operand(esp, (argc + 1) * kPointerSize));
|
|
|
| - if (call_as_method) {
|
| + if (needs_checks) {
|
| __ JumpIfSmi(eax, &wrap);
|
|
|
| __ CmpObjectType(eax, FIRST_SPEC_OBJECT_TYPE, ecx);
|
|
|