diff options
| author | Devang Patel <dpatel@apple.com> | 2010-04-01 17:16:48 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2010-04-01 17:16:48 +0000 |
| commit | 4c603b1c4e70061d21634578011d7dc121912d89 (patch) | |
| tree | 6ec41c0877263084067321ba7775779a1c8b5caf | |
| parent | f4b37e192670c356c69abc04cb18846a1c8165ff (diff) | |
| download | bcm5719-llvm-4c603b1c4e70061d21634578011d7dc121912d89.tar.gz bcm5719-llvm-4c603b1c4e70061d21634578011d7dc121912d89.zip | |
Cosmetic changes.
Update comment, rename a local variable.
llvm-svn: 100116
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index d81c304356d..8f8c7f8bfee 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1234,13 +1234,13 @@ DIE *DwarfDebug::createSubprogramDIE(const DISubprogram &SP, bool MakeDecl) { return SPDie; } -/// getUpdatedDbgScope - Find or create DbgScope assicated with the instruction. -/// Initialize scope and update scope hierarchy. +/// getUpdatedDbgScope - Find DbgScope assicated with the instruction. +/// Update scope hierarchy. Create abstract scope if required. DbgScope *DwarfDebug::getUpdatedDbgScope(MDNode *N, const MachineInstr *MI, MDNode *InlinedAt) { assert(N && "Invalid Scope encoding!"); assert(MI && "Missing machine instruction!"); - bool GetConcreteScope = InlinedAt != 0; + bool isAConcreteScope = InlinedAt != 0; DbgScope *NScope = NULL; @@ -1254,7 +1254,7 @@ DbgScope *DwarfDebug::getUpdatedDbgScope(MDNode *N, const MachineInstr *MI, return NScope; DbgScope *Parent = NULL; - if (GetConcreteScope) { + if (isAConcreteScope) { DILocation IL(InlinedAt); Parent = getUpdatedDbgScope(IL.getScope().getNode(), MI, IL.getOrigLocation().getNode()); @@ -1276,7 +1276,7 @@ DbgScope *DwarfDebug::getUpdatedDbgScope(MDNode *N, const MachineInstr *MI, CurrentFnDbgScope = NScope; } - if (GetConcreteScope) { + if (isAConcreteScope) { ConcreteScopes[InlinedAt] = NScope; getOrCreateAbstractScope(N); } |

