Unbreak VC++ build.
authorJeff Cohen <jeffc@jolt-lang.org>
Sat, 2 Dec 2006 02:22:01 +0000 (02:22 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Sat, 2 Dec 2006 02:22:01 +0000 (02:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32113 91177308-0d34-0410-b5e6-96231b3b80d8

12 files changed:
lib/Analysis/ConstantFolding.cpp
lib/Analysis/ScalarEvolution.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/ExecutionEngine/Interpreter/Execution.cpp
lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
lib/Transforms/Scalar/PredicateSimplifier.cpp
lib/VMCore/Instructions.cpp
win32/Analysis/Analysis.vcproj
win32/Support/Support.vcproj
win32/VMCore/VMCore.vcproj

index 1b355b6478be71d8fbd043d935447ec7c696a061..359766d444f88bd9d7ba8e464630ed82c70cff93 100644 (file)
@@ -20,6 +20,7 @@
 #include "llvm/Support/GetElementPtrTypeIterator.h"
 #include "llvm/Support/MathExtras.h"
 #include <cerrno>
+#include <cmath>
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//
index 26d73fc0332d85f2511ceace15ee251bc8eed697..87232b371cec8c3c79e7820b1fdb8ce9a39df64e 100644 (file)
@@ -78,6 +78,7 @@
 #include "llvm/ADT/Statistic.h"
 #include <ostream>
 #include <algorithm>
+#include <cmath>
 using namespace llvm;
 
 namespace {
index 10a3565c33e70faf8d491782ec35559feba0a1ca..9248662e39026ea636b7ad48c946ac0acd960ba9 100644 (file)
@@ -33,6 +33,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/ADT/STLExtras.h"
 #include <algorithm>
+#include <cmath>
 using namespace llvm;
 
 namespace {
index 18a3db81500d931c3a41c06b5484090bd66c1d2c..d941640e60a8c7d8903aceb5c1ce5d2f916786f6 100644 (file)
@@ -32,6 +32,7 @@
 #include <set>
 #include <queue>
 #include <memory>
+#include <cmath>
 using namespace llvm;
 
 namespace {
index 9528cb43c85f1004907e3b311812684cca2ba8e3..1dcf9fda059e13eabe7783d7b5b26f34013e578a 100644 (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
index 5b287b2cc42a0abeb52a1da1bfa70d062cdf62b2..fd5fb6f0bd39e741b0b440792f0d7009993a58c1 100644 (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 {
index 1b8f399b396d232196daf67e598b32dbf578b467..161873c2c88ad9df3b19b82dce9e3dd1c8453f60 100644 (file)
@@ -27,6 +27,7 @@
 #include "llvm/Target/TargetData.h"
 #include <csignal>
 #include <map>
+#include <cmath>
 using std::vector;
 
 using namespace llvm;
index 7c6f7d5ecb4df7064a33890e646b4dd4f0c01582..7d0a40456f538b8efe6e9e325e67df5a86b3932a 100644 (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.
       }
     }
 
index d421adb291457184696e4005b8107104da19a6b2..f4866423176d9da9b9c35fb77a0e1f20927d2eb4 100644 (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");
index 70af36b23388b56509eb32a39a8a1e9290173fc8..3d3ec61b5be046b8556db60fd4e7c141343bf697 100644 (file)
                        <File
                                RelativePath="..\..\lib\Analysis\AliasAnalysisEvaluator.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Analysis\AliasDebugger.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Analysis\AliasSetTracker.cpp">
                        </File>
index 0da1c3f781cca5a71cc337cbed0fdd223b05cbe0..613bb0f3de4b5577994fc66a9e1a446f7b1d03b1 100644 (file)
                        <File
                                RelativePath="..\..\lib\Support\Statistic.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\Support\Streams.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\Support\StringExtras.cpp">
                        </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\StableBasicBlockNumbering.h">
                        </File>
+                       <File
+                               RelativePath="..\..\include\llvm\Support\Streams.h">
+                       </File>
                        <File
                                RelativePath="..\..\include\llvm\Support\SystemUtils.h">
                        </File>
index 78039b888bee8edd66029b0e8fb8e242d1b2537e..37484f545f0d4127988278b207cba3e0f6271e1f 100644 (file)
                        <File
                                RelativePath="..\..\lib\VMCore\Pass.cpp">
                        </File>
+                       <File
+                               RelativePath="..\..\lib\VMCore\PassManager.cpp">
+                       </File>
                        <File
                                RelativePath="..\..\lib\VMCore\SymbolTable.cpp">
                        </File>