Chris seems fond of #include <vector>. Fix these. Also convert use list in

Value to a vector instead of a list.

Move SchedGraph.h & SchedPriorities.h into lib/CodeGen/InstrScheduling


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2001-09-14 16:56:32 +00:00
parent 78a81a24e1
commit 46cbff625e
26 changed files with 729 additions and 48 deletions

View File

@ -1,6 +1,6 @@
//===-- Value.cpp - Implement the Value class -----------------------------===//
//
// This file implements the Value class.
// This file implements the Value, User, and SymTabValue classes.
//
//===----------------------------------------------------------------------===//
@ -44,7 +44,7 @@ void Value::replaceAllUsesWith(Value *D) {
assert(D && "Value::replaceAllUsesWith(<null>) is invalid!");
assert(D != this && "V->replaceAllUsesWith(V) is NOT valid!");
while (!Uses.empty()) {
User *Use = Uses.front();
User *Use = Uses.back();
#ifndef NDEBUG
unsigned NumUses = Uses.size();
#endif