Skip to content

Commit

Permalink
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions core/src/main/java/org/jruby/runtime/IRBlockBody.java
Original file line number Diff line number Diff line change
@@ -33,14 +33,6 @@ public void setEvalType(EvalType evalType) {
@Override
public abstract boolean canCallDirect();

public IRubyObject callOrYieldDirect(ThreadContext context, Block block, Block.Type type, IRubyObject[] args, IRubyObject self, Block blockArg) {
if (type == Block.Type.PROC) {
return callDirect(context, block, args, blockArg);
} else {
return yieldDirect(context, block, args, self);
}
}

@Override
public IRubyObject call(ThreadContext context, Block block) {
return call(context, block, IRubyObject.NULL_ARRAY, Block.NULL_BLOCK);

0 comments on commit 4b1b8a8

Please sign in to comment.