| Index: src/builtins-ia32.cc
|
| ===================================================================
|
| --- src/builtins-ia32.cc (revision 485)
|
| +++ src/builtins-ia32.cc (working copy)
|
| @@ -75,14 +75,6 @@
|
| ExternalReference::debug_step_in_fp_address();
|
| __ cmp(Operand::StaticVariable(debug_step_in_fp), Immediate(0));
|
| __ j(not_equal, &rt_call);
|
| - // Check that function is not a Smi.
|
| - __ test(edi, Immediate(kSmiTagMask));
|
| - __ j(zero, &rt_call);
|
| - // Check that function is a JSFunction
|
| - __ mov(eax, FieldOperand(edi, JSFunction::kMapOffset));
|
| - __ movzx_b(eax, FieldOperand(eax, Map::kInstanceTypeOffset));
|
| - __ cmp(eax, JS_FUNCTION_TYPE);
|
| - __ j(not_equal, &rt_call);
|
|
|
| // Verified that the constructor is a JSFunction.
|
| // Load the initial map and verify that it is in fact a map.
|
|
|