Changes in directory llvm-poolalloc/lib/DSA:
DataStructure.cpp updated: 1.248.2.3 -> 1.248.2.4 --- Log message: Merged in revision 1.258. This patch marks nodes incomplete. --- Diffs of the changes: (+8 -0) DataStructure.cpp | 8 ++++++++ 1 files changed, 8 insertions(+) Index: llvm-poolalloc/lib/DSA/DataStructure.cpp diff -u llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.3 llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.4 --- llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.3 Wed Dec 13 15:58:21 2006 +++ llvm-poolalloc/lib/DSA/DataStructure.cpp Tue Feb 13 16:02:36 2007 @@ -1978,6 +1978,14 @@ E = AuxFunctionCalls.end(); I != E; ++I) markIncomplete(*I); + // Mark stuff passed into external functions as being incomplete. + // External functions may not appear in Aux during td, so process + // them specially + for (std::list<DSCallSite>::iterator I = FunctionCalls.begin(), + E = FunctionCalls.end(); I != E; ++I) + if(I->isDirectCall() && I->getCalleeFunc()->isExternal()) + markIncomplete(*I); + // Mark all global nodes as incomplete. for (DSScalarMap::global_iterator I = ScalarMap.global_begin(), E = ScalarMap.global_end(); I != E; ++I) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits