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/CodeGen/TwoAddressInstructionPass.cpp | |
| 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/CodeGen/TwoAddressInstructionPass.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 335a7e499cf..932542dd21d 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -45,11 +45,11 @@ using namespace llvm; namespace { - static Statistic<> NumTwoAddressInstrs("twoaddressinstruction", + static Statistic NumTwoAddressInstrs("twoaddressinstruction", "Number of two-address instructions"); - static Statistic<> NumCommuted("twoaddressinstruction", + static Statistic NumCommuted("twoaddressinstruction", "Number of instructions commuted to coalesce"); - static Statistic<> NumConvertedTo3Addr("twoaddressinstruction", + static Statistic NumConvertedTo3Addr("twoaddressinstruction", "Number of instructions promoted to 3-address"); struct VISIBILITY_HIDDEN TwoAddressInstructionPass |

