Ejemplo n.º 1
0
Archivo: runner.py Proyecto: ieure/pypy
 def callmeth(selfbox, argboxes):
     selfobj = selfbox.getref(SELFTYPE)
     meth = getattr(selfobj, methname)
     methargs = getargs(argboxes)
     res = llimpl.call_maybe_on_top_of_llinterp(meth, methargs)
     if RESULT is not ootype.Void:
         return boxresult(RESULT, res)
Ejemplo n.º 2
0
 def callmeth(selfbox, argboxes):
     selfobj = selfbox.getref(SELFTYPE)
     meth = getattr(selfobj, methname)
     methargs = getargs(argboxes)
     res = llimpl.call_maybe_on_top_of_llinterp(meth, methargs)
     if RESULT is not ootype.Void:
         return boxresult(RESULT, res)
Ejemplo n.º 3
0
Archivo: runner.py Proyecto: ieure/pypy
 def callfunc(funcbox, argboxes):
     funcobj = funcbox.getref(FUNC)
     funcargs = getargs(argboxes)
     res = llimpl.call_maybe_on_top_of_llinterp(funcobj, funcargs)
     if RESULT is not ootype.Void:
         return boxresult(RESULT, res)
Ejemplo n.º 4
0
 def callfunc(funcbox, argboxes):
     funcobj = funcbox.getref(FUNC)
     funcargs = getargs(argboxes)
     res = llimpl.call_maybe_on_top_of_llinterp(funcobj, funcargs)
     if RESULT is not ootype.Void:
         return boxresult(RESULT, res)