diff options
| author | gingerBill <bill@gingerbill.org> | 2022-11-13 23:56:05 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-11-13 23:56:05 +0000 |
| commit | 25bec19b1f91cac47544ec434b825bd2b9727a39 (patch) | |
| tree | 3cefbf7cd9511bcb81ac4eff7b7b364d61142b66 /src/check_stmt.cpp | |
| parent | 81f83d5780121cc0840c911aca3cf82a0b1d7598 (diff) | |
Revert "Minor improvement to multi return value reducing stack usage"
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 8271ca451..9cacb4a35 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -2014,10 +2014,6 @@ void check_stmt_internal(CheckerContext *ctx, Ast *node, u32 flags) { if (is_ast_decl(ds->stmt)) { error(ds->token, "You cannot defer a declaration"); } else { - if (ctx->decl != nullptr) { - ctx->decl->defer_use_count += 1; - } - bool out_in_defer = ctx->in_defer; ctx->in_defer = true; check_stmt(ctx, ds->stmt, 0); |