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)
              opnum == rop.GUARD_NONNULL_CLASS):
            pass        # the pc is already set to the *start* of the opcode
        elif opnum == rop.GUARD_NO_EXCEPTION or opnum == rop.GUARD_EXCEPTION:
            exception = self.cpu.grab_exc_value()
            if exception:
    def handle_possible_exception(self):
        frame = self.framestack[-1]
        if self.last_exc_value_box is not None:
            exception_box = self.cpu.ts.cls_of_box(self.last_exc_value_box)
            op = frame.generate_guard(rop.GUARD_EXCEPTION,

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/metainterp/pyjitpl.py   plexnet(Download)
        elif opnum == rop.GUARD_FALSE:     # a goto_if_not that stops jumping
            self.framestack[-1].dont_follow_jump()
        elif opnum == rop.GUARD_NO_EXCEPTION or opnum == rop.GUARD_EXCEPTION:
            self.handle_exception()
        elif opnum == rop.GUARD_NO_OVERFLOW:   # an overflow now detected
            exception_box = self.cpu.ts.get_exception_box(etype)
            exc_value_box = self.cpu.ts.get_exc_value_box(evalue)
            op = frame.generate_guard(frame.pc, rop.GUARD_EXCEPTION,
                                      None, [exception_box])
            if op:

src/s/y/Sypy-HEAD/jit/metainterp/blackhole.py   Sypy(Download)
        #
        elif (opnum == rop.GUARD_NO_EXCEPTION or
              opnum == rop.GUARD_EXCEPTION or
              opnum == rop.GUARD_NOT_FORCED):
            return lltype.cast_opaque_ptr(rclass.OBJECTPTR,

src/s/y/Sypy-HEAD/jit/backend/x86/assembler.py   Sypy(Download)
    def implement_guard_recovery(self, guard_opnum, faildescr, failargs,
                                                               fail_locs):
        exc = (guard_opnum == rop.GUARD_EXCEPTION or
               guard_opnum == rop.GUARD_NO_EXCEPTION or
               guard_opnum == rop.GUARD_NOT_FORCED)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/x86/assembler.py   plexnet(Download)
    def implement_guard_recovery(self, guard_opnum, faildescr, failargs,
                                                               fail_locs):
        self._no_const_locs(failargs)
        addr = self.mc2.tell()
        exc = (guard_opnum == rop.GUARD_EXCEPTION or

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/llvm/compile.py   plexnet(Download)
        if exc:
            opnum = operations[0].opnum
            if opnum not in (rop.GUARD_EXCEPTION, rop.GUARD_NO_EXCEPTION):
                self._store_away_exception()
        # Normal handling of the operations follows.

src/s/y/Sypy-HEAD/jit/backend/llvm/compile.py   Sypy(Download)
        if exc:
            opnum = operations[0].getopnum()
            if opnum not in (rop.GUARD_EXCEPTION, rop.GUARD_NO_EXCEPTION):
                self._store_away_exception()
        # Normal handling of the operations follows.

src/s/y/Sypy-HEAD/jit/backend/test/test_ll_random.py   Sypy(Download)
        _, vtableptr = builder.get_random_structure_type_and_vtable(r)
        exc_box = ConstAddr(llmemory.cast_ptr_to_adr(vtableptr), builder.cpu)
        op = ResOperation(rop.GUARD_EXCEPTION, [exc_box], BoxPtr(),
                          descr=BasicFailDescr())
        op.setfailargs(builder.subset_of_intvars(r))
        self.put(builder, args, descr)
        exc_box = ConstAddr(llmemory.cast_ptr_to_adr(exc), builder.cpu)
        op = ResOperation(rop.GUARD_EXCEPTION, [exc_box], BoxPtr(),
                          descr=BasicFailDescr())
        op.setfailargs(fail_subset)
                break
        other_box = ConstAddr(llmemory.cast_ptr_to_adr(vtableptr), builder.cpu)
        op = ResOperation(rop.GUARD_EXCEPTION, [other_box], BoxPtr(),
                          descr=BasicFailDescr())
        op._exc_box = ConstAddr(llmemory.cast_ptr_to_adr(exc), builder.cpu)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/test_ll_random.py   plexnet(Download)
        _, vtableptr = builder.get_random_structure_type_and_vtable(r)
        exc_box = ConstAddr(llmemory.cast_ptr_to_adr(vtableptr), builder.cpu)
        op = ResOperation(rop.GUARD_EXCEPTION, [exc_box], BoxPtr(),
                          descr=builder.make_fail_descr())
        op.fail_args = builder.subset_of_intvars(r)
        assert builder.cpu.get_exception()
        builder.cpu.clear_exception()
        op = ResOperation(rop.GUARD_EXCEPTION, [exc_box], BoxPtr(),
                          descr=builder.make_fail_descr())
        op.fail_args = fail_subset
                break
        other_box = ConstAddr(llmemory.cast_ptr_to_adr(vtableptr), builder.cpu)
        op = ResOperation(rop.GUARD_EXCEPTION, [other_box], BoxPtr(),
                          descr=builder.make_fail_descr())
        op._exc_box = ConstAddr(llmemory.cast_ptr_to_adr(exc), builder.cpu)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/backend/test/test_random.py   plexnet(Download)
                op = ResOperation(rop.GUARD_NO_EXCEPTION, [], None)
            else:
                op = ResOperation(rop.GUARD_EXCEPTION, [guard_op._exc_box],
                                  BoxPtr())
            op.descr = self.builder.make_fail_descr()

  1 | 2  Next