示例#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)