Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/typesystem/TypeSystemParser.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 | 8e56c6951c86 |
children | 0905d796944a |
comparison
equal
deleted
inserted
replaced
8247:5b08b0f4d338 | 8248:c4c3f50fa9c2 |
---|---|
143 } | 143 } |
144 return valid; | 144 return valid; |
145 } | 145 } |
146 | 146 |
147 private TypeData[] parseTypes(TypeElement templateType, AnnotationMirror templateTypeAnnotation) { | 147 private TypeData[] parseTypes(TypeElement templateType, AnnotationMirror templateTypeAnnotation) { |
148 List<TypeMirror> typeMirrors = Utils.getAnnotationValueList(templateTypeAnnotation, "value"); | 148 List<TypeMirror> typeMirrors = Utils.getAnnotationValueList(TypeMirror.class, templateTypeAnnotation, "value"); |
149 if (typeMirrors.size() == 0) { | 149 if (typeMirrors.size() == 0) { |
150 log.error(templateType, templateTypeAnnotation, "At least one type must be defined."); | 150 log.error(templateType, templateTypeAnnotation, "At least one type must be defined."); |
151 return null; | 151 return null; |
152 } | 152 } |
153 | 153 |