Rename a function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100797 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2010-04-08 18:43:56 +00:00
parent d0024fec25
commit e37b0c6c25
2 changed files with 7 additions and 9 deletions

View File

@ -2241,15 +2241,14 @@ bool DwarfDebug::extractScopeInformation() {
CurrentFnDbgScope->fixInstructionMarkers(MIIndexMap); CurrentFnDbgScope->fixInstructionMarkers(MIIndexMap);
populateDbgScopeInverseMaps(); identifyScopeMarkers();
return !DbgScopeMap.empty(); return !DbgScopeMap.empty();
} }
/// populateDbgScopeInverseMaps() - Populate DbgScopeBeginMap and /// identifyScopeMarkers() - Indentify instructions that are marking
/// DbgScopeEndMap. This maps are used to indentify debug scope started /// beginning of or end of a scope.
/// and ended by an instruction. void DwarfDebug::identifyScopeMarkers() {
void DwarfDebug::populateDbgScopeInverseMaps() {
// Each scope has first instruction and last instruction to mark beginning // Each scope has first instruction and last instruction to mark beginning
// and end of a scope respectively. Create an inverse map that list scopes // and end of a scope respectively. Create an inverse map that list scopes

View File

@ -526,10 +526,9 @@ private:
return Lines.size(); return Lines.size();
} }
/// populateDbgScopeInverseMaps() - Populate DbgScopeBeginMap and /// identifyScopeMarkers() - Indentify instructions that are marking
/// DbgScopeEndMap. This maps are used to indentify debug scope started /// beginning of or end of a scope.
/// and ended by an instruction. void identifyScopeMarkers();
void populateDbgScopeInverseMaps();
/// extractScopeInformation - Scan machine instructions in this function /// extractScopeInformation - Scan machine instructions in this function
/// and collect DbgScopes. Return true, if atleast one scope was found. /// and collect DbgScopes. Return true, if atleast one scope was found.