Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/typesystem/TypeCheckParser.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 | 5e3d1a68664e |
children | 703c09f8640c |
comparison
equal
deleted
inserted
replaced
7860:dbbdc0a30a16 | 8237:6b74ffe38183 |
---|---|
53 | 53 |
54 @Override | 54 @Override |
55 public TypeCheckData create(TemplateMethod method) { | 55 public TypeCheckData create(TemplateMethod method) { |
56 TypeData checkedType = findTypeByMethodName(method.getMethod(), method.getMarkerAnnotation(), "is"); | 56 TypeData checkedType = findTypeByMethodName(method.getMethod(), method.getMarkerAnnotation(), "is"); |
57 assert checkedType != null; | 57 assert checkedType != null; |
58 ActualParameter parameter = method.findParameter("value"); | 58 ActualParameter parameter = method.findParameter("valueValue"); |
59 assert parameter != null; | 59 assert parameter != null; |
60 return new TypeCheckData(method, checkedType, parameter.getActualTypeData(getTypeSystem())); | 60 return new TypeCheckData(method, checkedType, parameter.getActualTypeData(getTypeSystem())); |
61 } | 61 } |
62 | 62 |
63 @Override | 63 @Override |