We want to enable frame elision for stubs and bytecode handlers.

Disabling it for anything else, to avoid compile time overhead.

BUG=

Review URL: https://codereview.chromium.org/1641653005

Cr-Commit-Position: refs/heads/master@{#33587}
This commit is contained in:
mtrofin 2016-01-28 07:24:02 -08:00 committed by Commit bot
parent e1084094bb
commit 9c4d1396b6

View File

@ -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()) {
Run<LocateSpillSlotsPhase>();
Run<FrameElisionPhase>();
}