Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/RegisterFinalizer.java @ 2622:91d3952f7eb7
Framestate work : using stateAFter and reducting the number of nodes with framestates. Intermediate state (does not pass tests)
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Tue, 10 May 2011 12:37:46 +0200 |
parents | f1bc67c2d453 |
children | 569228710be8 |
comparison
equal
deleted
inserted
replaced
2621:dd115f80acf8 | 2622:91d3952f7eb7 |
---|---|
56 | 56 |
57 public Value setObject(Value n) { | 57 public Value setObject(Value n) { |
58 return (Value) inputs().set(super.inputCount() + INPUT_OBJECT, n); | 58 return (Value) inputs().set(super.inputCount() + INPUT_OBJECT, n); |
59 } | 59 } |
60 | 60 |
61 public RegisterFinalizer(Value object, FrameState stateBefore, Graph graph) { | 61 public RegisterFinalizer(Value object, FrameState stateAfter, Graph graph) { |
62 super(CiKind.Void, stateBefore, INPUT_COUNT, SUCCESSOR_COUNT, graph); | 62 super(CiKind.Void, stateAfter, INPUT_COUNT, SUCCESSOR_COUNT, graph); |
63 setObject(object); | 63 setObject(object); |
64 } | 64 } |
65 | 65 |
66 @Override | 66 @Override |
67 public void accept(ValueVisitor v) { | 67 public void accept(ValueVisitor v) { |