Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/ShortCircuitData.java @ 8310:89006c76f737
Final fields of base node can be optionally passed to builtin specialization method. And a few fixes.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 15 Mar 2013 21:18:33 +0100 |
parents | 6b74ffe38183 |
children | 61ba6fc21ba4 |
comparison
equal
deleted
inserted
replaced
8280:2ddf84436009 | 8310:89006c76f737 |
---|---|
59 if (isGeneric() && specialization.isGeneric()) { | 59 if (isGeneric() && specialization.isGeneric()) { |
60 return true; | 60 return true; |
61 } | 61 } |
62 | 62 |
63 for (ActualParameter param : getParameters()) { | 63 for (ActualParameter param : getParameters()) { |
64 ActualParameter specializationParam = specialization.findParameter(param.getName()); | 64 ActualParameter specializationParam = specialization.findParameter(param.getLocalName()); |
65 if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { | 65 if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { |
66 return false; | 66 return false; |
67 } | 67 } |
68 } | 68 } |
69 return true; | 69 return true; |