Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -491,7 +491,7 @@ public Object bitXOr(RubyBasicObject a, RubyBasicObject b) {
}
}

@CoreMethod(names = "<<", required = 1)
@CoreMethod(names = "<<", required = 1, lowerFixnumParameters = 0)
public abstract static class LeftShiftNode extends BignumCoreMethodNode {

private final BranchProfile bLessThanZero = BranchProfile.create();
@@ -512,7 +512,7 @@ public Object leftShift(RubyBasicObject a, int b) {

}

@CoreMethod(names = ">>", required = 1)
@CoreMethod(names = ">>", required = 1, lowerFixnumParameters = 0)
public abstract static class RightShiftNode extends BignumCoreMethodNode {

private final BranchProfile bLessThanZero = BranchProfile.create();

0 comments on commit 7af46ed

Please sign in to comment.