diff options
| author | Gabor Greif <ggreif@gmail.com> | 2010-03-26 19:35:48 +0000 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2010-03-26 19:35:48 +0000 |
| commit | 450dfeba6482fc078b3b7855602aea4beaf862cb (patch) | |
| tree | 2436d13de0e68bff8ee92d9c8a3f09780a0d1eb5 /llvm/docs/ProgrammersManual.html | |
| parent | 6d6cf8ff004c1ccd3600ed4207495b74612a7525 (diff) | |
| download | bcm5719-llvm-450dfeba6482fc078b3b7855602aea4beaf862cb.tar.gz bcm5719-llvm-450dfeba6482fc078b3b7855602aea4beaf862cb.zip | |
fix formatting and a validation fail
llvm-svn: 99640
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
| -rw-r--r-- | llvm/docs/ProgrammersManual.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index b6c9a8793c2..a2d32d4e985 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -1960,12 +1960,12 @@ for (Value::use_iterator i = F->use_begin(), e = F->use_end(); i != e; ++i errs() << *Inst << "\n"; } </pre> -Note that dereferencing a <tt>Value::use_iterator</tt is not a very cheap +</div> + +Note that dereferencing a <tt>Value::use_iterator</tt> is not a very cheap operation. Instead of performing <tt>*i</tt> above several times, consider doing it only once in the loop body and reusing its result. -</div> - <p>Alternatively, it's common to have an instance of the <a href="/doxygen/classllvm_1_1User.html">User Class</a> and need to know what <tt>Value</tt>s are used by it. The list of all <tt>Value</tt>s used by a |

