Skip to content

Commit 8a8c07c

Browse files
committed
minor
1 parent ebdc555 commit 8a8c07c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/builtin/MatchInternalNode.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
*/
2323
package com.oracle.truffle.r.nodes.builtin;
2424

25+
import java.util.Arrays;
26+
2527
import com.oracle.truffle.api.CompilerDirectives;
2628
import com.oracle.truffle.api.dsl.Cached;
2729
import com.oracle.truffle.api.dsl.Specialization;
@@ -30,7 +32,6 @@
3032
import com.oracle.truffle.api.profiles.ConditionProfile;
3133
import com.oracle.truffle.r.nodes.unary.CastStringNode;
3234
import com.oracle.truffle.r.nodes.unary.CastStringNodeGen;
33-
import com.oracle.truffle.r.runtime.RInternalError;
3435
import com.oracle.truffle.r.runtime.RRuntime;
3536
import com.oracle.truffle.r.runtime.RType;
3637
import com.oracle.truffle.r.runtime.data.CharSXPWrapper;
@@ -51,7 +52,6 @@
5152
import com.oracle.truffle.r.runtime.data.model.RAbstractVector;
5253
import com.oracle.truffle.r.runtime.nodes.RBaseNode;
5354
import com.oracle.truffle.r.runtime.ops.na.NAProfile;
54-
import java.util.Arrays;
5555

5656
public abstract class MatchInternalNode extends RBaseNode {
5757

@@ -455,9 +455,9 @@ protected RIntVector match(RAbstractStringVector x, RAbstractStringVector table,
455455
@Specialization(guards = {"x.getLength() == 1", "isCharSXP(x)", "isCharSXP(table)"})
456456
@CompilerDirectives.TruffleBoundary
457457
protected int matchSizeOne(RList x, RList table, int nomatch,
458-
@Cached("create()") NAProfile naProfile,
459-
@Cached("create()") BranchProfile foundProfile,
460-
@Cached("create()") BranchProfile notFoundProfile) {
458+
@Cached("create()") NAProfile naProfile,
459+
@Cached("create()") BranchProfile foundProfile,
460+
@Cached("create()") BranchProfile notFoundProfile) {
461461
Object data = x.getDataAt(0);
462462
Object tableData;
463463

com.oracle.truffle.r.nodes/src/com/oracle/truffle/r/nodes/unary/PrecedenceNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected int doFunction(RFunction func, boolean recursive) {
9696

9797
@Specialization
9898
@SuppressWarnings("unused")
99-
protected int doCharSXPWrapper(CharSXPWrapper func, boolean recursive) {
99+
protected int doCharSXPWrapper(CharSXPWrapper charsxp, boolean recursive) {
100100
return LIST_PRECEDENCE;
101101
}
102102

0 commit comments

Comments
 (0)