Exemplo n.º 1
0
def stack_capture():
    if we_are_translated():
        from pypy.rpython.lltypesystem.lloperation import llop
        ptr = llop.stack_capture(OPAQUE_STATE_HEADER_PTR)
        return frame_stack_top_controller.box(ptr)
    raise RuntimeError("cannot unwind stack in non-translated versions")
Exemplo n.º 2
0
def stack_capture():
    if we_are_translated():
        from pypy.rpython.lltypesystem.lloperation import llop
        ptr = llop.stack_capture(OPAQUE_STATE_HEADER_PTR)
        return frame_stack_top_controller.box(ptr)
    raise RuntimeError("cannot unwind stack in non-translated versions")
Exemplo n.º 3
0
def stack_capture():
    if we_are_translated():
        ptr = llop.stack_capture(OPAQUE_STATE_HEADER_PTR)
        return frame_stack_top_controller.box(ptr)
    raise RuntimeError("cannot unwind stack in non-translated versions")