Mercurial > hg > truffle
comparison graal/com.oracle.graal.lir/src/com/oracle/graal/lir/FullInfopointOp.java @ 19526:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 35481bcb5882 |
children | 48c1ebd24120 |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
27 | 27 |
28 /** | 28 /** |
29 * Emits an infopoint (only mark the position). | 29 * Emits an infopoint (only mark the position). |
30 */ | 30 */ |
31 @Opcode("INFOPOINT") | 31 @Opcode("INFOPOINT") |
32 public class FullInfopointOp extends LIRInstruction { | 32 public final class FullInfopointOp extends LIRInstruction { |
33 public static final LIRInstructionClass<FullInfopointOp> TYPE = LIRInstructionClass.create(FullInfopointOp.class); | |
33 | 34 |
34 @State protected LIRFrameState state; | 35 @State protected LIRFrameState state; |
35 | 36 |
36 private final InfopointReason reason; | 37 private final InfopointReason reason; |
37 | 38 |
38 public FullInfopointOp(LIRFrameState state, InfopointReason reason) { | 39 public FullInfopointOp(LIRFrameState state, InfopointReason reason) { |
40 super(TYPE); | |
39 this.state = state; | 41 this.state = state; |
40 this.reason = reason; | 42 this.reason = reason; |
41 } | 43 } |
42 | 44 |
43 @Override | 45 @Override |