[llvm-commits] CVS: llvm/lib/VMCore/Pass.cpp PassManager.cpp Value.cpp
Jeff Cohen
jeffc at jolt-lang.org
Sun Mar 4 16:02:03 PST 2007
Changes in directory llvm/lib/VMCore:
Pass.cpp updated: 1.84 -> 1.85
PassManager.cpp updated: 1.138 -> 1.139
Value.cpp updated: 1.70 -> 1.71
---
Log message:
Unbreak VC++ build.
---
Diffs of the changes: (+3 -1)
Pass.cpp | 1 +
PassManager.cpp | 1 +
Value.cpp | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/lib/VMCore/Pass.cpp
diff -u llvm/lib/VMCore/Pass.cpp:1.84 llvm/lib/VMCore/Pass.cpp:1.85
--- llvm/lib/VMCore/Pass.cpp:1.84 Tue Jan 30 14:08:38 2007
+++ llvm/lib/VMCore/Pass.cpp Sun Mar 4 18:00:42 2007
@@ -19,6 +19,7 @@
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/TypeInfo.h"
+#include <algorithm>
#include <set>
using namespace llvm;
Index: llvm/lib/VMCore/PassManager.cpp
diff -u llvm/lib/VMCore/PassManager.cpp:1.138 llvm/lib/VMCore/PassManager.cpp:1.139
--- llvm/lib/VMCore/PassManager.cpp:1.138 Tue Feb 27 09:00:39 2007
+++ llvm/lib/VMCore/PassManager.cpp Sun Mar 4 18:00:42 2007
@@ -19,6 +19,7 @@
#include "llvm/ModuleProvider.h"
#include "llvm/Support/Streams.h"
#include "llvm/Support/ManagedStatic.h"
+#include <algorithm>
#include <vector>
#include <map>
Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.70 llvm/lib/VMCore/Value.cpp:1.71
--- llvm/lib/VMCore/Value.cpp:1.70 Thu Feb 15 14:01:43 2007
+++ llvm/lib/VMCore/Value.cpp Sun Mar 4 18:00:42 2007
@@ -128,7 +128,7 @@
void Value::setName(const char *NameStr, unsigned NameLen) {
if (NameLen == 0 && !hasName()) return;
- if (getType() != Type::VoidTy && "Cannot assign a name to void values!");
+ assert(getType() != Type::VoidTy && "Cannot assign a name to void values!");
// Get the symbol table to update for this object.
ValueSymbolTable *ST;
More information about the llvm-commits
mailing list