mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-21 09:25:07 +00:00
Fix another bug in Prolangs-C++/objects
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17372 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15e4f7430c
commit
f498568240
@ -171,7 +171,8 @@ void PA::EquivClassGraphs::buildIndirectFunctionSets(Module &M) {
|
||||
// Record the argument nodes for use in merging later below
|
||||
EquivClassGraphArgsInfo& GraphInfo = getECGraphInfo(mergedG);
|
||||
for (Function::aiterator AI1 = LF->abegin(); AI1 != LF->aend(); ++AI1)
|
||||
GraphInfo.argNodes.push_back(mergedG->getNodeForValue(AI1));
|
||||
if (DS::isPointerType(AI1->getType()))
|
||||
GraphInfo.argNodes.push_back(mergedG->getNodeForValue(AI1));
|
||||
|
||||
// Merge in the graphs of all other functions in this equiv. class.
|
||||
// Note that two or more functions may have the same graph, and it
|
||||
|
Loading…
x
Reference in New Issue
Block a user