Răsfoiți Sursa

fix inject-proxy select instructions

Jeremy Siek 4 ani în urmă
părinte
comite
ad3d3a31f8
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -11989,10 +11989,10 @@ On the other hand, \code{inject-proxy} sets the $57$th bit to $1$.
 (Assign |$\itm{lhs}$| (Prim 'inject-proxy (list |$e_1$|)))
 |$\Rightarrow$|  
 movq |$e'_1$|, %r11
-movq %r11, |$\itm{lhs'}$|
 movq |$(1 << 57)$|, %rax
 orq 0(%r11), %rax
 movq %rax, 0(%r11)
+movq %r11, |$\itm{lhs'}$|
 \end{lstlisting}
 
 The \code{proxy?} operation consumes the information so carefully