mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-04 02:47:25 +00:00
Fix compilation problem on GCC 2.9x
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6fe6905df2
commit
4432d8f3b5
@ -94,7 +94,7 @@ void PoolAllocate::buildIndirectFunctionSets(Module &M) {
|
||||
firstCalledF));
|
||||
if (Callees.size() > 1) {
|
||||
for (std::vector<GlobalValue*>::iterator CalleesI =
|
||||
++Callees.begin(), CalleesE = Callees.end();
|
||||
Callees.begin()+1, CalleesE = Callees.end();
|
||||
CalleesI != CalleesE; ++CalleesI) {
|
||||
Function *calledF = dyn_cast<Function>(*CalleesI);
|
||||
FuncECs.unionSetsWith(firstCalledF, calledF);
|
||||
|
Loading…
x
Reference in New Issue
Block a user