aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-11-13 23:56:05 +0000
committergingerBill <bill@gingerbill.org>2022-11-13 23:56:05 +0000
commit25bec19b1f91cac47544ec434b825bd2b9727a39 (patch)
tree3cefbf7cd9511bcb81ac4eff7b7b364d61142b66 /src/check_expr.cpp
parent81f83d5780121cc0840c911aca3cf82a0b1d7598 (diff)
Revert "Minor improvement to multi return value reducing stack usage"
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index c819267fd..c58aac609 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -6739,9 +6739,6 @@ ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *call, Ast *pr
if (initial_entity != nullptr && initial_entity->kind == Entity_Procedure) {
if (initial_entity->Procedure.deferred_procedure.entity != nullptr) {
call->viral_state_flags |= ViralStateFlag_ContainsDeferredProcedure;
- if (c->decl != nullptr) {
- c->decl->defer_use_count += 1;
- }
}
}