Mercurial > hg > truffle
comparison graal/com.oracle.max.asmdis/src/com/sun/max/asm/Assembler.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 |
---|---|
29 import com.sun.max.program.*; | 29 import com.sun.max.program.*; |
30 | 30 |
31 /** | 31 /** |
32 * Assembler base class. | 32 * Assembler base class. |
33 */ | 33 */ |
34 @SuppressWarnings("unused") | |
34 public abstract class Assembler { | 35 public abstract class Assembler { |
35 | 36 |
36 private final Directives directives; | 37 private final Directives directives; |
37 | 38 |
38 protected Assembler(byte byteData, boolean isValidCode) { | 39 protected Assembler(byte byteData, boolean isValidCode) { |
274 public final void bindLabel(Label label) { | 275 public final void bindLabel(Label label) { |
275 label.bind(currentPosition()); | 276 label.bind(currentPosition()); |
276 boundLabels.add(label); | 277 boundLabels.add(label); |
277 } | 278 } |
278 | 279 |
279 private final List<AssembledObject> assembledObjects = new LinkedList<AssembledObject>(); | 280 private final List<AssembledObject> assembledObjects = new LinkedList<>(); |
280 private final List<MutableAssembledObject> mutableAssembledObjects = new LinkedList<MutableAssembledObject>(); | 281 private final List<MutableAssembledObject> mutableAssembledObjects = new LinkedList<>(); |
281 | 282 |
282 private int potentialExpansionSize; | 283 private int potentialExpansionSize; |
283 | 284 |
284 /** | 285 /** |
285 * Adds the description of an instruction that is fixed in size. | 286 * Adds the description of an instruction that is fixed in size. |