commit 8a24dd52a20eb53612d4ea3cf36d7d99d5d9b229
parent cbfd4c3356a887334f1a7d7d65d74c5cb6e3f121
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date: Mon, 15 Mar 2021 01:23:22 +0200
gen: treat uintptr data as pointers
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/gen.c b/src/gen.c
@@ -2708,7 +2708,6 @@ gen_data_item(struct gen_context *ctx, struct expression *expr,
constd(&item->value, constant->fval);
break;
case STORAGE_UINTPTR:
- assert(0); // TODO: What are the semantics for this?
case STORAGE_POINTER:
assert(expr->type == EXPR_CONSTANT); // TODO?
item->type = QD_VALUE;