mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Split some long lines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ea6769070
commit
7836d609fa
@ -104,7 +104,8 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
// Start inlining all of the functions we can... some may not be
|
||||
// inlinable if they are external...
|
||||
//
|
||||
std::vector<GlobalValue*> Callees(Call.getCalleeNode().getNode()->getGlobals());
|
||||
std::vector<GlobalValue*> Callees =
|
||||
Call.getCalleeNode().getNode()->getGlobals();
|
||||
|
||||
// Loop over the functions, inlining whatever we can...
|
||||
for (unsigned c = 0; c != Callees.size(); ++c) {
|
||||
@ -114,10 +115,10 @@ DSGraph &BUDataStructures::calculateGraph(Function &F) {
|
||||
if (&FI == &F) {
|
||||
// Self recursion... simply link up the formal arguments with the
|
||||
// actual arguments...
|
||||
|
||||
DEBUG(std::cerr << "\t[BU] Self Inlining: " << F.getName() << "\n");
|
||||
|
||||
if (Call.getReturnValueNode().getNode()) // Handle the return value if present...
|
||||
// Handle the return value if present...
|
||||
if (Call.getReturnValueNode().getNode())
|
||||
Graph->getRetNode().mergeWith(Call.getReturnValueNode());
|
||||
|
||||
// Resolve the arguments in the call to the actual values...
|
||||
|
Loading…
x
Reference in New Issue
Block a user