Revert "Minor improvement to multi return value reducing stack usage"

This commit is contained in:
gingerBill
2022-11-13 23:56:05 +00:00
parent 81f83d5780
commit 25bec19b1f
6 changed files with 20 additions and 91 deletions

View File

@@ -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);