@@ -29,8 +29,8 @@ \subsection{Multiple handlers, multiple traps}
2929\item <1-> \funcname {main} installs the trap for \typename {ExnC}
3030\begin {itemize }
3131\item <2-> Pushes address of \typename {ExnC} handler
32- \item <2-> Saves the current value of \localname {domain\_ state->exn\_ hanlder } into the trap
33- \item <2-> Updates \localname {domain\_ state->exn\_ hanlder } to point to \typename {ExnC} trap
32+ \item <2-> Saves the current value of \localname {domain\_ state->exn\_ handler } into the trap
33+ \item <2-> Updates \localname {domain\_ state->exn\_ handler } to point to \typename {ExnC} trap
3434\end {itemize }
3535\end {itemize }
3636}%
@@ -56,8 +56,8 @@ \subsection{Multiple handlers, multiple traps}
5656\item <1-> \funcname {main} now installs the trap for \typename {ExnB}
5757\begin {itemize }
5858\item <2-> Pushes address of \typename {ExnB} handler
59- \item <2-> Saves the current value of \localname {domain\_ state->exn\_ hanlder }, which is pointing to \typename {ExnC} into the trap
60- \item <4-> Updates \localname {domain\_ state->exn\_ hanlder } to point to \typename {ExnB} trap
59+ \item <2-> Saves the current value of \localname {domain\_ state->exn\_ handler }, which is pointing to \typename {ExnC} into the trap
60+ \item <4-> Updates \localname {domain\_ state->exn\_ handler } to point to \typename {ExnB} trap
6161\end {itemize }
6262\end {itemize }
6363}
@@ -79,7 +79,7 @@ \subsection{Multiple handlers, multiple traps}
7979
8080\begin {frame }{OCaml exception trap}
8181\begin {itemize }
82- \item Traps form a linked list of exception handlers whose head is \localname {domain\_ state->exn\_ hanlder }
82+ \item Traps form a linked list of exception handlers whose head is \localname {domain\_ state->exn\_ handler }
8383\item On amd64, an exception trap could be represented with this C structure
8484\end {itemize }
8585\bigskip
@@ -129,7 +129,7 @@ \subsection{Raise and reraise}
129129\item \funcname {definitely\_ raise} raises \typename {ExnC}
130130\begin {itemize }
131131\item Loads the \typename {ExnC} exception value into \regname {RAX} % FIXME phrasing
132- \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ hanlder }
132+ \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ handler }
133133\end {itemize }
134134\end {itemize }
135135}%
@@ -155,9 +155,9 @@ \subsection{Raise and reraise}
155155\item \funcname {definitely\_ raise} raises \typename {ExnC}
156156\begin {itemize }
157157\item Loads the \typename {ExnC} exception value into \regname {RAX} % FIXME phrasing
158- \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ hanlder }
158+ \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ handler }
159159% TODO /gray
160- \item Updates \localname {domain\_ state->exn\_ hanlder } to the next handler: \typename {ExnB} handler
160+ \item Updates \localname {domain\_ state->exn\_ handler } to the next handler: \typename {ExnB} handler
161161\end {itemize }
162162\end {itemize }
163163}%
@@ -183,8 +183,8 @@ \subsection{Raise and reraise}
183183\item \funcname {definitely\_ raise} raises \typename {ExnC}
184184\begin {itemize }
185185\item Loads the \typename {ExnC} exception value into \regname {RAX} % FIXME phrasing
186- \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ hanlder }
187- \item Updates \localname {domain\_ state->exn\_ hanlder } to the next handler: \typename {ExnB} handler
186+ \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ handler }
187+ \item Updates \localname {domain\_ state->exn\_ handler } to the next handler: \typename {ExnB} handler
188188% TODO /gray
189189\item Loads the address of \typename {ExnA} handler and jumps to it
190190\end {itemize }
@@ -216,8 +216,8 @@ \subsection{Raise and reraise}
216216\item \funcname {definitely\_ raise} raises \typename {ExnC}
217217\begin {itemize }
218218\item Loads the \typename {ExnC} exception value into \regname {RAX} % FIXME phrasing
219- \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ hanlder }
220- \item Updates \localname {domain\_ state->exn\_ hanlder } to the next handler: \typename {ExnB} handler
219+ \item Restores \regname {RSP} to the value of \localname {domain\_ state->exn\_ handler }
220+ \item Updates \localname {domain\_ state->exn\_ handler } to the next handler: \typename {ExnB} handler
221221\item Loads the address of \typename {ExnA} handler and jumps to it
222222% TODO /gray
223223\item \typename {ExnA} handler is executed
0 commit comments