Index: src/compiler/pipeline.cc |
diff --git a/src/compiler/pipeline.cc b/src/compiler/pipeline.cc |
index 3fe6582cb1ac3a4df150122c1a7cc516ce38e761..86e51281d2d1add5e5e4d34414d5dab81a90e807 100644 |
--- a/src/compiler/pipeline.cc |
+++ b/src/compiler/pipeline.cc |
@@ -1441,7 +1441,8 @@ void Pipeline::AllocateRegisters(const RegisterConfiguration* config, |
Run<MergeSplintersPhase>(); |
} |
- if (FLAG_turbo_frame_elision) { |
+ // We plan to enable frame elision only for stubs and bytecode handlers. |
+ if (FLAG_turbo_frame_elision && info()->IsStub()) { |
Mircea Trofin
2016/01/28 02:39:10
Is there a way to check this is a bytecode handler
|
Run<LocateSpillSlotsPhase>(); |
Run<FrameElisionPhase>(); |
} |