Commit 8b4e1042 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[turbofan] Deprecate --turbo-try-finally flag.

R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#33786}
parent b9f42396
......@@ -1530,9 +1530,6 @@ void AstGraphBuilder::VisitTryFinallyStatement(TryFinallyStatement* stmt) {
// Dynamic dispatch after the finally-block.
commands->ApplyDeferredCommands(token, result);
// TODO(mstarzinger): Remove bailout once everything works.
if (!FLAG_turbo_try_finally) SetStackOverflow();
}
......
......@@ -461,7 +461,6 @@ DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL,
DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan")
DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan")
DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan")
DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan")
DEFINE_BOOL(turbo_stress_loop_peeling, false,
"stress loop peeling optimization")
DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan")
......
......@@ -84,7 +84,6 @@ TEST(DeoptExceptionHandlerCatch) {
TEST(DeoptExceptionHandlerFinally) {
FLAG_allow_natives_syntax = true;
FLAG_turbo_try_finally = true;
FunctionTester T(
"(function f() {"
......
......@@ -61,7 +61,6 @@ TEST(ThrowMessageDirectly) {
TEST(ThrowMessageIndirectly) {
i::FLAG_turbo_try_finally = true;
static const char* src =
"(function(a, b) {"
" try {"
......@@ -170,7 +169,6 @@ TEST(CatchCall) {
TEST(Finally) {
i::FLAG_turbo_try_finally = true;
const char* src =
"(function(a,b) {"
" var r = '-';"
......@@ -188,7 +186,6 @@ TEST(Finally) {
TEST(FinallyBreak) {
i::FLAG_turbo_try_finally = true;
const char* src =
"(function(a,b) {"
" var r = '-';"
......@@ -244,7 +241,6 @@ TEST(DeoptCatch) {
TEST(DeoptFinallyReturn) {
i::FLAG_turbo_try_finally = true;
const char* src =
"(function f(a) {"
" try {"
......@@ -261,7 +257,6 @@ TEST(DeoptFinallyReturn) {
TEST(DeoptFinallyReThrow) {
i::FLAG_turbo_try_finally = true;
const char* src =
"(function f(a) {"
" try {"
......@@ -272,9 +267,7 @@ TEST(DeoptFinallyReThrow) {
"})";
FunctionTester T(src);
#if 0 // TODO(mstarzinger): Enable once we can.
T.CheckThrows(T.NewObject("new Error"), T.Val(1));
#endif
}
} // namespace compiler
......
......@@ -6257,7 +6257,6 @@ TEST(MessageObjectLeak) {
const char* flag = "--turbo-filter=*";
FlagList::SetFlagsFromString(flag, StrLength(flag));
FLAG_always_opt = true;
FLAG_turbo_try_finally = true;
CompileRun(test);
}
......
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