| Index: src/compiler/pipeline.cc
|
| diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc
|
| index 59089e03d618efc5a0914e02e1ccb9aa06c4c58f..2ddfbd053255f0049b753b37f59af0281c358252 100644
|
| --- a/src/compiler/pipeline.cc
|
| +++ b/src/compiler/pipeline.cc
|
| @@ -810,6 +810,12 @@ Handle<Code> Pipeline::GenerateCode() {
|
| return Handle<Code>::null();
|
| }
|
|
|
| + // TODO(dslomov): support turbo optimization of subclass constructors.
|
| + if (IsSubclassConstructor(shared->kind())) {
|
| + shared->DisableOptimization(kSuperReference);
|
| + return Handle<Code>::null();
|
| + }
|
| +
|
| ZonePool zone_pool;
|
| SmartPointer<PipelineStatistics> pipeline_statistics;
|
|
|
|
|