Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/NodeParser.java @ 16822:84f1c44b5e9b
Truffle-DSL: fixed resolve of executeWith.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 13 Aug 2014 18:06:26 +0200 |
parents | 0370880ac9ce |
children | c3c07046a74b |
comparison
equal
deleted
inserted
replaced
16821:224a89858453 | 16822:84f1c44b5e9b |
---|---|
143 NodeData node = parseNodeData(templateType, elements, lookupTypes); | 143 NodeData node = parseNodeData(templateType, elements, lookupTypes); |
144 if (node.hasErrors()) { | 144 if (node.hasErrors()) { |
145 return node; // error sync point | 145 return node; // error sync point |
146 } | 146 } |
147 | 147 |
148 node.setExecutableTypes(groupExecutableTypes(new ExecutableTypeMethodParser(context, node).parse(elements))); | |
148 initializeChildren(node); | 149 initializeChildren(node); |
149 node.setExecutableTypes(groupExecutableTypes(new ExecutableTypeMethodParser(context, node).parse(elements))); | |
150 | 150 |
151 node.getSpecializations().addAll(new SpecializationMethodParser(context, node).parse(elements)); | 151 node.getSpecializations().addAll(new SpecializationMethodParser(context, node).parse(elements)); |
152 node.getSpecializations().addAll(new GenericParser(context, node).parse(elements)); | 152 node.getSpecializations().addAll(new GenericParser(context, node).parse(elements)); |
153 node.getCasts().addAll(new CreateCastParser(context, node).parse(elements)); | 153 node.getCasts().addAll(new CreateCastParser(context, node).parse(elements)); |
154 node.getShortCircuits().addAll(new ShortCircuitParser(context, node).parse(elements)); | 154 node.getShortCircuits().addAll(new ShortCircuitParser(context, node).parse(elements)); |