changeset 23206:c68ee5639632

Add message when no appropriate LIRKind is provided for shl
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Fri, 18 Dec 2015 15:31:49 +0100
parents aed0201715a1
children c07e0f138412
files graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCArithmeticLIRGenerator.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCArithmeticLIRGenerator.java	Fri Dec 18 15:30:22 2015 +0100
+++ b/graal/com.oracle.graal.compiler.sparc/src/com/oracle/graal/compiler/sparc/SPARCArithmeticLIRGenerator.java	Fri Dec 18 15:31:49 2015 +0100
@@ -457,7 +457,7 @@
                 op = Op3s.Sllx;
                 break;
             default:
-                throw JVMCIError.shouldNotReachHere();
+                throw JVMCIError.shouldNotReachHere(String.format("Unsupported kind %s", aKind));
         }
         return emitBinary(resultKind, op, a, b);
     }