Changeset 3983 for icGREP


Ignore:
Timestamp:
Aug 9, 2014, 11:53:28 AM (5 years ago)
Author:
daled
Message:

Minor updates.

File:
1 edited

Legend:

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

    r3982 r3983  
    525525void LLVM_Generator::DeclareFunctions()
    526526{
    527     //mFunc_get_unicode_category = mMod->getOrInsertFunction("wrapped_get_unicode_category", m64x2Vect, mStruct_Basis_Bits_Ptr1, Type::getInt8PtrTy(mMod->getContext()), NULL);
    528     //mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_get_unicode_category), (void *)&wrapped_get_unicode_category);
    529 
    530527    //This function can be used for testing to print the contents of a register from JIT'd code to the terminal window.
    531     mFunc_print_register = mMod->getOrInsertFunction("wrapped_print_register", Type::getVoidTy(getGlobalContext()), m64x2Vect, NULL);
    532 
    533     mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_print_register), (void *)&wrapped_print_register);
     528    //mFunc_print_register = mMod->getOrInsertFunction("wrapped_print_register", Type::getVoidTy(getGlobalContext()), m64x2Vect, NULL);
     529
     530    //mExecutionEngine->addGlobalMapping(cast<GlobalValue>(mFunc_print_register), (void *)&wrapped_print_register);
    534531    // to call->  b.CreateCall(mFunc_print_register, unicode_category);
    535532
Note: See TracChangeset for help on using the changeset viewer.