Пример #1
0
 def op_get_frame_base(self):
     return llmemory.fakeaddress(self)
Пример #2
0
Файл: rpbc.py Проект: ieure/pypy
 def convert_pbc(self, pbcptr):
     return llmemory.fakeaddress(pbcptr)
Пример #3
0
 def unwrap_possible_weakref(self, addr):
     # fish fish fish
     if addr and isinstance(addr.ptr._obj, llmemory._gctransformed_wref):
         return llmemory.fakeaddress(addr.ptr._obj._ptr)
     return addr
Пример #4
0
 def op_get_frame_base(self):
     self._obj0 = self  # hack
     return llmemory.fakeaddress(self)
Пример #5
0
 def unwrap_possible_weakref(self, addr):
     # fish fish fish
     if addr and isinstance(addr.ptr._obj, llmemory._gctransformed_wref):
         return llmemory.fakeaddress(addr.ptr._obj._ptr)
     return addr
Пример #6
0
 def op_get_frame_base(self):
     self._obj0 = self        # hack
     return llmemory.fakeaddress(self)
Пример #7
0
 def convert_pbc(self, pbcptr):
     return llmemory.fakeaddress(pbcptr)