Ignore:
Timestamp:
Feb 9, 2017, 4:06:24 PM (2 years ago)
Author:
cameron
Message:

Boundary assertions; comment out a bug with RemoveNullableAfterAssertion?

File:
1 edited

Legend:

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

    r5283 r5308  
    5252    // stdio.h functions
    5353    //
    54     //  Create a call to:  FILE *fopen(const char *filename, const char *mode);
     54    //  Create a call to:  FILE * fopen(const char *filename, const char *mode);
    5555    llvm::Value * CreateFOpenCall(llvm::Value * filename, llvm::Value * mode);
    5656    //  Create a call to:  size_t fread(void *ptr, size_t size, size_t nitems, FILE *stream);
     
    6565    //  Create calls to unistd.h functions.
    6666    //
     67    //  Create a call to:  int open(const char *filename, int oflag, ...);
     68    llvm::Value * CreateOpenCall(llvm::Value * filename, llvm::Value * oflag, llvm::Value * mode);
    6769    //  Create a call to:  ssize_t write(int fildes, const void *buf, size_t nbyte);
    6870    llvm::Value * CreateWriteCall(llvm::Value * fildes, llvm::Value * buf, llvm::Value * nbyte);
    6971    //  Create a call to:  ssize_t read(int fildes, void *buf, size_t nbyte);
    7072    llvm::Value * CreateReadCall(llvm::Value * fildes, llvm::Value * buf, llvm::Value * nbyte);
     73    //  Create a call to:  int close(int filedes);
     74    llvm::Value * CreateCloseCall(llvm::Value * fildes);
    7175
    72    
    7376    //  Posix thread (pthread.h) functions.
    7477    //
Note: See TracChangeset for help on using the changeset viewer.