mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Eliminate static ctors due to Statistic objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -47,14 +47,11 @@
|
||||
#include <set>
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
Statistic NumArgumentsPromoted("argpromotion",
|
||||
"Number of pointer arguments promoted");
|
||||
Statistic NumAggregatesPromoted("argpromotion",
|
||||
"Number of aggregate arguments promoted");
|
||||
Statistic NumArgumentsDead("argpromotion",
|
||||
"Number of dead pointer args eliminated");
|
||||
STATISTIC(NumArgumentsPromoted , "Number of pointer arguments promoted");
|
||||
STATISTIC(NumAggregatesPromoted, "Number of aggregate arguments promoted");
|
||||
STATISTIC(NumArgumentsDead , "Number of dead pointer args eliminated");
|
||||
|
||||
namespace {
|
||||
/// ArgPromotion - The 'by reference' to 'by value' argument promotion pass.
|
||||
///
|
||||
struct ArgPromotion : public CallGraphSCCPass {
|
||||
|
Reference in New Issue
Block a user