Searched refs:FOR_ITER (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test__opcode.py | 40 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/ |
D | opcode.h | 99 #define FOR_ITER 93 macro
|
/external/python/cpython3/Include/ |
D | opcode.h | 78 #define FOR_ITER 93 macro
|
/external/python/cpython2/Python/ |
D | peephole.c | 258 case FOR_ITER: in markblocks() 552 case FOR_ITER: in PyCode_Optimize() 633 case FOR_ITER: in PyCode_Optimize()
|
D | compile.c | 825 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()
|
D | ceval.c | 2816 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/ |
D | dis.rst | 485 address to jump to (which should be a :opcode:`FOR_ITER` instruction). 722 .. opcode:: FOR_ITER (delta)
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 201 case FOR_ITER: in markblocks()
|
/external/python/cpython3/Python/ |
D | compile.c | 1064 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()
|
D | ceval.c | 3963 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/ |
D | dis.rst | 1032 .. opcode:: FOR_ITER (delta)
|