summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LexicalScopes.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-08-10 23:58:09 +0000
committerDevang Patel <dpatel@apple.com>2011-08-10 23:58:09 +0000
commit5bc942cc3cc970836d48d8ad276ef3b2b1120ffc (patch)
tree6df4e964d1dbebd834ec0c2f1bf1e3c56c47c0c5 /lib/CodeGen/LexicalScopes.cpp
parent59999264e6cfc7f5d59c9a92c8cd9baaa53434f4 (diff)
downloadllvm-5bc942cc3cc970836d48d8ad276ef3b2b1120ffc.tar.gz
llvm-5bc942cc3cc970836d48d8ad276ef3b2b1120ffc.tar.bz2
llvm-5bc942cc3cc970836d48d8ad276ef3b2b1120ffc.tar.xz
Stay within 80 columns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LexicalScopes.cpp')
-rw-r--r--lib/CodeGen/LexicalScopes.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CodeGen/LexicalScopes.cpp b/lib/CodeGen/LexicalScopes.cpp
index 2276004af2..676328446f 100644
--- a/lib/CodeGen/LexicalScopes.cpp
+++ b/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)