@@ -471,7 +471,6 @@ protected RubyBaseNodeWithExecute coerceToBoolean(RubyBaseNodeWithExecute exclud
471
471
472
472
@ Specialization (guards = "rubyClass == getRangeClass()" )
473
473
protected RubyIntRange intRange (RubyClass rubyClass , int begin , int end , boolean excludeEnd ) {
474
- // Not a Range subclass, we can use the shape directly.
475
474
final RubyIntRange range = new RubyIntRange (
476
475
excludeEnd ,
477
476
begin ,
@@ -481,7 +480,6 @@ protected RubyIntRange intRange(RubyClass rubyClass, int begin, int end, boolean
481
480
482
481
@ Specialization (guards = { "rubyClass == getRangeClass()" , "fitsInInteger(begin)" , "fitsInInteger(end)" })
483
482
protected RubyIntRange longFittingIntRange (RubyClass rubyClass , long begin , long end , boolean excludeEnd ) {
484
- // Not a Range subclass, we can use the shape directly.
485
483
final RubyIntRange range = new RubyIntRange (
486
484
excludeEnd ,
487
485
(int ) begin ,
@@ -491,7 +489,6 @@ protected RubyIntRange longFittingIntRange(RubyClass rubyClass, long begin, long
491
489
492
490
@ Specialization (guards = { "rubyClass == getRangeClass()" , "!fitsInInteger(begin) || !fitsInInteger(end)" })
493
491
protected RubyLongRange longRange (RubyClass rubyClass , long begin , long end , boolean excludeEnd ) {
494
- // Not a Range subclass, we can use the shape directly.
495
492
final RubyLongRange range = new RubyLongRange (
496
493
excludeEnd ,
497
494
begin ,
0 commit comments