Ignore:
Timestamp:
Feb 17, 2018, 9:40:32 AM (17 months ago)
Author:
cameron
Message:

Decoupling CC compilers from Pablo Kernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/delmask_kernel.cpp

    r5847 r5872  
    2525    //  output: delmask stream + error stream
    2626   
    27     cc::Parabix_CC_Compiler ccc(this, u8_bits);
     27    cc::Parabix_CC_Compiler ccc(getEntryScope(), u8_bits);
    2828   
    2929    Zeroes * zeroes = main.createZeroes();
     
    3434    Var * error_mask = main.createVar("error_mask", zeroes);
    3535   
    36     PabloAST * ASCII = ccc.compileCC("ASCII", re::makeCC(0x0, 0x7F), main);
    37     auto ascii = main.createScope();
    38     main.createIf(ASCII, ascii);
    39     PabloAST * u8pfx = ccc.compileCC("u8pfx", re::makeCC(0xC0, 0xFF), main);
    40     PabloAST * nonASCII = ccc.compileCC("u8pfx", re::makeCC(0x80, 0xFF), main);
     36    PabloAST * u8pfx = ccc.compileCC(re::makeCC(0xC0, 0xFF));
     37    PabloAST * nonASCII = ccc.compileCC(re::makeCC(0x80, 0xFF));
    4138    auto it = main.createScope();
    4239    main.createIf(nonASCII, it);
Note: See TracChangeset for help on using the changeset viewer.