Skip to content
Snippets Groups Projects
Commit 22e26b39 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

fix some warnings

parent 73ad761e
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ import com.oracle.truffle.r.runtime.ops.BooleanOperationFactory;
/**
* Represents a binary or unary operation from the 'logical' subset of Ops R group. The concrete
* operation is implemented by factory object given as a constructor parameter, e.g.
* {@link com.oracle.truffle.r.runtime.ops.BinaryCompare.Equal} or
* com.oracle.truffle.r.runtime.ops.BinaryCompare.Equal or
* {@link com.oracle.truffle.r.runtime.ops.BinaryLogic.And}.
*/
public abstract class BinaryBooleanNode extends BinaryNodeBase {
......
......@@ -30,6 +30,7 @@ import com.oracle.truffle.api.profiles.ConditionProfile;
import com.oracle.truffle.r.nodes.attributes.AttributeAccess;
import com.oracle.truffle.r.nodes.unary.CastStringNode;
import com.oracle.truffle.r.nodes.unary.CastStringNodeGen;
import com.oracle.truffle.r.nodes.unary.IsFactorNode;
import com.oracle.truffle.r.runtime.RRuntime;
import com.oracle.truffle.r.runtime.data.RAttributeProfiles;
import com.oracle.truffle.r.runtime.data.RDataFactory;
......@@ -40,7 +41,7 @@ import com.oracle.truffle.r.runtime.data.model.RAbstractLogicalVector;
/**
* Contains helper nodes related to factors, special R class of {@link RAbstractIntVector}. Note:
* there is also {@see IsFactorNode}, which implements a built-in, for checking factor class.
* there is also {@link IsFactorNode}, which implements a built-in, for checking factor class.
*/
public final class RFactorNodes {
......@@ -71,7 +72,6 @@ public final class RFactorNodes {
@Child private CastStringNode castString;
@Child private AttributeAccess attrAccess = AttributeAccess.create(RRuntime.LEVELS_ATTR_KEY);
private final RAttributeProfiles attrProfiles = RAttributeProfiles.create();
private final BranchProfile notVectorBranch = BranchProfile.create();
private final ConditionProfile nonScalarLevels = ConditionProfile.createBinaryProfile();
private final ConditionProfile stringVectorLevels = ConditionProfile.createBinaryProfile();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment