diff options
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LexicalScopes.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/LexicalScopes.cpp b/llvm/lib/CodeGen/LexicalScopes.cpp index 2276004af22..676328446f1 100644 --- a/llvm/lib/CodeGen/LexicalScopes.cpp +++ b/llvm/lib/CodeGen/LexicalScopes.cpp @@ -221,11 +221,12 @@ void LexicalScopes::constructScopeNest(LexicalScope *Scope) { } } -/// assignInstructionRanges - Find ranges of instructions covered by each lexical -/// scope. +/// assignInstructionRanges - Find ranges of instructions covered by each +/// lexical scope. void LexicalScopes:: assignInstructionRanges(SmallVectorImpl<InsnRange> &MIRanges, - DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) { + DenseMap<const MachineInstr *, LexicalScope *> &MI2ScopeMap) +{ LexicalScope *PrevLexicalScope = NULL; for (SmallVectorImpl<InsnRange>::const_iterator RI = MIRanges.begin(), @@ -248,7 +249,8 @@ assignInstructionRanges(SmallVectorImpl<InsnRange> &MIRanges, /// have machine instructions that belong to lexical scope identified by /// DebugLoc. void LexicalScopes:: -getMachineBasicBlocks(DebugLoc DL, SmallPtrSet<const MachineBasicBlock*, 4> &MBBs) { +getMachineBasicBlocks(DebugLoc DL, + SmallPtrSet<const MachineBasicBlock*, 4> &MBBs) { MBBs.clear(); LexicalScope *Scope = getOrCreateLexicalScope(DL); if (!Scope) |

