Refactor statistic a big and introduce a horrible-but-necessary macro
authorChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 21:27:47 +0000 (21:27 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Dec 2006 21:27:47 +0000 (21:27 +0000)
commitecb27687587d04475097596c53349b631f7ef42d
treedf0f9ceaf5615bb9937ac0fdcc0981ae3260f396
parent9d908e8ca0314a8952b562de9d7e44bcf71426b1
Refactor statistic a big and introduce a horrible-but-necessary macro
(STATISTIC), which allows us to define statistics that don't introduce
static ctors into the .o files.  I'm migrating code over to use this
incrementally.

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