Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/StateSplit.java @ 2628:569228710be8
More FrameState work
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 16:49:50 +0200 |
parents | 91d3952f7eb7 |
children | 4dd0573f510b |
comparison
equal
deleted
inserted
replaced
2623:b129b7da1397 | 2628:569228710be8 |
---|---|
64 * @param kind the type of the value that this instruction produces | 64 * @param kind the type of the value that this instruction produces |
65 * @param inputCount | 65 * @param inputCount |
66 * @param successorCount | 66 * @param successorCount |
67 * @param graph | 67 * @param graph |
68 */ | 68 */ |
69 public StateSplit(CiKind kind, FrameState stateAfter, int inputCount, int successorCount, Graph graph) { | 69 public StateSplit(CiKind kind, int inputCount, int successorCount, Graph graph) { |
70 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 70 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
71 this.setStateAfter(stateAfter); | |
72 } | 71 } |
73 | 72 |
74 @Override | 73 @Override |
75 public boolean canTrap() { | 74 public boolean canTrap() { |
76 return true; | 75 return true; |
77 } | 76 } |
78 | 77 |
78 public boolean needsStateAfter() { | |
79 return true; | |
80 } | |
79 } | 81 } |