Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/typesystem/TypeSystemMethodParser.java @ 9217:61ba6fc21ba4
Sourcegen can now generate execute methods of signature execute(frame, evaluatedValue).
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 15 Apr 2013 18:50:19 +0200 |
parents | 0905d796944a |
children |
comparison
equal
deleted
inserted
replaced
9216:8b9ea2f5c36e | 9217:61ba6fc21ba4 |
---|---|
32 | 32 |
33 public TypeSystemMethodParser(ProcessorContext context, TypeSystemData typeSystem) { | 33 public TypeSystemMethodParser(ProcessorContext context, TypeSystemData typeSystem) { |
34 super(context, typeSystem); | 34 super(context, typeSystem); |
35 } | 35 } |
36 | 36 |
37 public TypeSystemData getTypeSystem() { | |
38 return template; | |
39 } | |
40 | |
41 @Override | 37 @Override |
42 public final boolean isParsable(ExecutableElement method) { | 38 public final boolean isParsable(ExecutableElement method) { |
43 return Utils.findAnnotationMirror(getContext().getEnvironment(), method, getAnnotationType()) != null; | 39 return Utils.findAnnotationMirror(getContext().getEnvironment(), method, getAnnotationType()) != null; |
44 } | 40 } |
45 | 41 |