Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/ShortCircuitData.java @ 8237:6b74ffe38183
Implemented support for executing nodes in @Children fields.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 01 Mar 2013 17:03:57 +0100 |
parents | 5e3d1a68664e |
children | 89006c76f737 |
comparison
equal
deleted
inserted
replaced
7860:dbbdc0a30a16 | 8237:6b74ffe38183 |
---|---|
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 ParameterSpec paramSpec = param.getSpecification(); | 64 ActualParameter specializationParam = specialization.findParameter(param.getName()); |
65 ActualParameter specializationParam = specialization.findParameter(paramSpec.getName()); | |
66 if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { | 65 if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { |
67 return false; | 66 return false; |
68 } | 67 } |
69 } | 68 } |
70 return true; | 69 return true; |