Skip to content
Snippets Groups Projects
Commit 05a55c88 authored by Michael Haupt's avatar Michael Haupt
Browse files

remove unnecessary parameter name functionality from prod primitive

parent c6632556
Branches
No related tags found
No related merge requests found
...@@ -24,13 +24,6 @@ import com.oracle.truffle.r.runtime.ops.*; ...@@ -24,13 +24,6 @@ import com.oracle.truffle.r.runtime.ops.*;
@RBuiltin(name = "prod", kind = RBuiltinKind.PRIMITIVE, parameterNames = {"...", "na.rm"}) @RBuiltin(name = "prod", kind = RBuiltinKind.PRIMITIVE, parameterNames = {"...", "na.rm"})
public abstract class Prod extends RBuiltinNode { public abstract class Prod extends RBuiltinNode {
private static final String[] PARAMETER_NAMES = new String[]{"..."};
@Override
public String[] getParameterNames() {
return PARAMETER_NAMES;
}
@Override @Override
public RNode[] getParameterValues() { public RNode[] getParameterValues() {
return new RNode[]{ConstantNode.create(RMissing.instance), ConstantNode.create(RRuntime.LOGICAL_FALSE)}; return new RNode[]{ConstantNode.create(RMissing.instance), ConstantNode.create(RRuntime.LOGICAL_FALSE)};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment