Skip to content

Commit c1435d4

Browse files
committed
Remove a couple ReportPolymorphism annotations which have no effect
* Those nodes have only a single specialization with a single instance.
1 parent 26a51ef commit c1435d4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/java/org/truffleruby/core/array/ArrayNodes.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,6 @@ protected Object deleteAtCopying(RubyArray array, int index,
823823

824824
@CoreMethod(names = "each", needsBlock = true, enumeratorSize = "size")
825825
@ImportStatic(ArrayGuards.class)
826-
@ReportPolymorphism
827826
public abstract static class EachNode extends YieldingCoreMethodNode implements ArrayElementConsumerNode {
828827

829828
@Specialization
@@ -841,7 +840,6 @@ public void accept(RubyArray array, RubyProc block, Object element, int index) {
841840

842841
@Primitive(name = "array_each_with_index")
843842
@ImportStatic(ArrayGuards.class)
844-
@ReportPolymorphism
845843
public abstract static class EachWithIndexNode extends PrimitiveArrayArgumentsNode
846844
implements ArrayElementConsumerNode {
847845

0 commit comments

Comments
 (0)