コード例 #1
0
ファイル: stacklessframework.py プロジェクト: chyyuu/pygirl
 def __init__(self):
     # XXX what should be done with the stack_capture()d frames
     # when we are finished?  what about moving GCs?
     frame = llmemory.cast_ptr_to_adr(stack_capture())
     self.static_current = gcdata.static_root_start
     captured_frame_holder.address[0] = frame
     self.finished = False
コード例 #2
0
 def __init__(self):
     # XXX what should be done with the stack_capture()d frames
     # when we are finished?  what about moving GCs?
     frame = llmemory.cast_ptr_to_adr(stack_capture())
     self.static_current = gcdata.static_root_start
     captured_frame_holder.address[0] = frame
     self.finished = False
コード例 #3
0
ファイル: test_depth.py プロジェクト: xx312022850/pypy
 def fn():
     frame = rstack.stack_capture()
     return int(bool(frame))
コード例 #4
0
 def __init__(self):
     frame = llmemory.cast_ptr_to_adr(stack_capture())
     self.static_current = gcdata.static_root_start
     index = len(gcdata.static_roots)
     self.static_roots_index = index
     gcdata.static_roots[index-1] = frame
コード例 #5
0
ファイル: ll_stack.py プロジェクト: TheDunn/flex-pypy
def ll_stack_capture():
    return rstack.stack_capture()