Beispiel #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)
Beispiel #2
0
 def rtype_getattr(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.getattr, hop)
Beispiel #3
0
 def rtype_new(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
Beispiel #4
0
 def rtype_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.call, hop)
Beispiel #5
0
 def rtype_is_true(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.is_true, hop)
Beispiel #6
0
 def rtype_setitem(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.setitem, hop)
Beispiel #7
0
 def rtype_getattr(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.getattr, hop)
Beispiel #8
0
 def rtype_new(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
Beispiel #9
0
 def rtype_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.call, hop)
Beispiel #10
0
 def rtype_is_true(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.is_true, hop)
Beispiel #11
0
 def rtype_delitem(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(self.delitem, hop)
Beispiel #12
0
 def specialize_call(self, hop):
     from pypy.rpython.rcontrollerentry import rtypedelegate
     return rtypedelegate(controllingfn, hop, revealargs, revealresult)