Mercurial > hg > truffle
diff graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/risc/RiscAssemblerGenerator.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 |
line wrap: on
line diff
--- a/graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/risc/RiscAssemblerGenerator.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/risc/RiscAssemblerGenerator.java Sun Dec 18 05:24:06 2011 +0100 @@ -43,7 +43,7 @@ super(assembly, false); } - private String encode(OperandField operandField, String val) { + private static String encode(OperandField operandField, String val) { String value = val; // Convert the argument value to the operand value if (operandField.zeroes() != 0) { @@ -129,7 +129,7 @@ * @param rawOperand * a parameter of {@code rawTemplate} */ - private String getRawOperandReplacement(RiscTemplate syntheticTemplate, RiscTemplate rawTemplate, OperandField rawOperand, boolean forLabelAssemblerMethod) { + private static String getRawOperandReplacement(RiscTemplate syntheticTemplate, RiscTemplate rawTemplate, OperandField rawOperand, boolean forLabelAssemblerMethod) { if (Utils.indexOfIdentical(syntheticTemplate.operandFields(), rawOperand) != -1) { if (rawOperand instanceof OffsetParameter && forLabelAssemblerMethod) { return LABEL.variableName();