Home
last modified time | relevance | path

Searched refs:FOR_ITER (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest__opcode.py40 FOR_ITER = dis.opmap['FOR_ITER']
41 self.assertEqual(stack_effect(FOR_ITER, 0), 1)
42 self.assertEqual(stack_effect(FOR_ITER, 0, jump=True), -1)
43 self.assertEqual(stack_effect(FOR_ITER, 0, jump=False), 1)
/external/python/cpython2/Include/
Dopcode.h99 #define FOR_ITER 93 macro
/external/python/cpython3/Include/
Dopcode.h78 #define FOR_ITER 93 macro
/external/python/cpython2/Python/
Dpeephole.c258 case FOR_ITER: in markblocks()
552 case FOR_ITER: in PyCode_Optimize()
633 case FOR_ITER: in PyCode_Optimize()
Dcompile.c825 case FOR_ITER: in opcode_stack_effect()
1631 ADDOP_JREL(c, FOR_ITER, cleanup); in compiler_for()
2599 ADDOP_JREL(c, FOR_ITER, anchor); in compiler_listcomp_generator()
2688 ADDOP_JREL(c, FOR_ITER, anchor); in compiler_comprehension_generator()
3445 if (instr->i_opcode == FOR_ITER) { in stackdepth_walk()
Dceval.c2816 PREDICT(FOR_ITER); in PyEval_EvalFrameEx()
2823 PREDICTED_WITH_ARG(FOR_ITER); in PyEval_EvalFrameEx()
2824 TARGET(FOR_ITER) in PyEval_EvalFrameEx()
/external/python/cpython2/Doc/library/
Ddis.rst485 address to jump to (which should be a :opcode:`FOR_ITER` instruction).
722 .. opcode:: FOR_ITER (delta)
/external/python/cpython3/Objects/
Dframeobject.c201 case FOR_ITER: in markblocks()
/external/python/cpython3/Python/
Dcompile.c1064 case FOR_ITER: in stack_effect()
2877 ADDOP_JUMP(c, FOR_ITER, cleanup); in compiler_for()
4635 ADDOP_JUMP(c, FOR_ITER, anchor); in compiler_sync_comprehension_generator()
7500 case FOR_ITER: in optimize_basic_block()
7502 i -= jump_thread(inst, target, FOR_ITER); in optimize_basic_block()
7626 case FOR_ITER: in normalize_basic_block()
Dceval.c3963 PREDICT(FOR_ITER); in _PyEval_EvalFrameDefault()
3997 case TARGET(FOR_ITER): { in _PyEval_EvalFrameDefault()
3998 PREDICTED(FOR_ITER); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Doc/library/
Ddis.rst1032 .. opcode:: FOR_ITER (delta)