commit | 5bcaf78e5909dc8dab481ad37cbf960f5e9f82f2 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 01 00:40:57 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 01 00:40:57 2016 +0000 |
tree | 729917c465db4930ea12ac4304103c64dd58a160 | |
parent | 1199c8cbc85fd691a7d5160a12a63ddd158a1daf [diff] |
CodeGen: Use MachineInstr& in PrologEpilogInserter, NFC Use MachineInstr& over MachineInstr* to avoid implicit iterator to pointer conversions. MachineInstr*-as-nullptr was being used as a flag for whether the for loop terminated normally; I added an explicit `bool` instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274310 91177308-0d34-0410-b5e6-96231b3b80d8