Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/DSLExpression.java @ 19294:b31b2f289e7d
Truffle-DSL: fix unnecessary frame cast warning.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 11 Feb 2015 16:10:45 +0100 |
parents | 62c43fcf5be2 |
children | 35c3e3af8c39 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/DSLExpression.java Wed Feb 11 12:13:44 2015 +0100 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/expression/DSLExpression.java Wed Feb 11 16:10:45 2015 +0100 @@ -29,6 +29,8 @@ public abstract class DSLExpression { + private TypeMirror resolvedTargetType; + private DSLExpression() { } @@ -66,6 +68,14 @@ return variables; } + public void setResolvedTargetType(TypeMirror resolvedTargetType) { + this.resolvedTargetType = resolvedTargetType; + } + + public TypeMirror getResolvedTargetType() { + return resolvedTargetType; + } + public final boolean isVariableBound(VariableElement variableElement) { return findBoundVariableElements().contains(variableElement); }