Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -3665,8 +3665,6 @@ public Object selectObject(VirtualFrame frame, RubyArray array, RubyProc block)

final Object value = store[n];

CompilerDirectives.transferToInterpreter();

if (yieldIsTruthy(frame, block, new Object[]{value})) {
selectedStore = arrayBuilder.append(selectedStore, selectedSize, value);
selectedSize++;
@@ -3698,8 +3696,6 @@ public Object selectFixnumInteger(VirtualFrame frame, RubyArray array, RubyProc

final Object value = store[n];

CompilerDirectives.transferToInterpreter();

if (yieldIsTruthy(frame, block, value)) {
selectedStore = arrayBuilder.append(selectedStore, selectedSize, value);
selectedSize++;

0 comments on commit 0472e2d

Please sign in to comment.