diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-12-06 17:46:33 +0000 |
| commit | 700b873130d0865283319f6e328f1887b19f25f0 (patch) | |
| tree | 0c3de26f259a9ce6c47d509613ac6e0671d01849 /llvm/lib/Target/Alpha | |
| parent | acbb456dde4a1561764504b980f9a40cc682e962 (diff) | |
| download | bcm5719-llvm-700b873130d0865283319f6e328f1887b19f25f0.tar.gz bcm5719-llvm-700b873130d0865283319f6e328f1887b19f25f0.zip | |
Detemplatize the Statistic class. The only type it is instantiated with
is 'unsigned'.
llvm-svn: 32279
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaLLRP.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp index 821d4324560..a9ba19845db 100644 --- a/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp @@ -27,7 +27,7 @@ using namespace llvm; namespace { - Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed"); + Statistic EmittedInsts("asm-printer", "Number of machine instrs printed"); struct VISIBILITY_HIDDEN AlphaAsmPrinter : public AsmPrinter { diff --git a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp index 15de348ee4e..884215e7930 100644 --- a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp +++ b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp @@ -27,7 +27,7 @@ using namespace llvm; namespace { - Statistic<> + Statistic NumEmitted("alpha-emitter", "Number of machine instructions emitted"); } diff --git a/llvm/lib/Target/Alpha/AlphaLLRP.cpp b/llvm/lib/Target/Alpha/AlphaLLRP.cpp index eb4867d6689..06d217b77bb 100644 --- a/llvm/lib/Target/Alpha/AlphaLLRP.cpp +++ b/llvm/lib/Target/Alpha/AlphaLLRP.cpp @@ -23,8 +23,8 @@ using namespace llvm; namespace { - Statistic<> nopintro("alpha-nops", "Number of nops inserted"); - Statistic<> nopalign("alpha-nops-align", + Statistic nopintro("alpha-nops", "Number of nops inserted"); + Statistic nopalign("alpha-nops-align", "Number of nops inserted for alignment"); cl::opt<bool> |

