Did I find the right examples for you? yes no

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

src/s/y/Sypy-HEAD/jit/metainterp/pyjitpl.py   Sypy(Download)
            pass # XXX we want to do something special in resume descr,
                 # but not now
        elif opnum == rop.GUARD_NO_OVERFLOW:   # an overflow now detected
            if not dont_change_position:
                self.execute_raised(OverflowError(), constant=True)
            self.finishframe_exception()
        else:
            frame.generate_guard(rop.GUARD_NO_OVERFLOW, None)
 
    def assert_no_exception(self):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
        elif opnum == rop.GUARD_NO_EXCEPTION or opnum == rop.GUARD_EXCEPTION:
            self.handle_exception()
        elif opnum == rop.GUARD_NO_OVERFLOW:   # an overflow now detected
            self.raise_overflow_error()
 
            return self.raise_overflow_error()
        else:
            frame.generate_guard(frame.pc, rop.GUARD_NO_OVERFLOW, None, [])
            return False
 

src/s/y/Sypy-HEAD/jit/metainterp/blackhole.py   Sypy(Download)
                                          self.cpu.grab_exc_value())
        #
        elif opnum == rop.GUARD_NO_OVERFLOW:
            # Produced by int_xxx_ovf().  The pc is just after the opcode.
            # We get here because it did not used to overflow, but now it does.

src/s/y/Sypy-HEAD/jit/backend/x86/regalloc.py   Sypy(Download)
        if not op.is_comparison():
            if op.is_ovf():
                if (operations[i + 1].getopnum() != rop.GUARD_NO_OVERFLOW and
                    operations[i + 1].getopnum() != rop.GUARD_OVERFLOW):
                    not_implemented("int_xxx_ovf not followed by "

src/s/y/Sypy-HEAD/jit/backend/x86/assembler.py   Sypy(Download)
    def _gen_guard_overflow(self, guard_op, guard_token):
        guard_opnum = guard_op.getopnum()
        if guard_opnum == rop.GUARD_NO_OVERFLOW:
            self.implement_guard(guard_token, 'O')
        elif guard_opnum == rop.GUARD_OVERFLOW:

src/s/y/Sypy-HEAD/jit/metainterp/optimizeopt/unroll.py   Sypy(Download)
        seen[op.result] = True
        if op.is_ovf():
            guard = ResOperation(rop.GUARD_NO_OVERFLOW, [], None)
            optimizer.send_extra_operation(guard)
 
        if op.is_ovf():
            # FIXME: ensure that GUARD_OVERFLOW:ed ops not end up here
            guard = ResOperation(rop.GUARD_NO_OVERFLOW, [], None)
            self.add_op_to_short(guard, emit, guards_needed)
        for guard in value_guards:

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/cli/method.py   plexnet(Download)
    def emit_ovf_op(self, op, emit_op):
        next_op = self.oplist[self.i+1]
        if next_op.opnum == rop.GUARD_NO_OVERFLOW:
                self.i += 1
                self.emit_ovf_op_and_guard(op, next_op, emit_op)

src/s/y/Sypy-HEAD/jit/metainterp/optimizeopt/pure.py   Sypy(Download)
            op = self.posponedop
            self.posponedop = None
            canfold = nextop.getopnum() == rop.GUARD_NO_OVERFLOW
        else:
            nextop = None

src/s/y/Sypy-HEAD/jit/backend/cli/method.py   Sypy(Download)
    def emit_ovf_op(self, op, emit_op):
        next_op = self.oplist[self.i+1]
        if next_op.getopnum() == rop.GUARD_NO_OVERFLOW:
                self.i += 1
                self.emit_ovf_op_and_guard(op, next_op, emit_op)

src/s/y/Sypy-HEAD/jit/backend/test/runner_test.py   Sypy(Download)
                ops = [
                    ResOperation(opnum, [v1, v2], v_res),
                    ResOperation(rop.GUARD_NO_OVERFLOW, [], None,
                                 descr=BasicFailDescr(1)),
                    ResOperation(rop.FINISH, [v_res], None,

  1 | 2  Next