Avoid using mutex locks if not in multithreaded mode by using a SmartScopedMutex
authorTorok Edwin <edwintorok@gmail.com>
Sun, 27 Sep 2009 11:08:03 +0000 (11:08 +0000)
committerTorok Edwin <edwintorok@gmail.com>
Sun, 27 Sep 2009 11:08:03 +0000 (11:08 +0000)
commitd7830d595d43c6de4512d2ebf44a95cf4fc77ea2
treedf7031c121ee8458f4eb515e83f621e8120ba008
parente298ab26b11cf6e278b4876bbc5b890e234d4029
Avoid using mutex locks if not in multithreaded mode by using a SmartScopedMutex
in RegisterStatistic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82896 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Statistic.cpp