Skip to content

Commit 84cfae1

Browse files
committed
Add warmup_critical_function to GET_ITER
1 parent eb2caf7 commit 84cfae1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pypy/interpreter/pyopcode.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,7 @@ def JUMP_IF_NOT_DEBUG(self, jumpby, next_instr):
11481148
next_instr += jumpby
11491149
return next_instr
11501150

1151+
@warmup_critical_function
11511152
def GET_ITER(self):
11521153
w_iterable = self.popvalue()
11531154
w_iterator = self.space.iter(w_iterable)

0 commit comments

Comments
 (0)