Example #1
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
Example #2
0
File: runner.py Project: sota/pypy
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
Example #3
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
Example #4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)