From: David Blaikie Date: Tue, 6 May 2014 03:53:10 +0000 (+0000) Subject: Update comment from a recent commit. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3e889f7041a6b663cc33e4243a4bd2fdddf39b21;p=oota-llvm.git Update comment from a recent commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208057 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/LexicalScopes.h b/include/llvm/CodeGen/LexicalScopes.h index 89e0287032d..31d40ff588c 100644 --- a/include/llvm/CodeGen/LexicalScopes.h +++ b/include/llvm/CodeGen/LexicalScopes.h @@ -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 LexicalScopeMap; /// InlinedLexicalScopeMap - Tracks inlined function scopes in current @@ -233,7 +233,7 @@ private: DenseMap 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 AbstractScopeMap; /// AbstractScopesList - Tracks abstract scopes constructed while processing