Rename statistic for instruction fragments -> relaxable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eli Bendersky 2013-01-08 17:41:59 +00:00
parent 8327474e4b
commit 6f6204f235

View File

@ -34,8 +34,8 @@ using namespace llvm;
namespace { namespace {
namespace stats { namespace stats {
STATISTIC(EmittedFragments, "Number of emitted assembler fragments - total"); STATISTIC(EmittedFragments, "Number of emitted assembler fragments - total");
STATISTIC(EmittedInstFragments, STATISTIC(EmittedRelaxableFragments,
"Number of emitted assembler fragments - instruction"); "Number of emitted assembler fragments - relaxable");
STATISTIC(EmittedDataFragments, STATISTIC(EmittedDataFragments,
"Number of emitted assembler fragments - data"); "Number of emitted assembler fragments - data");
STATISTIC(EmittedAlignFragments, STATISTIC(EmittedAlignFragments,
@ -567,7 +567,7 @@ static void writeFragment(const MCAssembler &Asm, const MCAsmLayout &Layout,
break; break;
case MCFragment::FT_Relaxable: case MCFragment::FT_Relaxable:
++stats::EmittedInstFragments; ++stats::EmittedRelaxableFragments;
writeFragmentContents(F, OW); writeFragmentContents(F, OW);
break; break;