Mercurial > hg > truffle
diff graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/events/EmptyEventProvider.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 | 7340fe377764 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/events/EmptyEventProvider.java Mon May 25 22:30:44 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/events/EmptyEventProvider.java Mon May 25 23:30:34 2015 +0200 @@ -22,7 +22,7 @@ */ package com.oracle.graal.hotspot.events; -import com.oracle.graal.compiler.common.*; +import com.oracle.jvmci.common.*; /** * An empty implementation for {@link EventProvider}. This implementation is used when no logging is @@ -36,7 +36,7 @@ class EmptyCompilationEvent implements CompilationEvent { public void commit() { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public boolean shouldWrite() { @@ -51,31 +51,31 @@ } public void setMethod(String method) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setCompileId(int compileId) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setCompileLevel(int compileLevel) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setSucceeded(boolean succeeded) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setIsOsr(boolean isOsr) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setCodeSize(int codeSize) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setInlinedBytes(int inlinedBytes) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } } @@ -85,7 +85,7 @@ class EmptyCompilerFailureEvent implements CompilerFailureEvent { public void commit() { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public boolean shouldWrite() { @@ -94,11 +94,11 @@ } public void setCompileId(int compileId) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } public void setMessage(String message) { - throw GraalInternalError.shouldNotReachHere(); + throw JVMCIError.shouldNotReachHere(); } }