diff options
author | Ian Lynagh <igloo@earth.li> | 2006-09-07 17:10:38 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2006-09-07 17:10:38 +0000 |
commit | 06b8942c4f279ca62fad6d1b5e955dd33ec3f985 (patch) | |
tree | 647db142bcfd9a418063a72cb373e2a975c3c0a0 /rts/Interpreter.c | |
parent | bbc6aa4c27224208fc2a0d415b510c8fc1d3efd5 (diff) | |
download | haskell-06b8942c4f279ca62fad6d1b5e955dd33ec3f985.tar.gz |
If we get an unknown or unimplemented opcode, say what it is
Diffstat (limited to 'rts/Interpreter.c')
-rw-r--r-- | rts/Interpreter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rts/Interpreter.c b/rts/Interpreter.c index 81d4e38d93..94a0286167 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -1249,7 +1249,8 @@ run_BCO: // Errors default: - barf("interpretBCO: unknown or unimplemented opcode"); + barf("interpretBCO: unknown or unimplemented opcode %d", + (int)BCO_NEXT); } /* switch on opcode */ } |