70
70
import com .oracle .truffle .api .nodes .Node ;
71
71
import com .oracle .truffle .api .profiles .ConditionProfile ;
72
72
import com .oracle .truffle .api .profiles .InlinedConditionProfile ;
73
- import com .oracle .truffle .api .profiles .InlinedLoopConditionProfile ;
74
73
import com .oracle .truffle .api .profiles .LoopConditionProfile ;
75
74
76
75
@ CoreFunctions (extendClasses = {PythonBuiltinClassType .PZipLongest })
@@ -106,7 +105,7 @@ Object nextNoFillValue(VirtualFrame frame, PZipLongest self,
106
105
/* @Shared */ @ Cached IsBuiltinObjectProfile isStopIterationProfile ,
107
106
/* @Shared */ @ Cached InlinedConditionProfile noItProfile ,
108
107
/* @Shared */ @ Cached InlinedConditionProfile noActiveProfile ,
109
- /* @Shared */ @ Cached InlinedLoopConditionProfile loopProfile ) {
108
+ /* @Shared */ @ Cached LoopConditionProfile loopProfile ) {
110
109
return next (frame , inliningTarget , self , PNone .NONE , nextNode , isStopIterationProfile , loopProfile , noItProfile , noActiveProfile );
111
110
}
112
111
@@ -117,16 +116,15 @@ Object next(VirtualFrame frame, PZipLongest self,
117
116
/* @Shared */ @ Cached IsBuiltinObjectProfile isStopIterationProfile ,
118
117
/* @Shared */ @ Cached InlinedConditionProfile noItProfile ,
119
118
/* @Shared */ @ Cached InlinedConditionProfile noActiveProfile ,
120
- /* @Shared */ @ Cached InlinedLoopConditionProfile loopProfile ) {
119
+ /* @Shared */ @ Cached LoopConditionProfile loopProfile ) {
121
120
return next (frame , inliningTarget , self , self .getFillValue (), nextNode , isStopIterationProfile , loopProfile , noItProfile , noActiveProfile );
122
121
}
123
122
124
123
private Object next (VirtualFrame frame , Node inliningTarget , PZipLongest self , Object fillValue , BuiltinFunctions .NextNode nextNode , IsBuiltinObjectProfile isStopIterationProfile ,
125
- InlinedLoopConditionProfile loopProfile ,
126
- InlinedConditionProfile noItProfile , InlinedConditionProfile noActiveProfile ) {
124
+ LoopConditionProfile loopProfile , InlinedConditionProfile noItProfile , InlinedConditionProfile noActiveProfile ) {
127
125
Object [] result = new Object [self .getItTuple ().length ];
128
- loopProfile .profileCounted (inliningTarget , result .length );
129
- for (int i = 0 ; loopProfile .inject (inliningTarget , i < result .length ); i ++) {
126
+ loopProfile .profileCounted (result .length );
127
+ for (int i = 0 ; loopProfile .inject (i < result .length ); i ++) {
130
128
Object it = self .getItTuple ()[i ];
131
129
Object item ;
132
130
if (noItProfile .profile (inliningTarget , it == PNone .NONE )) {
0 commit comments