Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java @ 8595:8a1115c92271
Implemented codegen guard definitions can now omit unused parameters.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 01 Apr 2013 21:43:20 +0200 |
parents | ce6e8672f798 |
children | 61ba6fc21ba4 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java Mon Apr 01 12:19:15 2013 +0200 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java Mon Apr 01 21:43:20 2013 +0200 @@ -44,7 +44,7 @@ } @Override - protected ParameterSpec createValueParameterSpec(String valueName, NodeData nodeData, boolean optional) { + protected ParameterSpec createValueParameterSpec(String valueName, NodeData nodeData) { List<ExecutableTypeData> execTypes = nodeData.findGenericExecutableTypes(getContext()); List<TypeMirror> types = new ArrayList<>(); for (ExecutableTypeData type : execTypes) { @@ -57,7 +57,7 @@ @Override protected ParameterSpec createReturnParameterSpec() { - return super.createValueParameterSpec("returnValue", getNode(), false); + return super.createValueParameterSpec("returnValue", getNode()); } @Override