Commit d4a74f08 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[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}
parent d96e688d
......@@ -1217,7 +1217,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
}
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1329,7 +1329,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
}
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1511,7 +1511,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
__ Nop(padding_size);
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1341,7 +1341,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
}
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1414,7 +1414,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
}
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1555,7 +1555,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
}
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1712,7 +1712,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
__ Nop(padding_size);
}
}
MarkLazyDeoptSite();
}
#undef __
......
......@@ -1840,7 +1840,6 @@ void CodeGenerator::EnsureSpaceForLazyDeopt() {
__ Nop(padding_size);
}
}
MarkLazyDeoptSite();
}
#undef __
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment