Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/s/y/Sypy-HEAD/interpreter/astcompiler/assemble.py   Sypy(Download)
                        # Optimize an unconditional jump going to another
                        # unconditional jump.
                        if op == ops.JUMP_ABSOLUTE or op == ops.JUMP_FORWARD:
                            if target.instructions:
                                target_op = target.instructions[0].opcode
                                if target_op == ops.JUMP_ABSOLUTE:
                                    target = target.instructions[0].jump[0]
                                    instr.opcode = ops.JUMP_ABSOLUTE
                                                             target_depth,
                                                             max_depth)
                if jump_op == ops.JUMP_ABSOLUTE or jump_op == ops.JUMP_FORWARD:
                    # Nothing more can occur.
                    done = True
 
    ops.JUMP_FORWARD : 0,
    ops.JUMP_ABSOLUTE : 0,
    ops.JUMP_IF_TRUE_OR_POP : 0,
    ops.JUMP_IF_FALSE_OR_POP : 0,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/interpreter/astcompiler/assemble.py   plexnet(Download)
                        # Optimize an unconditional jump going to another
                        # unconditional jump.
                        if op == ops.JUMP_ABSOLUTE or op == ops.JUMP_FORWARD:
                            if target.instructions:
                                target_op = target.instructions[0].opcode
                                if target_op == ops.JUMP_ABSOLUTE:
                                    target = target.instructions[0].jump[0]
                                    instr.opcode = ops.JUMP_ABSOLUTE
                max_depth = self._recursive_stack_depth_walk(instr.jump[0],
                                                             depth, max_depth)
                if instr.opcode == ops.JUMP_ABSOLUTE or \
                        instr.opcode == ops.JUMP_FORWARD:
                    # Nothing more can occur.
 
    ops.JUMP_FORWARD : 0,
    ops.JUMP_ABSOLUTE : 0,
    ops.JUMP_IF_TRUE : 0,
    ops.JUMP_IF_FALSE : 0,

src/s/y/Sypy-HEAD/interpreter/astcompiler/test/test_compiler.py   Sypy(Download)
        counts = self.count_instructions(source)
        assert ops.JUMP_FORWARD not in counts
        assert ops.JUMP_ABSOLUTE not in counts
        assert counts[ops.RETURN_VALUE] == 2