Ignore:
Timestamp:
Aug 30, 2016, 8:51:42 AM (3 years ago)
Author:
lindanl
Message:

change getInt64Ty to getSizeTy.

File:
1 edited

Legend:

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

    r5137 r5139  
    133133    mIsNameExpression = isNameExpression;
    134134
    135     Type * const int64ty = iBuilder->getInt64Ty();
    136135    Type * const int32ty = iBuilder->getInt32Ty();
    137136    Type * const size_ty = iBuilder->getSizeTy();
     
    171170    Value * s2pInstance = s2pk.createInstance({});
    172171 
    173     Type * pthreadTy = int64ty; //Pthread Type for 64-bit machine.
     172    Type * pthreadTy = size_ty;
    174173    FunctionType * funVoidPtrVoidTy = FunctionType::get(voidTy, int8PtrTy, false);   
    175174   
Note: See TracChangeset for help on using the changeset viewer.