Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/CreateCastParser.java @ 16820:0370880ac9ce
Truffle-DSL: better caching for type checks.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Wed, 13 Aug 2014 18:06:26 +0200 |
parents | 23415229349b |
children | 62c43fcf5be2 |
comparison
equal
deleted
inserted
replaced
16819:8d374faacb7e | 16820:0370880ac9ce |
---|---|
97 } | 97 } |
98 | 98 |
99 private static class InheritsParameterSpec extends ParameterSpec { | 99 private static class InheritsParameterSpec extends ParameterSpec { |
100 | 100 |
101 public InheritsParameterSpec(String name, TypeMirror... allowedTypes) { | 101 public InheritsParameterSpec(String name, TypeMirror... allowedTypes) { |
102 super(name, Arrays.asList(allowedTypes)); | 102 super(name, Arrays.asList(allowedTypes), null); |
103 } | 103 } |
104 | 104 |
105 @Override | 105 @Override |
106 public boolean matches(TypeMirror actualType) { | 106 public boolean matches(TypeMirror actualType) { |
107 boolean found = false; | 107 boolean found = false; |