示例#1
0
 def instanceof(box):
     if isinstance(TYPE, ootype.Instance):
         obj = box.getref(ootype.ROOT)
         return BoxInt(ootype.instanceof(obj, TYPE))
     return None
示例#2
0
文件: runner.py 项目: ieure/pypy
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
示例#3
0
文件: runner.py 项目: purepython/pypy
 def instanceof(box):
     obj = box.getref(ootype.ROOT)
     return history.BoxInt(ootype.instanceof(obj, TYPE))
示例#4
0
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)
示例#5
0
文件: ooopimpl.py 项目: njues/Sypy
def op_instanceof(inst, INST):
    return ootype.instanceof(inst, INST)