projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fe6905
)
Fix compilation problem on GCC 2.9x
author
Chris Lattner
<sabre@nondot.org>
Sat, 7 Jun 2003 20:29:58 +0000
(20:29 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 7 Jun 2003 20:29:58 +0000
(20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6667
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/PoolAllocate.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/PoolAllocate.cpp
b/lib/Transforms/IPO/PoolAllocate.cpp
index ef64d431062fb546f1525bd6c38a96899a0f58b1..facfcbec8b8a1d7671e182ed221004d589fca704 100644
(file)
--- a/
lib/Transforms/IPO/PoolAllocate.cpp
+++ b/
lib/Transforms/IPO/PoolAllocate.cpp
@@
-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);