mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
fix formatting and a validation fail
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99640 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4de7368bf9
commit
394fdfbda8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user