Ejemplo n.º 1
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
Ejemplo n.º 2
0
Archivo: runner.py Proyecto: ieure/pypy
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
Ejemplo n.º 3
0
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
Ejemplo n.º 4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
Ejemplo n.º 5
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)