Skip to content

Commit

Permalink
Showing 3 changed files with 20 additions and 20 deletions.
30 changes: 15 additions & 15 deletions truffle/src/main/java/org/jruby/truffle/nodes/core/ArrayNodes.java
Original file line number Diff line number Diff line change
@@ -1420,7 +1420,7 @@ public Object eachIntegerFixnum(VirtualFrame frame, RubyArray array, RubyProc bl
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -1457,7 +1457,7 @@ public Object eachLongFixnum(VirtualFrame frame, RubyArray array, RubyProc block
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -1494,7 +1494,7 @@ public Object eachFloat(VirtualFrame frame, RubyArray array, RubyProc block) {
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -1531,7 +1531,7 @@ public Object eachObject(VirtualFrame frame, RubyArray array, RubyProc block) {
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -1591,7 +1591,7 @@ public Object eachWithIndexObject(VirtualFrame frame, RubyArray array, RubyProc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2084,7 +2084,7 @@ public Object injectObject(VirtualFrame frame, RubyArray array, Object initial,
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2328,7 +2328,7 @@ public RubyArray mapIntegerFixnum(VirtualFrame frame, RubyArray array, RubyProc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2353,7 +2353,7 @@ public RubyArray mapLongFixnum(VirtualFrame frame, RubyArray array, RubyProc blo
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2403,7 +2403,7 @@ public RubyArray mapObject(VirtualFrame frame, RubyArray array, RubyProc block)
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2450,7 +2450,7 @@ public RubyArray mapInPlaceFixnumInteger(VirtualFrame frame, RubyArray array, Ru
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -2477,7 +2477,7 @@ public RubyArray mapInPlaceObject(VirtualFrame frame, RubyArray array, RubyProc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -3233,7 +3233,7 @@ public Object selectObject(VirtualFrame frame, RubyArray array, RubyProc block)
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -3266,7 +3266,7 @@ public Object selectFixnumInteger(VirtualFrame frame, RubyArray array, RubyProc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -3416,7 +3416,7 @@ public Object selectObject(VirtualFrame frame, RubyArray array, RubyProc block)
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -3449,7 +3449,7 @@ public Object selectFixnumInteger(VirtualFrame frame, RubyArray array, RubyProc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

Original file line number Diff line number Diff line change
@@ -573,7 +573,7 @@ public RubyHash eachPackedArray(VirtualFrame frame, RubyHash hash, RubyProc bloc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -897,7 +897,7 @@ public RubyArray mapPackedArray(VirtualFrame frame, RubyHash hash, RubyProc bloc
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ public RubyArray collect(VirtualFrame frame, RubyRange.IntegerFixnumRange range,
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -178,7 +178,7 @@ public Object each(VirtualFrame frame, RubyRange.IntegerFixnumRange range, RubyP
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

@@ -342,7 +342,7 @@ public Object step(VirtualFrame frame, RubyRange.IntegerFixnumRange range, int s
}
} finally {
if (CompilerDirectives.inInterpreter()) {
((RubyRootNode) getRootNode()).reportLoopCount(count);
getRootNode().reportLoopCount(count);
}
}

0 comments on commit c504e87

Please sign in to comment.