comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/LoadMethodNode.java @ 18845:f57d86eb036f

removed Node factory methods
author Doug Simon <doug.simon@oracle.com>
date Mon, 12 Jan 2015 20:39:04 +0100
parents 5a21cac1968f
children 8ab925a6f724
comparison
equal deleted inserted replaced
18843:f2261069ba99 18845:f57d86eb036f
43 43
44 public ValueNode getHub() { 44 public ValueNode getHub() {
45 return hub; 45 return hub;
46 } 46 }
47 47
48 public static LoadMethodNode create(@InjectedNodeParameter Stamp stamp, ResolvedJavaMethod method, ResolvedJavaType receiverType, ValueNode hub) { 48 public LoadMethodNode(@InjectedNodeParameter Stamp stamp, ResolvedJavaMethod method, ResolvedJavaType receiverType, ValueNode hub) {
49 return new LoadMethodNode(stamp, method, receiverType, hub);
50 }
51
52 protected LoadMethodNode(Stamp stamp, ResolvedJavaMethod method, ResolvedJavaType receiverType, ValueNode hub) {
53 super(stamp); 49 super(stamp);
54 this.receiverType = receiverType; 50 this.receiverType = receiverType;
55 this.hub = hub; 51 this.hub = hub;
56 this.method = method; 52 this.method = method;
57 assert method.isConcrete() : "Cannot load abstract method from a hub"; 53 assert method.isConcrete() : "Cannot load abstract method from a hub";