@@ -407,7 +407,7 @@ PComplex complexFromDouble(Object cls, double real, @SuppressWarnings("unused")
407
407
@ Specialization (guards = "isNoValue(imag)" , limit = "1" )
408
408
PComplex complexFromDouble (VirtualFrame frame , Object cls , PFloat real , @ SuppressWarnings ("unused" ) PNone imag ,
409
409
@ CachedLibrary ("real" ) PythonObjectLibrary objectLib ,
410
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
410
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
411
411
return complexFromObject (frame , cls , real , imag , objectLib , methodLib );
412
412
}
413
413
@@ -424,7 +424,7 @@ PComplex complexFromLong(Object cls, long real, @SuppressWarnings("unused") PNon
424
424
@ Specialization (guards = "isNoValue(imag)" , limit = "1" )
425
425
PComplex complexFromLong (VirtualFrame frame , Object cls , PInt real , @ SuppressWarnings ("unused" ) PNone imag ,
426
426
@ CachedLibrary ("real" ) PythonObjectLibrary objectLib ,
427
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
427
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
428
428
return complexFromObject (frame , cls , real , imag , objectLib , methodLib );
429
429
}
430
430
@@ -476,7 +476,7 @@ PComplex complexFromComplexLong(VirtualFrame frame, Object cls, Object one, long
476
476
@ Specialization (guards = "!isString(one)" , limit = "1" )
477
477
PComplex complexFromComplexDouble (VirtualFrame frame , Object cls , Object one , double two ,
478
478
@ CachedLibrary ("one" ) PythonObjectLibrary objectLib ,
479
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
479
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
480
480
PComplex value = getComplexNumberFromObject (frame , one , objectLib , methodLib );
481
481
if (value == null ) {
482
482
if (objectLib .canBeJavaDouble (one )) {
@@ -491,7 +491,7 @@ PComplex complexFromComplexDouble(VirtualFrame frame, Object cls, Object one, do
491
491
@ Specialization (guards = "!isString(one)" , limit = "1" )
492
492
PComplex complexFromComplexPInt (VirtualFrame frame , Object cls , Object one , PInt two ,
493
493
@ CachedLibrary ("one" ) PythonObjectLibrary objectLib ,
494
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
494
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
495
495
PComplex value = getComplexNumberFromObject (frame , one , objectLib , methodLib );
496
496
if (value == null ) {
497
497
if (objectLib .canBeJavaDouble (one )) {
@@ -506,7 +506,7 @@ PComplex complexFromComplexPInt(VirtualFrame frame, Object cls, Object one, PInt
506
506
@ Specialization (guards = "!isString(one)" , limit = "1" )
507
507
PComplex complexFromComplexComplex (VirtualFrame frame , Object cls , Object one , PComplex two ,
508
508
@ CachedLibrary ("one" ) PythonObjectLibrary objectLib ,
509
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
509
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
510
510
PComplex value = getComplexNumberFromObject (frame , one , objectLib , methodLib );
511
511
if (value == null ) {
512
512
if (methodLib .canBeJavaDouble (one )) {
@@ -521,7 +521,7 @@ PComplex complexFromComplexComplex(VirtualFrame frame, Object cls, Object one, P
521
521
@ Specialization (guards = {"!isString(one)" , "!isNoValue(two)" , "!isPComplex(two)" })
522
522
PComplex complexFromComplexObject (VirtualFrame frame , Object cls , Object one , Object two ,
523
523
@ CachedLibrary (limit = "2" ) PythonObjectLibrary objectLib ,
524
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
524
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
525
525
PComplex oneValue = getComplexNumberFromObject (frame , one , objectLib , methodLib );
526
526
if (objectLib .canBeJavaDouble (two )) {
527
527
double twoValue = objectLib .asJavaDouble (two );
@@ -1392,7 +1392,7 @@ Object parseBytesError(VirtualFrame frame, Object cls, PBytesLike arg, @Suppress
1392
1392
@ Specialization (guards = "isNoValue(base)" , limit = "1" )
1393
1393
Object parsePInt (VirtualFrame frame , Object cls , PString arg , @ SuppressWarnings ("unused" ) PNone base ,
1394
1394
@ CachedLibrary ("arg" ) PythonObjectLibrary lib ,
1395
- @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
1395
+ @ CachedLibrary (limit = "1" ) PythonObjectLibrary methodLib ) {
1396
1396
Object result = callInt (frame , arg , lib , methodLib );
1397
1397
if (result != PNone .NO_VALUE ) {
1398
1398
return result ;
0 commit comments