From 945cdd07d31214d33c498ca72882baf5e6cdc373 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 6 May 2014 03:53:10 +0000 Subject: [PATCH] Update comment from a recent commit. llvm-svn: 208057 --- llvm/include/llvm/CodeGen/LexicalScopes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/include/llvm/CodeGen/LexicalScopes.h b/llvm/include/llvm/CodeGen/LexicalScopes.h index 89e0287032d8..31d40ff588cc 100644 --- a/llvm/include/llvm/CodeGen/LexicalScopes.h +++ b/llvm/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