106
106
import com .oracle .graal .python .nodes .function .builtins .PythonQuaternaryBuiltinNode ;
107
107
import com .oracle .graal .python .nodes .function .builtins .PythonTernaryBuiltinNode ;
108
108
import com .oracle .graal .python .nodes .function .builtins .PythonUnaryBuiltinNode ;
109
- import com .oracle .graal .python .nodes .object .IsBuiltinClassProfile ;
110
109
import com .oracle .graal .python .nodes .subscript .GetItemNode ;
111
110
import com .oracle .graal .python .nodes .subscript .SliceLiteralNode .CastToSliceComponentNode ;
112
111
import com .oracle .graal .python .nodes .subscript .SliceLiteralNode .CoerceToIntSlice ;
@@ -1533,8 +1532,7 @@ String doStringLong(String left, long right,
1533
1532
String doStringObject (VirtualFrame frame , String left , Object right ,
1534
1533
@ Cached ("createBinaryProfile()" ) ConditionProfile hasFrame ,
1535
1534
@ Shared ("loopProfile" ) @ Cached ("createCountingProfile()" ) LoopConditionProfile loopProfile ,
1536
- @ Shared ("castToIndexNode" ) @ CachedLibrary (limit = "getCallSiteInlineCacheMaxDepth()" ) PythonObjectLibrary lib ,
1537
- @ Cached IsBuiltinClassProfile typeErrorProfile ) {
1535
+ @ Shared ("castToIndexNode" ) @ CachedLibrary (limit = "getCallSiteInlineCacheMaxDepth()" ) PythonObjectLibrary lib ) {
1538
1536
int repeat ;
1539
1537
if (hasFrame .profile (frame != null )) {
1540
1538
repeat = lib .asSizeWithState (right , PArguments .getThreadState (frame ));
@@ -1549,10 +1547,9 @@ Object doGeneric(VirtualFrame frame, Object self, Object times,
1549
1547
@ Shared ("loopProfile" ) @ Cached ("createCountingProfile()" ) LoopConditionProfile loopProfile ,
1550
1548
@ Cached ("createBinaryProfile()" ) ConditionProfile hasFrame ,
1551
1549
@ Cached CastToJavaStringCheckedNode castSelfNode ,
1552
- @ Shared ("castToIndexNode" ) @ CachedLibrary (limit = "getCallSiteInlineCacheMaxDepth()" ) PythonObjectLibrary lib ,
1553
- @ Cached IsBuiltinClassProfile typeErrorProfile ) {
1550
+ @ Shared ("castToIndexNode" ) @ CachedLibrary (limit = "getCallSiteInlineCacheMaxDepth()" ) PythonObjectLibrary lib ) {
1554
1551
String selfStr = castSelfNode .cast (self , INVALID_RECEIVER , "index" , self );
1555
- return doStringObject (frame , selfStr , times , hasFrame , loopProfile , lib , typeErrorProfile );
1552
+ return doStringObject (frame , selfStr , times , hasFrame , loopProfile , lib );
1556
1553
}
1557
1554
1558
1555
public String doStringIntGeneric (String left , int right , LoopConditionProfile loopProfile ) {
0 commit comments