Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/ShortCircuitData.java Thu Mar 14 13:13:59 2013 +0100 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/ShortCircuitData.java Fri Mar 15 21:18:33 2013 +0100 @@ -61,7 +61,7 @@ } for (ActualParameter param : getParameters()) { - ActualParameter specializationParam = specialization.findParameter(param.getName()); + ActualParameter specializationParam = specialization.findParameter(param.getLocalName()); if (!Utils.typeEquals(param.getActualType(), specializationParam.getActualType())) { return false; }