Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotMove.java @ 21543:93c50cefb9e8
moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 25 May 2015 23:30:34 +0200 |
parents | 1da7aef31a08 |
children | 5324104ac4f3 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotMove.java Mon May 25 22:30:44 2015 +0200 +++ b/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/SPARCHotSpotMove.java Mon May 25 23:30:34 2015 +0200 @@ -38,12 +38,13 @@ import com.oracle.graal.compiler.common.*; import com.oracle.graal.hotspot.*; import com.oracle.graal.hotspot.jvmci.*; -import com.oracle.graal.hotspot.jvmci.HotSpotVMConfig.*; +import com.oracle.graal.hotspot.jvmci.HotSpotVMConfig.CompressEncoding; import com.oracle.graal.lir.*; import com.oracle.graal.lir.StandardOp.MoveOp; import com.oracle.graal.lir.asm.*; import com.oracle.graal.lir.sparc.*; import com.oracle.graal.sparc.*; +import com.oracle.jvmci.common.*; public class SPARCHotSpotMove { @@ -82,7 +83,7 @@ masm.stx(sr1, addr); break; default: - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } } } @@ -106,7 +107,7 @@ new SPARCMacroAssembler.Setx(0xDEADDEADDEADDEADL, asRegister(dest), true).emit(masm); } } else { - GraalInternalError.unimplemented(); + JVMCIError.unimplemented(); } } else if (constant instanceof HotSpotMetaspaceConstant) { assert constant.getKind() == Kind.Int || constant.getKind() == Kind.Long; @@ -116,13 +117,13 @@ crb.recordInlineDataInCode(constant); if (compressed) { if (isImmutable && generatePIC) { - GraalInternalError.unimplemented(); + JVMCIError.unimplemented(); } else { new SPARCMacroAssembler.Setx(constant.asInt(), asRegister(dest), true).emit(masm); } } else { if (isImmutable && generatePIC) { - GraalInternalError.unimplemented(); + JVMCIError.unimplemented(); } else { new SPARCMacroAssembler.Setx(constant.asLong(), asRegister(dest), true).emit(masm); }