Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/debug/DynamicCounterNode.java @ 17450:45b45f902bed
removed Node generation (GRAAL-857)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 15 Oct 2014 15:35:33 +0200 |
parents | c9bb0da795d4 |
children | f57d86eb036f |
comparison
equal
deleted
inserted
replaced
17449:cca154b1bf91 | 17450:45b45f902bed |
---|---|
43 protected final String name; | 43 protected final String name; |
44 protected final String group; | 44 protected final String group; |
45 protected final 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 new DynamicCounterNode(name, group, increment, withContext); |
49 } | 49 } |
50 | 50 |
51 protected DynamicCounterNode(String name, String group, ValueNode increment, boolean withContext) { | 51 protected DynamicCounterNode(String name, String group, ValueNode increment, boolean withContext) { |
52 super(StampFactory.forVoid()); | 52 super(StampFactory.forVoid()); |
53 this.name = name; | 53 this.name = name; |