Esempio n. 1
0
 def rtype_setattr(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     if s_is_box(hop.args_s[2]):
         hop2 = revealbox(hop, 2)
         return rtypedelegate(self.setboxattr, hop2)
     else:
         return rtypedelegate(self.setattr, hop)
Esempio n. 2
0
 def rtype_getattr(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.getattr, hop)
Esempio n. 3
0
 def rtype_new(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
Esempio n. 4
0
 def rtype_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.call, hop)
Esempio n. 5
0
 def rtype_is_true(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.is_true, hop)
Esempio n. 6
0
 def rtype_setitem(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.setitem, hop)
Esempio n. 7
0
 def rtype_getattr(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.getattr, hop)
Esempio n. 8
0
 def rtype_new(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
Esempio n. 9
0
 def rtype_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.call, hop)
Esempio n. 10
0
 def rtype_is_true(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.is_true, hop)
Esempio n. 11
0
 def rtype_delitem(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.delitem, hop)
Esempio n. 12
0
 def specialize_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(controllingfn, hop, revealargs, revealresult)