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)
def rtype_getattr(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.getattr, hop)
def rtype_new(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
def rtype_call(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.call, hop)
def rtype_is_true(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.is_true, hop)
def rtype_setitem(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.setitem, hop)
def rtype_getattr(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.getattr, hop)
def rtype_new(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.new, hop, revealargs=[], revealresult=True)
def rtype_call(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.call, hop)
def rtype_is_true(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.is_true, hop)
def rtype_delitem(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(self.delitem, hop)
def specialize_call(self, hop): from pypy.rpython.rcontrollerentry import rtypedelegate return rtypedelegate(controllingfn, hop, revealargs, revealresult)