Mercurial > hg > graal-compiler
changeset 21601:aeb8489242b6
Remove unused methods.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Fri, 29 May 2015 14:46:58 +0200 |
parents | 5d6c9d2cd5f7 |
children | 250fbc03954a |
files | graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/jvmci/AMD64HotSpotJVMCIBackendFactory.java graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/jvmci/SPARCHotSpotJVMCIBackendFactory.java |
diffstat | 2 files changed, 5 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/jvmci/AMD64HotSpotJVMCIBackendFactory.java Thu May 28 20:02:54 2015 +0200 +++ b/graal/com.oracle.graal.hotspot.amd64/src/com/oracle/graal/hotspot/amd64/jvmci/AMD64HotSpotJVMCIBackendFactory.java Fri May 29 14:46:58 2015 +0200 @@ -22,10 +22,6 @@ */ package com.oracle.graal.hotspot.amd64.jvmci; -import com.oracle.jvmci.code.RegisterConfig; -import com.oracle.jvmci.code.TargetDescription; -import com.oracle.jvmci.code.Architecture; -import com.oracle.jvmci.meta.ConstantReflectionProvider; import static com.oracle.jvmci.hotspot.InitTimer.*; import java.util.*; @@ -33,8 +29,9 @@ import com.oracle.graal.amd64.*; import com.oracle.graal.hotspot.*; import com.oracle.graal.hotspot.amd64.*; -import com.oracle.graal.hotspot.meta.*; +import com.oracle.jvmci.code.*; import com.oracle.jvmci.hotspot.*; +import com.oracle.jvmci.meta.*; import com.oracle.jvmci.runtime.*; @ServiceProvider(HotSpotJVMCIBackendFactory.class) @@ -110,10 +107,6 @@ return new HotSpotTargetDescription(createArchitecture(config), true, stackFrameAlignment, implicitNullCheckLimit, inlineObjects); } - protected AMD64HotSpotBackend createBackend(HotSpotGraalRuntimeProvider runtime, HotSpotProviders providers) { - return new AMD64HotSpotBackend(runtime, providers); - } - protected HotSpotConstantReflectionProvider createConstantReflection(HotSpotJVMCIRuntimeProvider runtime) { return new HotSpotConstantReflectionProvider(runtime); } @@ -134,13 +127,9 @@ return "AMD64"; } - public String getGraalRuntimeName() { - return "basic"; - } - @Override public String toString() { - return getGraalRuntimeName() + ":" + getArchitecture(); + return getJVMCIRuntimeName() + ":" + getArchitecture(); } public JVMCIBackend createJVMCIBackend(HotSpotJVMCIRuntimeProvider runtime, JVMCIBackend host) {
--- a/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/jvmci/SPARCHotSpotJVMCIBackendFactory.java Thu May 28 20:02:54 2015 +0200 +++ b/graal/com.oracle.graal.hotspot.sparc/src/com/oracle/graal/hotspot/sparc/jvmci/SPARCHotSpotJVMCIBackendFactory.java Fri May 29 14:46:58 2015 +0200 @@ -22,18 +22,15 @@ */ package com.oracle.graal.hotspot.sparc.jvmci; -import com.oracle.jvmci.code.Architecture; -import com.oracle.jvmci.code.TargetDescription; -import com.oracle.jvmci.code.RegisterConfig; import static com.oracle.jvmci.hotspot.InitTimer.*; import java.util.*; import com.oracle.graal.hotspot.*; -import com.oracle.graal.hotspot.meta.*; import com.oracle.graal.hotspot.sparc.*; import com.oracle.graal.sparc.*; import com.oracle.graal.sparc.SPARC.CPUFeature; +import com.oracle.jvmci.code.*; import com.oracle.jvmci.hotspot.*; import com.oracle.jvmci.runtime.*; @@ -55,10 +52,6 @@ return new HotSpotCodeCacheProvider(runtime, runtime.getConfig(), target, regConfig); } - protected SPARCHotSpotBackend createBackend(HotSpotGraalRuntimeProvider runtime, HotSpotProviders providers) { - return new SPARCHotSpotBackend(runtime, providers); - } - protected EnumSet<CPUFeature> computeFeatures(HotSpotVMConfig config) { EnumSet<CPUFeature> features = EnumSet.noneOf(CPUFeature.class); if ((config.sparcFeatures & config.vis1Instructions) != 0) { @@ -80,13 +73,9 @@ return "SPARC"; } - public String getGraalRuntimeName() { - return "basic"; - } - @Override public String toString() { - return getGraalRuntimeName() + ":" + getArchitecture(); + return getJVMCIRuntimeName() + ":" + getArchitecture(); } public JVMCIBackend createJVMCIBackend(HotSpotJVMCIRuntimeProvider runtime, JVMCIBackend host) {