diff options
-rw-r--r-- | qbe.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1020,6 +1020,8 @@ emitvalue(struct value *v) static void emitrepr(struct repr *r, bool abi, bool ext) { + if (!r) + fatal("type has no QBE representation"); if (abi && r->abi.id) { putchar(':'); emitname(&r->abi); |