Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/TruffleProcessor.java @ 18761:a665483c3881
Truffle-DSL: new node layout implementation.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 29 Dec 2014 23:38:54 +0100 |
parents | 23415229349b |
children | 0a843d5a6ea5 |
comparison
equal
deleted
inserted
replaced
18760:6fa3999631d8 | 18761:a665483c3881 |
---|---|
91 handleThrowable(generator, e1, e); | 91 handleThrowable(generator, e1, e); |
92 } | 92 } |
93 } | 93 } |
94 | 94 |
95 private static void handleThrowable(AnnotationProcessor<?> generator, Throwable t, Element e) { | 95 private static void handleThrowable(AnnotationProcessor<?> generator, Throwable t, Element e) { |
96 String message = "Uncaught error in " + generator.getClass().getSimpleName() + " while processing " + e; | 96 String message = "Uncaught error in " + generator.getClass().getSimpleName() + " while processing " + e + " "; |
97 ProcessorContext.getInstance().getEnvironment().getMessager().printMessage(Kind.ERROR, message + ": " + ElementUtils.printException(t), e); | 97 ProcessorContext.getInstance().getEnvironment().getMessager().printMessage(Kind.ERROR, message + ": " + ElementUtils.printException(t), e); |
98 } | 98 } |
99 | 99 |
100 @Override | 100 @Override |
101 public void callback(TypeElement template) { | 101 public void callback(TypeElement template) { |