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