|
22 | 22 | */ |
23 | 23 | package com.oracle.truffle.r.nodes.builtin; |
24 | 24 |
|
| 25 | +import java.util.Arrays; |
| 26 | + |
25 | 27 | import com.oracle.truffle.api.CompilerDirectives; |
26 | 28 | import com.oracle.truffle.api.dsl.Cached; |
27 | 29 | import com.oracle.truffle.api.dsl.Specialization; |
|
30 | 32 | import com.oracle.truffle.api.profiles.ConditionProfile; |
31 | 33 | import com.oracle.truffle.r.nodes.unary.CastStringNode; |
32 | 34 | import com.oracle.truffle.r.nodes.unary.CastStringNodeGen; |
33 | | -import com.oracle.truffle.r.runtime.RInternalError; |
34 | 35 | import com.oracle.truffle.r.runtime.RRuntime; |
35 | 36 | import com.oracle.truffle.r.runtime.RType; |
36 | 37 | import com.oracle.truffle.r.runtime.data.CharSXPWrapper; |
|
51 | 52 | import com.oracle.truffle.r.runtime.data.model.RAbstractVector; |
52 | 53 | import com.oracle.truffle.r.runtime.nodes.RBaseNode; |
53 | 54 | import com.oracle.truffle.r.runtime.ops.na.NAProfile; |
54 | | -import java.util.Arrays; |
55 | 55 |
|
56 | 56 | public abstract class MatchInternalNode extends RBaseNode { |
57 | 57 |
|
@@ -455,9 +455,9 @@ protected RIntVector match(RAbstractStringVector x, RAbstractStringVector table, |
455 | 455 | @Specialization(guards = {"x.getLength() == 1", "isCharSXP(x)", "isCharSXP(table)"}) |
456 | 456 | @CompilerDirectives.TruffleBoundary |
457 | 457 | 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) { |
461 | 461 | Object data = x.getDataAt(0); |
462 | 462 | Object tableData; |
463 | 463 |
|
|
0 commit comments