In s390_decode_and_irgen don't divert the default case to a decoding error.
That's wrong as the default case is never supposed to occur.

In disInstr_S390_WRK use vpanic for the default case for sake of consistency.


git-svn-id: svn://svn.valgrind.org/vex/trunk@2952 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/guest_s390_toIR.c b/priv/guest_s390_toIR.c
index 2bcbf34..65cd0e9 100644
--- a/priv/guest_s390_toIR.c
+++ b/priv/guest_s390_toIR.c
@@ -16464,10 +16464,12 @@
          vex_printf("unimplemented special insn: ");
          break;
 
-      default:
       case S390_DECODE_ERROR:
          vex_printf("decoding error: ");
          break;
+
+      default:
+         vpanic("s390_decode_and_irgen");
       }
 
       vex_printf("%02x%02x", bytes[0], bytes[1]);
@@ -16550,7 +16552,7 @@
          }
          break;
       default:
-         vassert(0);
+         vpanic("disInstr_S390_WRK");
       }
    }