Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/debug/DynamicCounterNode.java @ 17328:c9bb0da795d4
Backed out of changeset 17322:655f3e6b467b
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 03 Oct 2014 14:19:58 +0200 |
parents | 655f3e6b467b |
children | 45b45f902bed |
comparison
equal
deleted
inserted
replaced
17327:655f3e6b467b | 17328:c9bb0da795d4 |
---|---|
38 @NodeInfo | 38 @NodeInfo |
39 public class DynamicCounterNode extends FixedWithNextNode implements Lowerable { | 39 public class DynamicCounterNode extends FixedWithNextNode implements Lowerable { |
40 | 40 |
41 @Input ValueNode increment; | 41 @Input ValueNode increment; |
42 | 42 |
43 protected String name; | 43 protected final String name; |
44 protected String group; | 44 protected final String group; |
45 protected boolean withContext; | 45 protected final boolean withContext; |
46 | 46 |
47 public static DynamicCounterNode create(String name, String group, ValueNode increment, boolean withContext) { | 47 public static DynamicCounterNode create(String name, String group, ValueNode increment, boolean withContext) { |
48 return USE_GENERATED_NODES ? new DynamicCounterNodeGen(name, group, increment, withContext) : new DynamicCounterNode(name, group, increment, withContext); | 48 return USE_GENERATED_NODES ? new DynamicCounterNodeGen(name, group, increment, withContext) : new DynamicCounterNode(name, group, increment, withContext); |
49 } | 49 } |
50 | 50 |