From: Yuchen Wu <yuchenericwu@hotmail.com>
Date: Wed, 18 Dec 2013 18:46:25 +0000 (+0000)
Subject: llvm-cov: s/(.*)Executed/\1Exec/
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2ceb6aeb6669cb9406f7326d80861d7f1c99330f;p=oota-llvm.git

llvm-cov: s/(.*)Executed/\1Exec/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197595 91177308-0d34-0410-b5e6-96231b3b80d8
---

diff --git a/lib/IR/GCOV.cpp b/lib/IR/GCOV.cpp
index 2024c1d21f1..62cbc5ef03e 100644
--- a/lib/IR/GCOV.cpp
+++ b/lib/IR/GCOV.cpp
@@ -525,18 +525,18 @@ void FileInfo::printFunctionSummary(raw_fd_ostream &OS,
          I != E; ++I) {
     const GCOVFunction *Func = *I;
     uint64_t EntryCount = Func->getEntryCount();
-    uint32_t BlocksExecuted = 0;
+    uint32_t BlocksExec = 0;
     for (GCOVFunction::BlockIterator I = Func->block_begin(),
            E = Func->block_end(); I != E; ++I) {
       const GCOVBlock *Block = *I;
       if (Block->getNumDstEdges() && Block->getCount())
-          ++BlocksExecuted;
+          ++BlocksExec;
     }
 
     OS << "function " << Func->getName() << " called " << EntryCount
        << " returned " << safeDiv(Func->getExitCount()*100, EntryCount)
        << "% blocks executed "
-       << safeDiv(BlocksExecuted*100, Func->getNumBlocks()-1) << "%\n";
+       << safeDiv(BlocksExec*100, Func->getNumBlocks()-1) << "%\n";
   }
 }