Ignore:
Timestamp:
Aug 4, 2014, 12:53:31 PM (5 years ago)
Author:
daled
Message:

Matchstar for utf-8 character classes works. Needs refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/llvm_gen.cpp

    r3955 r3956  
    206206
    207207    //This function can be used for testing to print the contents of a register from JIT'd code to the terminal window.
    208     //mFunc_print_register = mMod->getOrInsertFunction("wrapped_print_register", Type::getVoidTy(getGlobalContext()), m64x2Vect, NULL);
    209 
    210     //mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_print_register), (void *)&wrapped_print_register);
     208    mFunc_print_register = mMod->getOrInsertFunction("wrapped_print_register", Type::getVoidTy(getGlobalContext()), m64x2Vect, NULL);
     209
     210    mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_print_register), (void *)&wrapped_print_register);
    211211    // to call->  b.CreateCall(mFunc_print_register, unicode_category);
    212212
Note: See TracChangeset for help on using the changeset viewer.