mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-29 14:20:29 +00:00
Fix unused function warning in StatisticTest.cpp
llvm-svn: 327015
This commit is contained in:
parent
7766c647cb
commit
a5190f65e4
@ -19,6 +19,7 @@ namespace {
|
||||
STATISTIC(Counter, "Counts things");
|
||||
STATISTIC(Counter2, "Counts other things");
|
||||
|
||||
#if LLVM_ENABLE_STATS
|
||||
static void
|
||||
extractCounters(const std::vector<std::pair<StringRef, unsigned>> &Range,
|
||||
OptionalStatistic &S1, OptionalStatistic &S2) {
|
||||
@ -29,6 +30,7 @@ extractCounters(const std::vector<std::pair<StringRef, unsigned>> &Range,
|
||||
S2 = S;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST(StatisticTest, Count) {
|
||||
EnableStatistics();
|
||||
|
Loading…
Reference in New Issue
Block a user