comparison graal/com.oracle.max.cri/src/com/sun/cri/ci/CiCalleeSaveLayout.java @ 4142:bc8527f3071c

Adjust code base to new level of warnings.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 18 Dec 2011 05:24:06 +0100
parents e233f5660da4
children
comparison
equal deleted inserted replaced
4141:04d21be7a24f 4142:bc8527f3071c
92 this.size = offset; 92 this.size = offset;
93 } else { 93 } else {
94 assert offset <= size; 94 assert offset <= size;
95 this.size = size; 95 this.size = size;
96 } 96 }
97 size = this.size;
98 97
99 this.regNumToIndex = new int[maxRegNum + 1]; 98 this.regNumToIndex = new int[maxRegNum + 1];
100 this.indexToReg = offset == 0 ? new CiRegister[0] : new CiRegister[offset / slotSize]; 99 this.indexToReg = offset == 0 ? new CiRegister[0] : new CiRegister[offset / slotSize];
101 Arrays.fill(regNumToIndex, -1); 100 Arrays.fill(regNumToIndex, -1);
102 offset = 0; 101 offset = 0;