comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/gen/InstructionDescription.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
73 /** 73 /**
74 * @return the {@link InstructionConstraint} instances (if any) within this description 74 * @return the {@link InstructionConstraint} instances (if any) within this description
75 */ 75 */
76 public List<InstructionConstraint> constraints() { 76 public List<InstructionConstraint> constraints() {
77 if (constraints == null) { 77 if (constraints == null) {
78 constraints = new ArrayList<InstructionConstraint>(specifications.size()); 78 constraints = new ArrayList<>(specifications.size());
79 for (Object s : specifications) { 79 for (Object s : specifications) {
80 if (s instanceof InstructionConstraint) { 80 if (s instanceof InstructionConstraint) {
81 constraints.add((InstructionConstraint) s); 81 constraints.add((InstructionConstraint) s);
82 } 82 }
83 } 83 }