aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-08 22:43:26 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-08 22:43:26 +0000
commitd389165c1434ff7ffadeaad3608e8ba2818e7fac (patch)
treec4b4ca37dc6743ba4c0e880b126d9973c31fa0aa /llvm/lib/Object/MachOObjectFile.cpp
parentece61624b122aa8a9e08b43e537cdc550c9342c3 (diff)
downloadllvm-d389165c1434ff7ffadeaad3608e8ba2818e7fac.zip
llvm-d389165c1434ff7ffadeaad3608e8ba2818e7fac.tar.gz
llvm-d389165c1434ff7ffadeaad3608e8ba2818e7fac.tar.bz2
AArch64: Stop using MachineInstr::getNextNode()
Stop using `getNextNode()` to get an insertion point (at least, in this one place). Instead, use iterator logic directly. The `getNextNode()` interface isn't actually supposed to work for creating iterators; it's supposed to return `nullptr` (not a real iterator) if this is the last node. It's currently broken and will "happen" to work, but if we ever fix the function, we'll get some strange failures in places like this. llvm-svn: 249764
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions