Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/StateSplit.java @ 2600:f1bc67c2d453
new node layout: TypeCheck, RegisterFinalizer, Invoke, NewArray, NullCheck
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 05 May 2011 16:32:20 +0200 |
parents | 092e628ddd5d |
children | 39aa89baa165 |
comparison
equal
deleted
inserted
replaced
2596:1c36b17f7ee0 | 2600:f1bc67c2d453 |
---|---|
52 public StateSplit(CiKind kind, FrameState stateBefore, int inputCount, int successorCount, Graph graph) { | 52 public StateSplit(CiKind kind, FrameState stateBefore, int inputCount, int successorCount, Graph graph) { |
53 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); | 53 super(kind, inputCount + INPUT_COUNT, successorCount + SUCCESSOR_COUNT, graph); |
54 this.stateBefore = stateBefore; | 54 this.stateBefore = stateBefore; |
55 } | 55 } |
56 | 56 |
57 public StateSplit(CiKind kind, FrameState stateBefore) { | |
58 this(kind, stateBefore, 0, 0, null); | |
59 } | |
60 | |
61 @Override | 57 @Override |
62 public boolean canTrap() { | 58 public boolean canTrap() { |
63 return stateBefore != null; | 59 return stateBefore != null; |
64 } | 60 } |
65 | 61 |