Преглед изворни кода

added remark about partial eval to avoid comparing two immediates

Jeremy G. Siek пре 2 година
родитељ
комит
f4a13872a5
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      book.tex

+ 3 - 1
book.tex

@@ -10027,7 +10027,9 @@ pass.
 The second argument of the \key{cmpq} instruction must not be an
 immediate value (such as an integer). So, if you are comparing two
 immediates, we recommend inserting a \key{movq} instruction to put the
-second argument in \key{rax}.
+second argument in \key{rax}. On the other hand, if you implemented
+the partial evaluator (section~\ref{sec:pe-Lvar}), you could
+update it for \LangIf{} and then this situation would not arise.
 %
 As usual, \key{cmpq} may have at most one memory reference.
 %