mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-13 22:15:36 -04:00
Add flow-based escape analysis of stack memory, reported as warnings
This commit is contained in:
1 parent
9a2321bf55
commit
8ea02cc733
4 files changed
+1839
-29
No files matched your search
@@ -2531,6 +2531,8 @@ gb_internal bool check_proc_body(CheckerContext *ctx_, Token token, DeclInfo *de
|
||||
}
|
||||
check_close_scope(ctx);
|
||||
|
||||
check_proc_escapes(type, body);
|
||||
|
||||
check_scope_usage(ctx->checker, ctx->scope, check_vet_flags(body));
|
||||
|
||||
add_deps_from_child_to_parent(decl);
|
||||
|
||||
Reference in new issue
Block a user