Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/MonitorIdNode.java @ 18845:f57d86eb036f
removed Node factory methods
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Jan 2015 20:39:04 +0100 |
parents | 45b45f902bed |
children | 7e2c87dae93e |
comparison
equal
deleted
inserted
replaced
18843:f2261069ba99 | 18845:f57d86eb036f |
---|---|
36 @NodeInfo(allowedUsageTypes = {InputType.Association}) | 36 @NodeInfo(allowedUsageTypes = {InputType.Association}) |
37 public class MonitorIdNode extends ValueNode implements IterableNodeType, LIRLowerable { | 37 public class MonitorIdNode extends ValueNode implements IterableNodeType, LIRLowerable { |
38 | 38 |
39 protected int lockDepth; | 39 protected int lockDepth; |
40 | 40 |
41 public static MonitorIdNode create(int lockDepth) { | 41 public MonitorIdNode(int lockDepth) { |
42 return new MonitorIdNode(lockDepth); | |
43 } | |
44 | |
45 protected MonitorIdNode(int lockDepth) { | |
46 super(StampFactory.forVoid()); | 42 super(StampFactory.forVoid()); |
47 this.lockDepth = lockDepth; | 43 this.lockDepth = lockDepth; |
48 } | 44 } |
49 | 45 |
50 public int getLockDepth() { | 46 public int getLockDepth() { |