harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit af61bf5346d6319745cae1917a3b28becae66205
parent 736422829f43ddbbe70861b02848bbf1e0f9d601
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 20 Dec 2020 17:21:23 -0500

gen: remove obsolete comment

Diffstat:
Msrc/gen.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gen.c b/src/gen.c @@ -234,8 +234,6 @@ gen_function_decl(struct gen_context *ctx, const struct declaration *decl) alloc_temp(ctx, &rval, fntype->func.result, "return.%d"); ctx->return_value = &rval; - // XXX: Does this change if we have an expression list (with an explicit - // return statement) here? pushl(&qdef->func, &ctx->id, "body.%d"); gen_expression(ctx, func->body, &rval); push(&qdef->func, &end_label);