| Index: src/compiler/js-inlining.cc | 
| diff --git a/src/compiler/js-inlining.cc b/src/compiler/js-inlining.cc | 
| index 73aefcf14264ef6a4763e8581155a33c4a56b887..382e0c10e58437003804467229ff9db73d8a9208 100644 | 
| --- a/src/compiler/js-inlining.cc | 
| +++ b/src/compiler/js-inlining.cc | 
| @@ -300,7 +300,10 @@ bool NeedsImplicitReceiver(Handle<SharedFunctionInfo> shared_info) { | 
| DisallowHeapAllocation no_gc; | 
| Isolate* const isolate = shared_info->GetIsolate(); | 
| Code* const construct_stub = shared_info->construct_stub(); | 
| -  return construct_stub != *isolate->builtins()->JSBuiltinsConstructStub(); | 
| +  return construct_stub != *isolate->builtins()->JSBuiltinsConstructStub() && | 
| +         construct_stub != | 
| +             *isolate->builtins()->JSBuiltinsConstructStubForDerived() && | 
| +         construct_stub != *isolate->builtins()->JSConstructStubApi(); | 
| } | 
|  | 
| bool IsNonConstructible(Handle<SharedFunctionInfo> shared_info) { | 
|  |