[llvm] r208057 - Update comment from a recent commit.
David Blaikie
dblaikie at gmail.com
Mon May 5 20:53:11 PDT 2014
Author: dblaikie
Date: Mon May 5 22:53:10 2014
New Revision: 208057
URL: http://llvm.org/viewvc/llvm-project?rev=208057&view=rev
Log:
Update comment from a recent commit.
Modified:
llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
Modified: llvm/trunk/include/llvm/CodeGen/LexicalScopes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LexicalScopes.h?rev=208057&r1=208056&r2=208057&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/LexicalScopes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/LexicalScopes.h Mon May 5 22:53:10 2014
@@ -224,8 +224,8 @@ private:
private:
const MachineFunction *MF;
- /// LexicalScopeMap - Tracks the scopes in the current function. Owns the
- /// contained LexicalScope*s.
+ /// LexicalScopeMap - Tracks the scopes in the current function.
+ // Use an unordered_map to ensure value pointer validity over insertion.
std::unordered_map<const MDNode *, LexicalScope> LexicalScopeMap;
/// InlinedLexicalScopeMap - Tracks inlined function scopes in current
@@ -233,7 +233,7 @@ private:
DenseMap<DebugLoc, LexicalScope *> InlinedLexicalScopeMap;
/// AbstractScopeMap - These scopes are not included LexicalScopeMap.
- /// AbstractScopes owns its LexicalScope*s.
+ // Use an unordered_map to ensure value pointer validity over insertion.
std::unordered_map<const MDNode *, LexicalScope> AbstractScopeMap;
/// AbstractScopesList - Tracks abstract scopes constructed while processing
More information about the llvm-commits
mailing list