Skip to content

Commit

Permalink
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/ir/instructions/CallInstr.java
Original file line number Diff line number Diff line change
@@ -41,9 +41,9 @@ public static CallInstr create(IRScope scope, CallType callType, Variable result
if (isAllFloats(args)) return new OneFloatArgNoBlockCallInstr(callType, result, name, receiver, args, isPotentiallyRefined);

return new OneOperandArgNoBlockCallInstr(callType, result, name, receiver, args, isPotentiallyRefined);
} /* else if (args.length == 2 && !hasClosure) {
} else if (args.length == 2 && !hasClosure) {
return new TwoOperandArgNoBlockCallInstr(callType, result, name, receiver, args, isPotentiallyRefined);
}*/
}
}

return new CallInstr(callType, result, name, receiver, args, closure, isPotentiallyRefined);
Original file line number Diff line number Diff line change
@@ -210,6 +210,7 @@ public Instr decodeInstr() {
case CALL_1F:
case CALL_1D:
case CALL_1O:
case CALL_2O:
case CALL_1OB:
case CALL_0O:
case CALL: return CallInstr.decode(this);

0 comments on commit 4d11849

Please sign in to comment.