aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-04-12 14:13:55 -0400
committerQuentin Carbonneaux <[email protected]>2016-04-12 14:51:50 -0400
commit3bb4f8a647e8d8c631fe128a0fca2d2bcacff7c7 (patch)
treee43deb923ab8da976c408e2314484bcac6021573
parent861bb7c53421097091fc53c9ce5d0de1420b908d (diff)
nicer agony message in isel
-rw-r--r--isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isel.c b/isel.c
index faf6fa8..2d4f5c5 100644
--- a/isel.c
+++ b/isel.c
@@ -333,7 +333,7 @@ Emit:
selcmp(i.arg, kc, fn);
break;
}
- die("unknown instruction");
+ die("unknown instruction %s", opdesc[i.op].name);
}
while (i0 > curi && --i0) {