aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-09-08 17:13:37 +0100
committergingerBill <bill@gingerbill.org>2022-09-08 17:13:37 +0100
commit0859ccc5c086c89390ec5fda486a38aa403b91ad (patch)
tree549668a5ec5d28f7e2e921845d7da0ddacc008d2 /src/check_stmt.cpp
parent0c9ddd51a4078b28cbc3b3d52f818c907dad0893 (diff)
Disable buggy escape analysis
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}