Home
last modified time | relevance | path

Searched refs:JUMP_IF_TRUE_OR_POP (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest__opcode.py36 JUMP_IF_TRUE_OR_POP = dis.opmap['JUMP_IF_TRUE_OR_POP']
37 self.assertEqual(stack_effect(JUMP_IF_TRUE_OR_POP, 0), 0)
38 self.assertEqual(stack_effect(JUMP_IF_TRUE_OR_POP, 0, jump=True), 0)
39 self.assertEqual(stack_effect(JUMP_IF_TRUE_OR_POP, 0, jump=False), -1)
/external/python/cpython3/Python/
Dpeephole.c15 || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP)
18 || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP || op==JUMP_IF_NOT_EXC_MATCH)
19 #define JUMPS_ON_TRUE(op) (op==POP_JUMP_IF_TRUE || op==JUMP_IF_TRUE_OR_POP)
194 case JUMP_IF_TRUE_OR_POP: in markblocks()
368 case JUMP_IF_TRUE_OR_POP: in PyCode_Optimize()
390 j = opcode == JUMP_IF_TRUE_OR_POP ? in PyCode_Optimize()
496 case JUMP_IF_TRUE_OR_POP: in PyCode_Optimize()
Dcompile.c1023 case JUMP_IF_TRUE_OR_POP: in stack_effect()
3658 jumpi = JUMP_IF_TRUE_OR_POP; in compiler_boolop()
Dceval.c3218 case TARGET(JUMP_IF_TRUE_OR_POP): { in _PyEval_EvalFrameDefault()
/external/python/cpython2/Python/
Dpeephole.c17 || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP)
20 || op==JUMP_IF_FALSE_OR_POP || op==JUMP_IF_TRUE_OR_POP)
21 #define JUMPS_ON_TRUE(op) (op==POP_JUMP_IF_TRUE || op==JUMP_IF_TRUE_OR_POP)
261 case JUMP_IF_TRUE_OR_POP: in markblocks()
520 case JUMP_IF_TRUE_OR_POP: in PyCode_Optimize()
628 case JUMP_IF_TRUE_OR_POP: in PyCode_Optimize()
Dcompile.c858 case JUMP_IF_TRUE_OR_POP: /* -1 if jump not taken */ in opcode_stack_effect()
2449 jumpi = JUMP_IF_TRUE_OR_POP; in compiler_boolop()
3454 else if (instr->i_opcode == JUMP_IF_TRUE_OR_POP || in stackdepth_walk()
Dceval.c2764 TARGET(JUMP_IF_TRUE_OR_POP) in PyEval_EvalFrameEx()
/external/python/cpython3/Include/
Dopcode.h92 #define JUMP_IF_TRUE_OR_POP 112 macro
/external/python/cpython2/Include/
Dopcode.h121 #define JUMP_IF_TRUE_OR_POP 112 /* "" */ macro
/external/python/cpython3/Objects/
Dframeobject.c127 case JUMP_IF_TRUE_OR_POP: in markblocks()
/external/python/cpython2/Doc/library/
Ddis.rst705 .. opcode:: JUMP_IF_TRUE_OR_POP (target)
/external/python/cpython3/Doc/library/
Ddis.rst964 .. opcode:: JUMP_IF_TRUE_OR_POP (target)