Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/template/TemplateMethod.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 | 0905d796944a |
children | a80bf36c6a1e |
comparison
equal
deleted
inserted
replaced
8280:2ddf84436009 | 8310:89006c76f737 |
---|---|
100 return parameters; | 100 return parameters; |
101 } | 101 } |
102 | 102 |
103 public ActualParameter findParameter(String valueName) { | 103 public ActualParameter findParameter(String valueName) { |
104 for (ActualParameter param : getParameters()) { | 104 for (ActualParameter param : getParameters()) { |
105 if (param.getName().equals(valueName)) { | 105 if (param.getLocalName().equals(valueName)) { |
106 return param; | 106 return param; |
107 } | 107 } |
108 } | 108 } |
109 return null; | 109 return null; |
110 } | 110 } |