Unbreak VC++ build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32113 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2006-12-02 02:22:01 +00:00
parent 9919e3df17
commit 97af751deb
12 changed files with 27 additions and 8 deletions

View File

@ -20,6 +20,7 @@
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/Support/MathExtras.h"
#include <cerrno>
#include <cmath>
using namespace llvm;
//===----------------------------------------------------------------------===//

View File

@ -78,6 +78,7 @@
#include "llvm/ADT/Statistic.h"
#include <ostream>
#include <algorithm>
#include <cmath>
using namespace llvm;
namespace {

View File

@ -33,6 +33,7 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
#include <cmath>
using namespace llvm;
namespace {

View File

@ -32,6 +32,7 @@
#include <set>
#include <queue>
#include <memory>
#include <cmath>
using namespace llvm;
namespace {

View File

@ -29,6 +29,7 @@
#include <iostream>
#include <set>
#include <algorithm>
#include <cmath>
using namespace llvm;
/// makeVTList - Return an instance of the SDVTList struct initialized with the

View File

@ -20,6 +20,7 @@
#include "llvm/Support/GetElementPtrTypeIterator.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Support/Debug.h"
#include <cmath>
using namespace llvm;
namespace {

View File

@ -27,6 +27,7 @@
#include "llvm/Target/TargetData.h"
#include <csignal>
#include <map>
#include <cmath>
using std::vector;
using namespace llvm;

View File

@ -436,8 +436,8 @@ namespace {
for (typename C::iterator KI = Kill.begin(), KE = Kill.end();
KI != KE; ++KI) {
for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) {
if (I->first == N) continue;
for (Node::iterator I = (*KI)->begin(), E = (*KI)->end(); I != E; ++I) {
if (I->first == N) continue;
Node::iterator NI = N->find(I->first);
if (NI == N->end()) {
@ -446,8 +446,8 @@ namespace {
unsigned char LV = NI->second & I->second;
if (LV == EQ_BIT) {
assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end()
&& "Lost EQ property.");
assert(std::find(Kill.begin(), Kill.end(), I->first) != Kill.end()
&& "Lost EQ property.");
N->erase(NI);
} else {
NI->second = static_cast<LatticeVal>(LV);
@ -465,9 +465,9 @@ namespace {
}
// Removing references from N to Kill.
Node::iterator I = N->find(*KI);
if (I != N->end()) {
N->erase(I); // breaks reciprocity until Kill is deleted.
Node::iterator NI = N->find(*KI);
if (NI != N->end()) {
N->erase(NI); // breaks reciprocity until Kill is deleted.
}
}

View File

@ -1678,7 +1678,7 @@ SExtInst::SExtInst(
assert(checkCast(getOpcode(), S, Ty) && "Illegal SExt");
}
SExtInst::SExtInst::SExtInst(
SExtInst::SExtInst(
Value *S, const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd
) : CastInst(Ty, SExt, S, Name, InsertAtEnd) {
assert(checkCast(getOpcode(), S, Ty) && "Illegal SExt");

View File

@ -117,6 +117,9 @@
<File
RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\AliasDebugger.cpp">
</File>
<File
RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp">
</File>

View File

@ -175,6 +175,9 @@
<File
RelativePath="..\..\lib\Support\Statistic.cpp">
</File>
<File
RelativePath="..\..\lib\Support\Streams.cpp">
</File>
<File
RelativePath="..\..\lib\Support\StringExtras.cpp">
</File>
@ -313,6 +316,9 @@
<File
RelativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h">
</File>
<File
RelativePath="..\..\include\llvm\Support\Streams.h">
</File>
<File
RelativePath="..\..\include\llvm\Support\SystemUtils.h">
</File>

View File

@ -183,6 +183,9 @@
<File
RelativePath="..\..\lib\VMCore\Pass.cpp">
</File>
<File
RelativePath="..\..\lib\VMCore\PassManager.cpp">
</File>
<File
RelativePath="..\..\lib\VMCore\SymbolTable.cpp">
</File>