Update comments.

llvm-svn: 140531
This commit is contained in:
Eric Christopher 2011-09-26 15:03:22 +00:00
parent 22e157009c
commit 9c13eeac99
1 changed files with 3 additions and 3 deletions

View File

@ -1824,7 +1824,7 @@ void CGDebugInfo::UpdateLineDirectiveRegion(CGBuilderTy &Builder) {
return; return;
} }
/// EmitRegionStart- Constructs the debug code for entering a declarative /// EmitRegionStart- Constructs the debug code for entering a declarative
/// region - "llvm.dbg.region.start.". /// region - beginning of a DW_TAG_lexical_block.
void CGDebugInfo::EmitRegionStart(CGBuilderTy &Builder) { void CGDebugInfo::EmitRegionStart(CGBuilderTy &Builder) {
llvm::DIDescriptor D = llvm::DIDescriptor D =
DBuilder.createLexicalBlock(RegionStack.empty() ? DBuilder.createLexicalBlock(RegionStack.empty() ?
@ -1838,11 +1838,11 @@ void CGDebugInfo::EmitRegionStart(CGBuilderTy &Builder) {
} }
/// EmitRegionEnd - Constructs the debug code for exiting a declarative /// EmitRegionEnd - Constructs the debug code for exiting a declarative
/// region - "llvm.dbg.region.end." /// region - end of a DW_TAG_lexical_block.
void CGDebugInfo::EmitRegionEnd(CGBuilderTy &Builder) { void CGDebugInfo::EmitRegionEnd(CGBuilderTy &Builder) {
assert(!RegionStack.empty() && "Region stack mismatch, stack empty!"); assert(!RegionStack.empty() && "Region stack mismatch, stack empty!");
// Provide an region stop point. // Provide a region stop point.
EmitStopPoint(Builder); EmitStopPoint(Builder);
RegionStack.pop_back(); RegionStack.pop_back();