Variable naming style fix /nfc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Xinliang David Li 2016-02-05 23:24:42 +00:00
parent 8ed60ab661
commit 412cc8ade2

View File

@ -310,10 +310,10 @@ public:
/// Update the symtab by adding \p FuncName to the table. This interface
/// is used by the raw and text profile readers.
void addFuncName(StringRef FuncName) {
auto ins = NameTab.insert(FuncName);
if (ins.second)
auto Ins = NameTab.insert(FuncName);
if (Ins.second)
MD5NameMap.push_back(std::make_pair(
IndexedInstrProf::ComputeHash(FuncName), ins.first->getKey()));
IndexedInstrProf::ComputeHash(FuncName), Ins.first->getKey()));
}
/// Map a function address to its name's MD5 hash. This interface
/// is only used by the raw profiler reader.