mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +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…
Reference in New Issue
Block a user