コード例 #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)