comparison jvmci/jdk.vm.ci.hotspot.sparc/src/jdk/vm/ci/hotspot/sparc/SPARCHotSpotRegisterConfig.java @ 23393:1d4ce2d19e52

clean up and minimize JVMCI (JDK-8156835)
author Doug Simon <doug.simon@oracle.com>
date Thu, 12 May 2016 20:57:31 +0200
parents b3a816d3b844
children 9ed5b586018b
comparison
equal deleted inserted replaced
23392:b3a816d3b844 23393:1d4ce2d19e52
196 public boolean areAllAllocatableRegistersCallerSaved() { 196 public boolean areAllAllocatableRegistersCallerSaved() {
197 return false; 197 return false;
198 } 198 }
199 199
200 @Override 200 @Override
201 public Register getRegisterForRole(int index) {
202 throw new UnsupportedOperationException();
203 }
204
205 @Override
206 public CallingConvention getCallingConvention(Type type, JavaType returnType, JavaType[] parameterTypes, TargetDescription target) { 201 public CallingConvention getCallingConvention(Type type, JavaType returnType, JavaType[] parameterTypes, TargetDescription target) {
207 HotSpotCallingConventionType hotspotType = (HotSpotCallingConventionType) type; 202 HotSpotCallingConventionType hotspotType = (HotSpotCallingConventionType) type;
208 if (type == HotSpotCallingConventionType.JavaCall || type == HotSpotCallingConventionType.NativeCall) { 203 if (type == HotSpotCallingConventionType.JavaCall || type == HotSpotCallingConventionType.NativeCall) {
209 return callingConvention(cpuCallerParameterRegisters, returnType, parameterTypes, hotspotType, target); 204 return callingConvention(cpuCallerParameterRegisters, returnType, parameterTypes, hotspotType, target);
210 } 205 }