Ignore:
Timestamp:
Oct 7, 2017, 3:41:36 PM (22 months ago)
Author:
cameron
Message:

getIntAddrTy()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/CBuilder.cpp

    r5633 r5675  
    558558    addr = CreatePointerCast(addr, voidPtrTy);
    559559    return CreateCall(munmapFunc, {addr, len});
     560}
     561
     562IntegerType * CBuilder::getIntAddrTy() const {
     563    DataLayout DL(getModule());
     564    return DL.getIntPtrType(getContext());
    560565}
    561566
Note: See TracChangeset for help on using the changeset viewer.