comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeData.java @ 8248:c4c3f50fa9c2

Fixes for codegen builtins support.
author Christian Humer <christian.humer@gmail.com>
date Tue, 12 Mar 2013 11:37:32 +0100
parents 703c09f8640c
children cb70ed101b5f
comparison
equal deleted inserted replaced
8247:5b08b0f4d338 8248:c4c3f50fa9c2
49 private List<GuardData> guards; 49 private List<GuardData> guards;
50 private List<ExecutableTypeData> executableTypes; 50 private List<ExecutableTypeData> executableTypes;
51 private List<ShortCircuitData> shortCircuits; 51 private List<ShortCircuitData> shortCircuits;
52 52
53 public NodeData(TypeElement type, TypeSystemData typeSystem, String id) { 53 public NodeData(TypeElement type, TypeSystemData typeSystem, String id) {
54 super(type, null); 54 super(type, null, null);
55 this.nodeId = id; 55 this.nodeId = id;
56 this.typeSystem = typeSystem; 56 this.typeSystem = typeSystem;
57 } 57 }
58 58
59 public NodeData(NodeData copy, String nodeId) { 59 public NodeData(NodeData copy, String templateMethodName, String nodeId) {
60 super(copy.getTemplateType(), null); 60 super(copy.getTemplateType(), templateMethodName, null);
61 this.nodeId = nodeId; 61 this.nodeId = nodeId;
62 this.declaringNode = copy.declaringNode; 62 this.declaringNode = copy.declaringNode;
63 this.declaredChildren = copy.declaredChildren; 63 this.declaredChildren = copy.declaredChildren;
64 this.typeSystem = copy.typeSystem; 64 this.typeSystem = copy.typeSystem;
65 this.nodeType = copy.nodeType; 65 this.nodeType = copy.nodeType;