diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-09-03 01:22:56 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-09-03 01:22:56 +0000 |
commit | 8cc24eadd2e6269b76a2b5c715a0af8b701dbda1 (patch) | |
tree | 439a57293cc7faaf9a52a7bf69cd148538e6e098 /llvm/lib/IR/Verifier.cpp | |
parent | e974f572980121460ec5e1007dfd0f2e3f90b3db (diff) | |
download | bcm5719-llvm-8cc24eadd2e6269b76a2b5c715a0af8b701dbda1.tar.gz bcm5719-llvm-8cc24eadd2e6269b76a2b5c715a0af8b701dbda1.zip |
ADT: Remove external uses of ilist_iterator, NFC
Delete the dead code for Write(ilist_iterator) in the IR Verifier,
inline report(ilist_iterator) at its call sites in the MachineVerifier,
and use simple_ilist<>::iterator in SymbolTableListTraits.
The only remaining reference to ilist_iterator outside of the ilist
implementation is from MachineInstrBundleIterator. I'll get rid of that
in a follow-up.
llvm-svn: 280565
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index a4592313f36..6e9eb7476a1 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -137,10 +137,6 @@ struct VerifierSupport { : OS(OS), M(M), MST(&M), DL(M.getDataLayout()), Context(M.getContext()) {} private: - template <class NodeTy> void Write(const ilist_iterator<NodeTy> &I) { - Write(&*I); - } - void Write(const Module *M) { *OS << "; ModuleID = '" << M->getModuleIdentifier() << "'\n"; } |