From: mstarzinger Date: Wed, 17 Jun 2015 07:43:36 +0000 (-0700) Subject: [turbofan] Fix overzealous reserving of lazy deopt space. X-Git-Tag: upstream/4.7.83~1971 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4a74f08d29684ba50362fb78c5a716b1f44e6cb;p=platform%2Fupstream%2Fv8.git [turbofan] Fix overzealous reserving of lazy deopt space. This fixes CodeGenerator::EnsureSpaceForLazyDeopt to no longer be treated as a lazy deopt site in itself. Calls mark themselves as lazy bailout sites in CodeGenerator::RecordCallPosition, which suffices. R=jarin@chromium.org Review URL: https://codereview.chromium.org/1186353003 Cr-Commit-Position: refs/heads/master@{#29069} --- diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc index a26430849..a4ab884f8 100644 --- a/src/compiler/arm/code-generator-arm.cc +++ b/src/compiler/arm/code-generator-arm.cc @@ -1217,7 +1217,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { } } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc index 831627dde..736d5638d 100644 --- a/src/compiler/arm64/code-generator-arm64.cc +++ b/src/compiler/arm64/code-generator-arm64.cc @@ -1329,7 +1329,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { } } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc index 53b4ebe7c..de3bac15e 100644 --- a/src/compiler/ia32/code-generator-ia32.cc +++ b/src/compiler/ia32/code-generator-ia32.cc @@ -1511,7 +1511,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { __ Nop(padding_size); } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc index 872eeb454..3afb86af4 100644 --- a/src/compiler/mips/code-generator-mips.cc +++ b/src/compiler/mips/code-generator-mips.cc @@ -1341,7 +1341,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { } } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc index 5296ea82f..998a4f3f8 100644 --- a/src/compiler/mips64/code-generator-mips64.cc +++ b/src/compiler/mips64/code-generator-mips64.cc @@ -1414,7 +1414,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { } } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc index 936b1e038..63ebfc898 100644 --- a/src/compiler/ppc/code-generator-ppc.cc +++ b/src/compiler/ppc/code-generator-ppc.cc @@ -1555,7 +1555,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { } } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc index 13e482d3c..5f55b33f8 100644 --- a/src/compiler/x64/code-generator-x64.cc +++ b/src/compiler/x64/code-generator-x64.cc @@ -1712,7 +1712,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { __ Nop(padding_size); } } - MarkLazyDeoptSite(); } #undef __ diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc index a1ce22fc0..87d4e3ddf 100644 --- a/src/compiler/x87/code-generator-x87.cc +++ b/src/compiler/x87/code-generator-x87.cc @@ -1840,7 +1840,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() { __ Nop(padding_size); } } - MarkLazyDeoptSite(); } #undef __