Changeset ee68e11 for doc/rob_thesis


Ignore:
Timestamp:
Mar 30, 2017, 1:36:51 PM (9 years ago)
Author:
Aaron Moss <a3moss@…>
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:
814525c
Parents:
b2daebd4 (diff), a4dd728 (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

Location:
doc/rob_thesis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/rob_thesis/ctordtor.tex

    rb2daebd4 ree68e11  
    135135%   at the global scope (which is likely the most common case)
    136136% * [9]
    137 
    138 % Move semantics
    139 % * <ongoing discussion about this. this will be filled in
    140 %    once we come to a consensus>
    141137
    142138% Changes to polymorphic type classes
  • doc/rob_thesis/tuples.tex

    rb2daebd4 ree68e11  
    615615\end{cfacode}
    616616Note that due to flattening, @x@ used in the argument position is converted into the list of its fields.
    617 In the call to @f@, a the second and third argument components are structured into a tuple argument.
     617In the call to @f@, the second and third argument components are structured into a tuple argument.
    618618
    619619Expressions which may contain side effects are made into \emph{unique expressions} before being expanded by the flattening conversion.
     
    643643\end{cfacode}
    644644Since argument evaluation order is not specified by the C programming language, this scheme is built to work regardless of evaluation order.
    645 The first time a unique expression is executed, the actual expression is evaluated and the accompanying boolean is true to true.
     645The first time a unique expression is executed, the actual expression is evaluated and the accompanying boolean is set to true.
    646646Every subsequent evaluation of the unique expression then results in an access to the stored result of the actual expression.
    647647
     
    12991299Thunks 0 through 3 provide wrappers for the @otype@ parameters for @const char *@, while @_thunk4@ translates a call to @print([int, const char *])@ into a call to @print_variadic(int, [const char *])@.
    13001300This all builds to a call to @print_variadic@, with the appropriate copy construction of the tuple argument.
     1301
     1302\section{Future Work}
Note: See TracChangeset for help on using the changeset viewer.