diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-08 22:20:37 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-08 22:20:37 +0000 |
commit | a3da44882fd50f38ea4dd70c6ce4113c98c0b543 (patch) | |
tree | bc5489eec878d428b9f7cc6073d175200aeacfe8 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 6c2a3b8368756c08a3dfe28ca28fbaf78e45adaa (diff) | |
download | llvm-a3da44882fd50f38ea4dd70c6ce4113c98c0b543.zip llvm-a3da44882fd50f38ea4dd70c6ce4113c98c0b543.tar.gz llvm-a3da44882fd50f38ea4dd70c6ce4113c98c0b543.tar.bz2 |
PowerPC: Don't use getNextNode() for insertion point
Stop using `getNextNode()` to create an insertion point for machine
instructions (at least, in this one place). Instead, use an iterator.
As a drive-by, clean up dump statements to use iterator logic.
The `getNextNode()` interface isn't actually supposed to work for
insertion points; it's supposed to return `nullptr` 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.
llvm-svn: 249758
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions