Skip to content

Commit

Permalink
fix typo in expose alloc for arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiek committed Nov 1, 2023
1 parent b3ba329 commit c37f6bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14686,8 +14686,10 @@ \subsection{Bounds Checking}

\subsection{Expose Allocation}

% TODO: add figure for C_array

This pass should translate array creation into lower-level
operations. In particular, the new AST node \ALLOCARRAY{\Exp}{\Type}
operations. In particular, the new AST node \ALLOCARRAY{\Int}{\Type}
is analogous to the \code{Allocate} AST node for tuples. The $\Type$
argument must be \ARRAYTY{T}, where $T$ is the element type for the
array. The \code{AllocateArray} AST node allocates an array of the
Expand Down

0 comments on commit c37f6bc

Please sign in to comment.