Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeData.java @ 8237:6b74ffe38183
Implemented support for executing nodes in @Children fields.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 01 Mar 2013 17:03:57 +0100 |
parents | 6e4fb0ccebb1 |
children | ac4e8c16ffdf |
comparison
equal
deleted
inserted
replaced
7860:dbbdc0a30a16 | 8237:6b74ffe38183 |
---|---|
69 noSpecialization = noSpecialization && specialization.isGeneric() || specialization.isUninitialized(); | 69 noSpecialization = noSpecialization && specialization.isGeneric() || specialization.isUninitialized(); |
70 } | 70 } |
71 return !noSpecialization; | 71 return !noSpecialization; |
72 } | 72 } |
73 | 73 |
74 public boolean supportsFrame() { | |
75 for (ExecutableTypeData execType : executableTypes) { | |
76 if (execType.findParameter("frameValue") == null) { | |
77 return false; | |
78 } | |
79 } | |
80 return true; | |
81 } | |
82 | |
74 public List<NodeData> getNodeChildren() { | 83 public List<NodeData> getNodeChildren() { |
75 List<NodeData> children = new ArrayList<>(); | 84 List<NodeData> children = new ArrayList<>(); |
76 for (NodeData child : getDeclaredChildren()) { | 85 for (NodeData child : getDeclaredChildren()) { |
77 if (child.needsFactory()) { | 86 if (child.needsFactory()) { |
78 children.add(child); | 87 children.add(child); |