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:
7328797
)
Fix VC++ compilation error.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Fri, 5 May 2006 01:47:05 +0000
(
01:47
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Fri, 5 May 2006 01:47:05 +0000
(
01:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28117
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index cdd58074b2a4a04ac4f04234371fdec4dafb908c..b6c16a88cfe17d59fede042f7165ead9c71ca204 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@
-541,7
+541,7
@@
static bool isFloater(const SUnit *SU) {
static bool isSimpleFloaterUse(const SUnit *SU) {
unsigned NumOps = 0;
- for (std::set<std::pair<SUnit*, bool> >::iterator I = SU->Preds.begin(),
+ for (std::set<std::pair<SUnit*, bool> >::
const_
iterator I = SU->Preds.begin(),
E = SU->Preds.end(); I != E; ++I) {
if (I->second) continue;
if (++NumOps > 1)