Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot.aarch64/src/jdk/vm/ci/hotspot/aarch64/AArch64HotSpotRegisterConfig.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 |
---|---|
193 public boolean areAllAllocatableRegistersCallerSaved() { | 193 public boolean areAllAllocatableRegistersCallerSaved() { |
194 return allAllocatableAreCallerSaved; | 194 return allAllocatableAreCallerSaved; |
195 } | 195 } |
196 | 196 |
197 @Override | 197 @Override |
198 public Register getRegisterForRole(int index) { | |
199 throw new UnsupportedOperationException(); | |
200 } | |
201 | |
202 @Override | |
203 public CallingConvention getCallingConvention(Type type, JavaType returnType, JavaType[] parameterTypes, TargetDescription target) { | 198 public CallingConvention getCallingConvention(Type type, JavaType returnType, JavaType[] parameterTypes, TargetDescription target) { |
204 HotSpotCallingConventionType hotspotType = (HotSpotCallingConventionType) type; | 199 HotSpotCallingConventionType hotspotType = (HotSpotCallingConventionType) type; |
205 if (type == HotSpotCallingConventionType.NativeCall) { | 200 if (type == HotSpotCallingConventionType.NativeCall) { |
206 return callingConvention(nativeGeneralParameterRegisters, returnType, parameterTypes, hotspotType, target); | 201 return callingConvention(nativeGeneralParameterRegisters, returnType, parameterTypes, hotspotType, target); |
207 } | 202 } |