mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//===- DataStructureStats.cpp - Various statistics for DS Graphs ----------===//
|
||||
//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file was developed by the LLVM research group and is distributed under
|
||||
// the University of Illinois Open Source License. See LICENSE.TXT for details.
|
||||
//
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This file defines a little pass that prints out statistics for DS Graphs.
|
||||
@@ -76,7 +76,7 @@ void DSGraphStats::countCallees(const Function& F) {
|
||||
unsigned numIndirectCalls = 0, totalNumCallees = 0;
|
||||
|
||||
for (DSGraph::fc_iterator I = TDGraph->fc_begin(), E = TDGraph->fc_end();
|
||||
I != E; ++I)
|
||||
I != E; ++I)
|
||||
if (isIndirectCallee(I->getCallSite().getCalledValue())) {
|
||||
// This is an indirect function call
|
||||
std::vector<Function*> Callees;
|
||||
@@ -90,10 +90,10 @@ void DSGraphStats::countCallees(const Function& F) {
|
||||
<< "' at call: \n"
|
||||
<< *I->getCallSite().getInstruction();
|
||||
}
|
||||
|
||||
|
||||
TotalNumCallees += totalNumCallees;
|
||||
NumIndirectCalls += numIndirectCalls;
|
||||
|
||||
|
||||
if (numIndirectCalls)
|
||||
std::cout << " In function " << F.getName() << ": "
|
||||
<< (totalNumCallees / (double) numIndirectCalls)
|
||||
|
Reference in New Issue
Block a user