comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/NewArrayStubCall.java @ 16919:0fe4732e5181

made use of generated Node classes predicated on value of graal.useGeneratedNodes system property (default is false)
author Doug Simon <doug.simon@oracle.com>
date Mon, 25 Aug 2014 13:45:12 +0200
parents f90dcdbbb75e
children 45b45f902bed
comparison
equal deleted inserted replaced
16918:b03a16cc5245 16919:0fe4732e5181
44 44
45 @Input ValueNode hub; 45 @Input ValueNode hub;
46 @Input ValueNode length; 46 @Input ValueNode length;
47 47
48 public static NewArrayStubCall create(ValueNode hub, ValueNode length) { 48 public static NewArrayStubCall create(ValueNode hub, ValueNode length) {
49 return new NewArrayStubCallGen(hub, length); 49 return USE_GENERATED_NODES ? new NewArrayStubCallGen(hub, length) : new NewArrayStubCall(hub, length);
50 } 50 }
51 51
52 protected NewArrayStubCall(ValueNode hub, ValueNode length) { 52 protected NewArrayStubCall(ValueNode hub, ValueNode length) {
53 super(defaultStamp); 53 super(defaultStamp);
54 this.hub = hub; 54 this.hub = hub;