From 0859ccc5c086c89390ec5fda486a38aa403b91ad Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 8 Sep 2022 17:13:37 +0100 Subject: Disable buggy escape analysis --- src/check_stmt.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/check_stmt.cpp') diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 9e4504dc1..630182273 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1397,6 +1397,7 @@ bool check_stmt_internal_builtin_proc_id(Ast *expr, BuiltinProcId *id_) { } bool check_expr_is_stack_variable(Ast *expr) { + /* expr = unparen_expr(expr); Entity *e = entity_of_node(expr); if (e && e->kind == Entity_Variable) { @@ -1410,6 +1411,7 @@ bool check_expr_is_stack_variable(Ast *expr) { } } } + */ return false; } -- cgit v1.2.3