mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Wrapped code and comments at 80 cols; doxygenified some comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -62,9 +62,10 @@ bool TDDataStructures::run(Module &M) {
|
||||
// globals graph.
|
||||
const DSScalarMap &GGSM = GlobalsGraph->getScalarMap();
|
||||
hash_set<DSNode*> Visited;
|
||||
for (DSScalarMap::global_iterator I = GGSM.global_begin(), E = GGSM.global_end();
|
||||
for (DSScalarMap::global_iterator I=GGSM.global_begin(), E=GGSM.global_end();
|
||||
I != E; ++I)
|
||||
markReachableFunctionsExternallyAccessible(GGSM.find(*I)->second.getNode(), Visited);
|
||||
markReachableFunctionsExternallyAccessible(GGSM.find(*I)->second.getNode(),
|
||||
Visited);
|
||||
|
||||
// Loop over unresolved call nodes. Any functions passed into (but not
|
||||
// returned!) from unresolvable call nodes may be invoked outside of the
|
||||
|
Reference in New Issue
Block a user