Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/lir/LIRBlock.java @ 2708:4272b7af2d17
merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Wed, 18 May 2011 18:40:58 +0200 |
parents | 7ed72769d51a 42450f536d24 |
children | c1ce2a53d6c3 |
comparison
equal
deleted
inserted
replaced
2707:7ed72769d51a | 2708:4272b7af2d17 |
---|---|
30 * The {@code LIRBlock} class definition. | 30 * The {@code LIRBlock} class definition. |
31 */ | 31 */ |
32 public final class LIRBlock { | 32 public final class LIRBlock { |
33 | 33 |
34 public LIRBlock() { | 34 public LIRBlock() { |
35 loopIndex = -1; | |
35 } | 36 } |
36 | 37 |
37 public final Label label = new Label(); | 38 public final Label label = new Label(); |
38 private LIRList lir; | 39 private LIRList lir; |
39 | 40 |
64 * Bit map specifying which {@linkplain OperandPool operands} are defined/overwritten in this block. | 65 * Bit map specifying which {@linkplain OperandPool operands} are defined/overwritten in this block. |
65 * The bit index of an operand is its {@linkplain OperandPool#operandNumber(com.sun.cri.ci.CiValue) operand number}. | 66 * The bit index of an operand is its {@linkplain OperandPool#operandNumber(com.sun.cri.ci.CiValue) operand number}. |
66 */ | 67 */ |
67 public CiBitMap liveKill; | 68 public CiBitMap liveKill; |
68 | 69 |
69 public int firstLirInstructionID; | 70 private int firstLirInstructionID; |
70 public int lastLirInstructionID; | 71 private int lastLirInstructionID; |
71 public int blockEntryPco; | 72 public int blockEntryPco; |
73 | |
74 public int firstLirInstructionId() { | |
75 return firstLirInstructionID; | |
76 } | |
77 | |
78 public void setFirstLirInstructionId(int firstLirInstructionId) { | |
79 this.firstLirInstructionID = firstLirInstructionId; | |
80 } | |
81 | |
82 public int lastLirInstructionId() { | |
83 return lastLirInstructionID; | |
84 } | |
85 | |
86 public void setLastLirInstructionId(int lastLirInstructionId) { | |
87 this.lastLirInstructionID = lastLirInstructionId; | |
88 } | |
89 | |
90 public int loopDepth; | |
91 public int loopIndex; | |
72 | 92 |
73 public LIRList lir() { | 93 public LIRList lir() { |
74 return lir; | 94 return lir; |
75 } | 95 } |
76 | 96 |