| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index a7e9a69a046b7fcbcb554803b6c9dc3f287ab957..697a71fd38f99b04f9d1b2f7605d60280e20ac37 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -698,8 +698,7 @@ class CallInterceptorCompiler BASE_EMBEDDED {
|
|
|
| CallOptimization optimization(lookup);
|
|
|
| - if (optimization.is_constant_call() &&
|
| - !Top::CanHaveSpecialFunctions(holder)) {
|
| + if (optimization.is_constant_call()) {
|
| CompileCacheable(masm,
|
| object,
|
| receiver,
|
| @@ -1333,18 +1332,6 @@ Object* CallStubCompiler::CompileCallConstant(Object* object,
|
| break;
|
| }
|
|
|
| - case JSARRAY_HAS_FAST_ELEMENTS_CHECK:
|
| - CheckPrototypes(JSObject::cast(object), edx, holder,
|
| - ebx, eax, name, &miss);
|
| - // Make sure object->HasFastElements().
|
| - // Get the elements array of the object.
|
| - __ mov(ebx, FieldOperand(edx, JSObject::kElementsOffset));
|
| - // Check that the object is in fast mode (not dictionary).
|
| - __ cmp(FieldOperand(ebx, HeapObject::kMapOffset),
|
| - Immediate(Factory::fixed_array_map()));
|
| - __ j(not_equal, &miss, not_taken);
|
| - break;
|
| -
|
| default:
|
| UNREACHABLE();
|
| }
|
|
|