Mercurial > hg > truffle
diff c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRegisterConfig.java @ 1473:cb04e4217df0
Sync with CRI/C1X changes.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 30 Nov 2010 15:13:57 +0100 |
parents | ef7761803480 |
children | c0b1d6a44a02 |
line wrap: on
line diff
--- a/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRegisterConfig.java Thu Nov 25 19:21:22 2010 +0100 +++ b/c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRegisterConfig.java Tue Nov 30 15:13:57 2010 +0100 @@ -85,7 +85,7 @@ } if (globalStubConfig) { - registerSaveArea = new CiCalleeSaveArea(-1, rsaRegs, 8); + registerSaveArea = new CiCalleeSaveArea(-1, 8, rsaRegs); } else { registerSaveArea = CiCalleeSaveArea.EMPTY; } @@ -101,7 +101,7 @@ } @Override - public CiRegister getRegister(int index) { + public CiRegister getRegisterForRole(int index) { throw new UnsupportedOperationException(); } @@ -113,7 +113,7 @@ return callingConvention(parameters, type, target); } - public CiRegister[] getCallingConventionRegisters(Type type) { + public CiRegister[] getCallingConventionRegisters(Type type, RegisterFlag flag) { return allParameterRegisters; }