Mercurial > hg > truffle
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/node/SpecializationData.java @ 12399:980db6c0bcd3
Truffle-DSL: fixed invalid @SlowPath on generic execute methods. (GRAAL-490 #resolve)
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 14 Oct 2013 13:25:25 +0200 |
parents | 8e8347ecabbc |
children | 2b9fcffd6f36 |
comparison
equal
deleted
inserted
replaced
12398:c78612fb0120 | 12399:980db6c0bcd3 |
---|---|
270 if (assumptions.equals(specialization.getAssumptions()) && guards.equals(specialization.getGuards()) && getSignature().equalsParameters(specialization.getSignature())) { | 270 if (assumptions.equals(specialization.getAssumptions()) && guards.equals(specialization.getGuards()) && getSignature().equalsParameters(specialization.getSignature())) { |
271 return true; | 271 return true; |
272 } | 272 } |
273 return false; | 273 return false; |
274 } | 274 } |
275 | |
276 public boolean hasFrame(ProcessorContext context) { | |
277 for (ActualParameter param : getParameters()) { | |
278 if (Utils.typeEquals(param.getType(), context.getTruffleTypes().getFrame())) { | |
279 return true; | |
280 } | |
281 } | |
282 return false; | |
283 } | |
275 } | 284 } |