Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/template/TemplateMethod.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 | 06a7cd6aaf00 |
children | ac4e8c16ffdf |
comparison
equal
deleted
inserted
replaced
7860:dbbdc0a30a16 | 8237:6b74ffe38183 |
---|---|
68 return parameters; | 68 return parameters; |
69 } | 69 } |
70 | 70 |
71 public ActualParameter findParameter(String valueName) { | 71 public ActualParameter findParameter(String valueName) { |
72 for (ActualParameter param : getParameters()) { | 72 for (ActualParameter param : getParameters()) { |
73 if (param.getSpecification().getName().equals(valueName)) { | 73 if (param.getName().equals(valueName)) { |
74 return param; | 74 return param; |
75 } | 75 } |
76 } | 76 } |
77 return null; | 77 return null; |
78 } | 78 } |