File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
src/main/java/org/truffleruby/core/numeric Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -858,19 +858,7 @@ public int compare(DynamicObject a, DynamicObject b) {
858
858
}
859
859
860
860
@ Specialization (guards = "!isRubyNumber(b)" )
861
- public Object compare (int a , Object b ,
862
- @ Cached ("createPrivate()" ) CallDispatchHeadNode redoCompare ) {
863
- return redoCompare .call (a , "redo_compare_no_error" , b );
864
- }
865
-
866
- @ Specialization (guards = "!isRubyNumber(b)" )
867
- public Object compare (long a , Object b ,
868
- @ Cached ("createPrivate()" ) CallDispatchHeadNode redoCompare ) {
869
- return redoCompare .call (a , "redo_compare_no_error" , b );
870
- }
871
-
872
- @ Specialization (guards = "!isRubyNumber(b)" )
873
- public Object compare (DynamicObject a , Object b ,
861
+ public Object compare (Object a , Object b ,
874
862
@ Cached ("createPrivate()" ) CallDispatchHeadNode redoCompare ) {
875
863
return redoCompare .call (a , "redo_compare_no_error" , b );
876
864
}
You can’t perform that action at this time.
0 commit comments