comparison graal/com.oracle.max.cri/src/com/sun/cri/bytecode/BytecodeSwitch.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
125 */ 125 */
126 public abstract int size(); 126 public abstract int size();
127 127
128 /** 128 /**
129 * Reads the signed value at given bytecode index. 129 * Reads the signed value at given bytecode index.
130 * @param bci the start index of the value to retrieve 130 * @param readBci the start index of the value to retrieve
131 * @return the signed, 4-byte value in the bytecode array starting at {@code bci} 131 * @return the signed, 4-byte value in the bytecode array starting at {@code bci}
132 */ 132 */
133 protected int readWord(int bci) { 133 protected int readWord(int readBci) {
134 if (code != null) { 134 if (code != null) {
135 return Bytes.beS4(code, bci); 135 return Bytes.beS4(code, readBci);
136 } 136 }
137 return stream.readInt(bci); 137 return stream.readInt(readBci);
138 } 138 }
139 } 139 }