Przeglądaj źródła

updated liveness analysis

Jeremy Siek 6 lat temu
rodzic
commit
9598a888ac
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      book.tex

+ 1 - 1
book.tex

@@ -3992,7 +3992,7 @@ compilation we do not know which way the branch will go, so we do not
 know which of the successor's live-before set to use.  The solution
 know which of the successor's live-before set to use.  The solution
 comes from the observation that there is no harm in identifying more
 comes from the observation that there is no harm in identifying more
 variables as live than absolutely necessary. Thus, we can take the
 variables as live than absolutely necessary. Thus, we can take the
-union of the live-after sets from all the successors to be the
+union of the live-before sets from all the successors to be the
 live-after set for the block. Once we have computed the live-after
 live-after set for the block. Once we have computed the live-after
 set, we can proceed to perform liveness analysis on the block just as
 set, we can proceed to perform liveness analysis on the block just as
 we did in Section~\ref{sec:liveness-analysis-r1}.
 we did in Section~\ref{sec:liveness-analysis-r1}.