Skip to content

Commit 4cc6aff

Browse files
committed
[Truffle] Fix merge.
1 parent 78db904 commit 4cc6aff

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

core/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,7 @@ public Object selectObject(VirtualFrame frame, RubyArray array, RubyProc block)
30793079
}
30803080
} finally {
30813081
if (CompilerDirectives.inInterpreter()) {
3082-
((RubyRootNode) getRootNode()).reportLoopCountThroughBlocks(count);
3082+
((RubyRootNode) getRootNode()).reportLoopCount(count);
30833083
}
30843084
}
30853085

@@ -3112,7 +3112,7 @@ public Object selectFixnumInteger(VirtualFrame frame, RubyArray array, RubyProc
31123112
}
31133113
} finally {
31143114
if (CompilerDirectives.inInterpreter()) {
3115-
((RubyRootNode) getRootNode()).reportLoopCountThroughBlocks(count);
3115+
((RubyRootNode) getRootNode()).reportLoopCount(count);
31163116
}
31173117
}
31183118

core/src/main/java/org/jruby/truffle/nodes/methods/arguments/ReadKeywordArgumentNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import com.oracle.truffle.api.source.SourceSection;
1414
import com.oracle.truffle.api.utilities.BranchProfile;
1515
import org.jruby.truffle.nodes.RubyNode;
16-
import org.jruby.truffle.nodes.RubyValueProfile;
1716
import org.jruby.truffle.runtime.RubyArguments;
1817
import org.jruby.truffle.runtime.RubyContext;
1918
import org.jruby.truffle.runtime.UndefinedPlaceholder;

0 commit comments

Comments
 (0)