commit 8a2eb2c5daadfcc8a1beb25c2378ea5c95687beb
parent f919ac5d49f0fcfab1b8ab7edd912350bb439621
Author: Eyal Sawady <ecs@d2evs.net>
Date: Fri, 16 Jul 2021 11:37:01 +0000
gen_address_index: make result indirect
Signed-off-by: Eyal Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/gen.c b/src/gen.c
@@ -226,6 +226,7 @@ gen_address_index(struct gen_context *ctx, struct gen_temp *temp,
temp->name = offset.name;
temp->type = atype->array.members;
+ temp->indirect = true;
}
static void