aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunctionPrinterPass.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-26 18:48:07 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-26 18:48:07 +0000
commit05006e2813e3219a508d5261f3782ef47c08f762 (patch)
tree1065d2ac88745744f0712fcda47ce5e55d4a9512 /lib/CodeGen/MachineFunctionPrinterPass.cpp
parentcfa7fb6df5aaaf9e54fe97633167b44782224e45 (diff)
re-commit r109220, the compile error has already been fixed
Simplifying use_iterators by dereferencing is not a good idea. The codebase does not depend in this any more, and it may introduce hidden runtime cost. If you get compile errors, please dereference your iterator before passing to cast<> (and friends). Also: please consider caching the result of operator* and reusing that instead of dereferencing many times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions