mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 15:39:28 +00:00
CodeGen: drive-by formatting clean ups
Minor tweaks to whitespace formatting that I noticed was off. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227014 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0f3d61a2f
commit
802805d352
@ -1119,7 +1119,7 @@ static DebugLoc findPrologueEndLoc(const MachineFunction *MF) {
|
||||
for (const auto &MBB : *MF)
|
||||
for (const auto &MI : MBB)
|
||||
if (!MI.isDebugValue() && !MI.getFlag(MachineInstr::FrameSetup) &&
|
||||
!MI.getDebugLoc().isUnknown()) {
|
||||
!MI.getDebugLoc().isUnknown()) {
|
||||
// Did the target forget to set the FrameSetup flag for CFI insns?
|
||||
assert(!MI.isCFIInstruction() &&
|
||||
"First non-frame-setup instruction is a CFI instruction.");
|
||||
@ -1223,12 +1223,12 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
|
||||
if (!PrologEndLoc.isUnknown()) {
|
||||
DebugLoc FnStartDL =
|
||||
PrologEndLoc.getFnDebugLoc(MF->getFunction()->getContext());
|
||||
recordSourceLine(
|
||||
FnStartDL.getLine(), FnStartDL.getCol(),
|
||||
FnStartDL.getScope(MF->getFunction()->getContext()),
|
||||
// We'd like to list the prologue as "not statements" but GDB behaves
|
||||
// poorly if we do that. Revisit this with caution/GDB (7.5+) testing.
|
||||
DWARF2_FLAG_IS_STMT);
|
||||
|
||||
// We'd like to list the prologue as "not statements" but GDB behaves
|
||||
// poorly if we do that. Revisit this with caution/GDB (7.5+) testing.
|
||||
recordSourceLine(FnStartDL.getLine(), FnStartDL.getCol(),
|
||||
FnStartDL.getScope(MF->getFunction()->getContext()),
|
||||
DWARF2_FLAG_IS_STMT);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user