Exemplo n.º 1
0
def test_llinterp_complete():
    for opname, llop in LL_OPERATIONS.items():
        if llop.canfold:
            continue
        if opname.startswith('gc_x_'):
            continue   # ignore experimental stuff
        assert opname in LL_INTERP_OPERATIONS
Exemplo n.º 2
0
def test_llinterp_complete():
    for opname, llop in LL_OPERATIONS.items():
        if llop.canfold:
            continue
        if opname.startswith('gc_x_') or opname.startswith('llvm_'):
            continue  # ignore experimental stuff
        assert opname in LL_INTERP_OPERATIONS
Exemplo n.º 3
0
def test_canfold_opimpl_complete():
    for opname, llop in LL_OPERATIONS.items():
        assert opname == llop.opname
        if llop.canfold:
            if llop.oo:
                func = ooopimpl.get_op_impl(opname)
            else:
                func = opimpl.get_op_impl(opname)
            assert callable(func)
Exemplo n.º 4
0
def test_canfold_opimpl_complete():
    for opname, llop in LL_OPERATIONS.items():
        assert opname == llop.opname
        if llop.canfold:
            if llop.oo:
                func = ooopimpl.get_op_impl(opname)
            else:
                func = opimpl.get_op_impl(opname)
            assert callable(func)
Exemplo n.º 5
0
def test_llinterp_complete():
    for opname, llop in LL_OPERATIONS.items():
        if llop.canrun:
            continue
        assert opname in LL_INTERP_OPERATIONS
Exemplo n.º 6
0
def test_llinterp_complete():
    for opname, llop in LL_OPERATIONS.items():
        if llop.canrun:
            continue
        assert opname in LL_INTERP_OPERATIONS