Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeData.java @ 9216:8b9ea2f5c36e
Removed guards from NodeData.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 08 Apr 2013 18:28:41 +0200 |
parents | 8a1115c92271 |
children | 61ba6fc21ba4 |
comparison
equal
deleted
inserted
replaced
9215:bd067a48a9c2 | 9216:8b9ea2f5c36e |
---|---|
44 private TypeMirror nodeType; | 44 private TypeMirror nodeType; |
45 private ParameterSpec instanceParameterSpec; | 45 private ParameterSpec instanceParameterSpec; |
46 | 46 |
47 private List<SpecializationData> specializations; | 47 private List<SpecializationData> specializations; |
48 private List<SpecializationListenerData> specializationListeners; | 48 private List<SpecializationListenerData> specializationListeners; |
49 private List<GuardData> guards; | |
50 private List<ExecutableTypeData> executableTypes; | 49 private List<ExecutableTypeData> executableTypes; |
51 private List<ShortCircuitData> shortCircuits; | 50 private List<ShortCircuitData> shortCircuits; |
52 | 51 |
53 public NodeData(TypeElement type, String id) { | 52 public NodeData(TypeElement type, String id) { |
54 super(type, null, null); | 53 super(type, null, null); |
62 this.declaredChildren = splitSource.declaredChildren; | 61 this.declaredChildren = splitSource.declaredChildren; |
63 this.typeSystem = splitSource.typeSystem; | 62 this.typeSystem = splitSource.typeSystem; |
64 this.nodeType = splitSource.nodeType; | 63 this.nodeType = splitSource.nodeType; |
65 this.specializations = splitSource.specializations; | 64 this.specializations = splitSource.specializations; |
66 this.specializationListeners = splitSource.specializationListeners; | 65 this.specializationListeners = splitSource.specializationListeners; |
67 this.guards = splitSource.guards; | |
68 this.executableTypes = splitSource.executableTypes; | 66 this.executableTypes = splitSource.executableTypes; |
69 this.shortCircuits = splitSource.shortCircuits; | 67 this.shortCircuits = splitSource.shortCircuits; |
70 this.fields = splitSource.fields; | 68 this.fields = splitSource.fields; |
71 } | 69 } |
72 | 70 |
90 } | 88 } |
91 } | 89 } |
92 } | 90 } |
93 if (specializationListeners != null) { | 91 if (specializationListeners != null) { |
94 children.addAll(specializationListeners); | 92 children.addAll(specializationListeners); |
95 } | |
96 if (guards != null) { | |
97 children.addAll(guards); | |
98 } | 93 } |
99 if (executableTypes != null) { | 94 if (executableTypes != null) { |
100 children.addAll(executableTypes); | 95 children.addAll(executableTypes); |
101 } | 96 } |
102 if (shortCircuits != null) { | 97 if (shortCircuits != null) { |
410 | 405 |
411 public List<SpecializationListenerData> getSpecializationListeners() { | 406 public List<SpecializationListenerData> getSpecializationListeners() { |
412 return specializationListeners; | 407 return specializationListeners; |
413 } | 408 } |
414 | 409 |
415 public List<GuardData> getGuards() { | |
416 return guards; | |
417 } | |
418 | |
419 public List<ExecutableTypeData> getExecutableTypes() { | 410 public List<ExecutableTypeData> getExecutableTypes() { |
420 return executableTypes; | 411 return executableTypes; |
421 } | 412 } |
422 | 413 |
423 public List<ShortCircuitData> getShortCircuits() { | 414 public List<ShortCircuitData> getShortCircuits() { |
435 | 426 |
436 void setSpecializationListeners(List<SpecializationListenerData> specializationListeners) { | 427 void setSpecializationListeners(List<SpecializationListenerData> specializationListeners) { |
437 this.specializationListeners = specializationListeners; | 428 this.specializationListeners = specializationListeners; |
438 } | 429 } |
439 | 430 |
440 void setGuards(List<GuardData> guards) { | |
441 this.guards = guards; | |
442 } | |
443 | |
444 void setExecutableTypes(List<ExecutableTypeData> executableTypes) { | 431 void setExecutableTypes(List<ExecutableTypeData> executableTypes) { |
445 this.executableTypes = executableTypes; | 432 this.executableTypes = executableTypes; |
446 } | 433 } |
447 | 434 |
448 void setShortCircuits(List<ShortCircuitData> shortCircuits) { | 435 void setShortCircuits(List<ShortCircuitData> shortCircuits) { |