[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
LLVM
llvm at cs.uiuc.edu
Sun Jul 4 06:52:09 PDT 2004
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.92 -> 1.93
---
Log message:
#include <iostream> since its not in Value.h any more.
---
Diffs of the changes: (+3 -2)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.92 llvm/lib/VMCore/Constants.cpp:1.93
--- llvm/lib/VMCore/Constants.cpp:1.92 Mon Jun 21 07:12:12 2004
+++ llvm/lib/VMCore/Constants.cpp Sun Jul 4 06:51:24 2004
@@ -19,6 +19,7 @@
#include "llvm/Module.h"
#include "Support/StringExtras.h"
#include <algorithm>
+#include <iostream>
using namespace llvm;
ConstantBool *ConstantBool::True = new ConstantBool(true);
@@ -120,8 +121,8 @@
case Type::ArrayTyID:
return ConstantAggregateZero::get(Ty);
default:
- // Function, Type, Label, or Opaque type?
- assert(0 && "Cannot create a null constant of that type!");
+ // Function, Label, or Opaque type?
+ assert(!"Cannot create a null constant of that type!");
return 0;
}
}
More information about the llvm-commits
mailing list