示例#1
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
示例#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
 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
def ll_stack_capture():
    return rstack.stack_capture()