aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-16 00:13:33 -0700
committerMichael Forney <mforney@mforney.org>2024-04-16 00:46:30 -0700
commit5762c6fc23b458fa16ee0ea4f5d50430d6059e2a (patch)
tree35c3d626aae937d6cf08cc4efc6a7ee48aa7548d /qbe.c
parentb4f694975cd616d9315ac9f0cbcb747b0c1d2c0a (diff)
qbe: Clarify comment
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qbe.c b/qbe.c
index e98e6fe..b01d2db 100644
--- a/qbe.c
+++ b/qbe.c
@@ -1355,7 +1355,7 @@ emitdata(struct decl *d, struct init *init)
if (offset < start)
printf("z %llu, ", start - offset);
if (cur->bits.before || cur->bits.after) {
- /* XXX: little-endian specific */
+ /* little-endian target specific */
assert(cur->expr->type->prop & PROPINT);
assert(cur->expr->kind == EXPRCONST);
bits |= cur->expr->u.constant.u << cur->bits.before % 8;