Author: David Schneider <[email protected]>
Branch: extradoc
Changeset: r4569:86b5b6317083
Date: 2012-08-14 17:14 +0200
http://bitbucket.org/pypy/extradoc/changeset/86b5b6317083/
Log: Some formatting for guard compilation figure
diff --git a/talk/vmil2012/paper.tex b/talk/vmil2012/paper.tex
--- a/talk/vmil2012/paper.tex
+++ b/talk/vmil2012/paper.tex
@@ -515,12 +515,12 @@
pseudo-assembler if the operation and the guard are compiled separated or if
they are merged.
-\todo{Figure needs better formatting}
+%\todo{Figure needs better formatting}
\begin{figure}[ht]
\noindent
\centering
\begin{minipage}{1\columnwidth}
-\begin{lstlisting}[mathescape, numbers=right, escapechar=|, firstnumber=18]
+\begin{lstlisting}[xleftmargin=20pt,xrightmargin=20pt,framexleftmargin=5pt,framexrightmargin=-10pt,mathescape,
numbers=right, escapechar=|, firstnumber=18,frame=b]
$b_3$ = int_eq($i_5$, 1) |\setcounter{lstnumber}{17}|
guard_false($b_3$) |\setcounter{lstnumber}{-1}|
\end{lstlisting}
@@ -544,7 +544,7 @@
...
\end{lstlisting}
\end{minipage}
- \caption{Result of separated (left) and merged (right) compilation of
operations and guards (top).}
+ \caption{Result of separated (left) and merged (right) compilation of one
guard and the following operation (top).}
\label{fig:trace-compiled}
\end{figure}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit