Skip to content

Commit d485207

Browse files
committed
Add back the EH_ELSE_EXPR node to finally
1 parent 75af046 commit d485207

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gcc/jit/jit-playback.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2334,10 +2334,7 @@ add_try_catch (location *loc,
23342334

23352335
if (is_finally)
23362336
{
2337-
/*tree noop = build_int_cst (integer_type_node, 0);
2338-
tree stmt = build1 (NOP_EXPR, void_type_node, size_zero_node);
23392337
tree success_body = alloc_stmt_list ();
2340-
//append_to_statement_list (stmt, &success_body);
23412338

23422339

23432340
tree t_string = build_string ("nop");
@@ -2353,7 +2350,6 @@ add_try_catch (location *loc,
23532350

23542351
// TODO: perhaps we need a EH_FILTER_EXPR instead?
23552352
catch_body = build2 (EH_ELSE_EXPR, void_type_node, success_body, catch_body);
2356-
*/
23572353
add_stmt (build2 (TRY_FINALLY_EXPR, void_type_node,
23582354
try_body, catch_body));
23592355
}

0 commit comments

Comments
 (0)