Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java @ 7796:6ad077b60cb3
Minor cleanup.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 15 Feb 2013 20:04:03 +0100 |
parents | ee84a187f84a |
children | 703c09f8640c |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java Fri Feb 15 19:36:03 2013 +0100 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/GenericParser.java Fri Feb 15 20:04:03 2013 +0100 @@ -45,7 +45,7 @@ } @Override - protected ParameterSpec createValueParameterSpec(String valueName, NodeData nodeData) { + protected ParameterSpec createValueParameterSpec(String valueName, NodeData nodeData, boolean optional) { 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()); + return super.createValueParameterSpec("returnValue", getNode(), false); } @Override