Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/ShortCircuitData.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 |
comparison
equal
deleted
inserted
replaced
18760:6fa3999631d8 | 18761:a665483c3881 |
---|---|
53 return genericShortCircuitMethod; | 53 return genericShortCircuitMethod; |
54 } | 54 } |
55 } | 55 } |
56 | 56 |
57 public boolean isCompatibleTo(SpecializationData specialization) { | 57 public boolean isCompatibleTo(SpecializationData specialization) { |
58 if (isGeneric() && specialization.isGeneric()) { | 58 if (isGeneric() && specialization.isFallback()) { |
59 return true; | 59 return true; |
60 } | 60 } |
61 | 61 |
62 for (Parameter param : getParameters()) { | 62 for (Parameter param : getParameters()) { |
63 Parameter specializationParam = specialization.findParameter(param.getLocalName()); | 63 Parameter specializationParam = specialization.findParameter(param.getLocalName()); |