File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3728,7 +3728,7 @@ \section{Select Instructions}
37283728In the \code{select\_instructions} pass we begin the work of
37293729translating \racket{from \LangCVar{}} to \LangXVar{}. The target
37303730language of this pass is a variant of x86 that still uses variables,
3731- so we add an AST node of the form $\VAR {\itm{var}}$ to the \Arg{}
3731+ so we add an AST node of the form $\XVAR {\itm{var}}$ to the \Arg{}
37323732nonterminal of the \LangXInt{} abstract syntax
37333733(figure~\ref{fig:x86-int-ast}).
37343734\racket{We recommend implementing the
Original file line number Diff line number Diff line change 374374\newcommand {\SEQ }[2]{\key {(Seq}~#1~#2\key {)}}
375375
376376\if \edition\racketEd
377+ \newcommand {\XVAR }[1]{\key {(Var}~#1\key {)}}
377378\newcommand {\CGDEF }[4]{\LP\key {define}~\LP #1~#2\RP \, #3~#4\RP }
378379\newcommand {\IMM }[1]{\key {(Imm}~#1\key {)}}
379380\newcommand {\REG }[1]{\key {(Reg}~#1\key {)}}
396397\newcommand {\INST }[3]{\LP\key {Inst}~#1~#2~#3\RP }
397398\fi
398399\if \edition\pythonEd
400+ \newcommand {\XVAR }[1]{\key {Variable}\LP #1 \RP }
399401\newcommand {\CGDEF }[4]{\key {def}~#1\LP #2 \RP ~#3 \code {:}~#4}
400402\newcommand {\TAILJMP }[2]{\key {TailJmp}\LP #1\code {, }#2\RP }
401403\newcommand {\INDCALLQ }[2]{\key {IndirectCallq}\LP #1\code {, }#2\RP }
You can’t perform that action at this time.
0 commit comments