예제 #1
0
파일: ooopimpl.py 프로젝트: sota/pypy
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
예제 #2
0
파일: runner.py 프로젝트: sota/pypy
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
예제 #3
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
예제 #4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)