Esempio n. 1
0
 def compute_annotation(self):
     from pypy.rlib import _jit_vref
     assert isinstance(self.instance, DirectVRef)
     s_obj = self.bookkeeper.immutablevalue(self.instance())
     return _jit_vref.SomeVRef(s_obj)
Esempio n. 2
0
 def compute_result_annotation(self, s_obj):
     from pypy.rlib import _jit_vref
     return _jit_vref.SomeVRef(s_obj)