comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/HotSpotDirectCallTargetNode.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 06c15e88d383
children 77981382473e
comparison
equal deleted inserted replaced
16918:b03a16cc5245 16919:0fe4732e5181
31 import com.oracle.graal.nodes.*; 31 import com.oracle.graal.nodes.*;
32 32
33 @NodeInfo 33 @NodeInfo
34 public class HotSpotDirectCallTargetNode extends DirectCallTargetNode { 34 public class HotSpotDirectCallTargetNode extends DirectCallTargetNode {
35 public static HotSpotDirectCallTargetNode create(List<ValueNode> arguments, Stamp returnStamp, JavaType[] signature, ResolvedJavaMethod target, Type callType, InvokeKind invokeKind) { 35 public static HotSpotDirectCallTargetNode create(List<ValueNode> arguments, Stamp returnStamp, JavaType[] signature, ResolvedJavaMethod target, Type callType, InvokeKind invokeKind) {
36 return new HotSpotDirectCallTargetNodeGen(arguments, returnStamp, signature, target, callType, invokeKind); 36 return USE_GENERATED_NODES ? new HotSpotDirectCallTargetNodeGen(arguments, returnStamp, signature, target, callType, invokeKind) : new HotSpotDirectCallTargetNode(arguments, returnStamp, signature, target, callType, invokeKind);
37 } 37 }
38 38
39 protected HotSpotDirectCallTargetNode(List<ValueNode> arguments, Stamp returnStamp, JavaType[] signature, ResolvedJavaMethod target, Type callType, InvokeKind invokeKind) { 39 protected HotSpotDirectCallTargetNode(List<ValueNode> arguments, Stamp returnStamp, JavaType[] signature, ResolvedJavaMethod target, Type callType, InvokeKind invokeKind) {
40 super(arguments, returnStamp, signature, target, callType, invokeKind); 40 super(arguments, returnStamp, signature, target, callType, invokeKind);
41 } 41 }