Exemplo n.º 1
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
Exemplo n.º 2
0
Arquivo: runner.py Projeto: sota/pypy
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
Exemplo n.º 3
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
Exemplo n.º 4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)