Ignore:
Timestamp:
Aug 25, 2017, 10:38:34 AM (8 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
800d275
Parents:
af08051 (diff), 3eab308c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/prelude/builtins.c

    raf08051 r28e58fd  
    8080} // ?\?
    8181
    82 static inline forall( otype T | { void ?{}( T * this, one_t ); T ?*?( T, T ); double ?/?( double, T ); } )
     82static inline forall( otype T | { void ?{}( T & this, one_t ); T ?*?( T, T ); double ?/?( double, T ); } )
    8383double ?\?( T x, signed long int y ) {
    8484    if ( y >=  0 ) return (double)(x \ (unsigned long int)y);
     
    8686} // ?\?
    8787
    88 static inline long int ?\=?( long int * x, unsigned long int y ) { *x = *x \ y; return *x; }
    89 static inline unsigned long int ?\=?( unsigned long int * x, unsigned long int y ) { *x = *x \ y; return *x; }
    90 static inline int ?\=?( int * x, unsigned long int y ) { *x = *x \ y; return *x; }
    91 static inline unsigned int ?\=?( unsigned int * x, unsigned long int y ) { *x = *x \ y; return *x; }
     88static inline long int ?\=?( long int & x, unsigned long int y ) { x = x \ y; return x; }
     89static inline unsigned long int ?\=?( unsigned long int & x, unsigned long int y ) { x = x \ y; return x; }
     90static inline int ?\=?( int & x, unsigned long int y ) { x = x \ y; return x; }
     91static inline unsigned int ?\=?( unsigned int & x, unsigned long int y ) { x = x \ y; return x; }
    9292
    9393// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.