[llvm-commits] CVS: llvm/include/llvm/Constant.h ConstantHandling.h Constants.h DerivedTypes.h GlobalVariable.h Instruction.h Pass.h PassAnalysisSupport.h PassSupport.h SymbolTable.h User.h iOther.h iPHINode.h iTerminators.h

John Criswell criswell at cs.uiuc.edu
Wed Jun 11 09:02:02 PDT 2003


Changes in directory llvm/include/llvm:

Constant.h updated: 1.6 -> 1.7
ConstantHandling.h updated: 1.25 -> 1.26
Constants.h updated: 1.25 -> 1.26
DerivedTypes.h updated: 1.28 -> 1.29
GlobalVariable.h updated: 1.19 -> 1.20
Instruction.h updated: 1.39 -> 1.40
Pass.h updated: 1.32 -> 1.33
PassAnalysisSupport.h updated: 1.11 -> 1.12
PassSupport.h updated: 1.11 -> 1.12
SymbolTable.h updated: 1.20 -> 1.21
User.h updated: 1.17 -> 1.18
iOther.h updated: 1.34 -> 1.35
iPHINode.h updated: 1.8 -> 1.9
iTerminators.h updated: 1.26 -> 1.27

---
Log message:

Included assert.h so that the code compiles under newer versions of GCC.


---
Diffs of the changes:

Index: llvm/include/llvm/Constant.h
diff -u llvm/include/llvm/Constant.h:1.6 llvm/include/llvm/Constant.h:1.7
--- llvm/include/llvm/Constant.h:1.6	Sun Oct 13 22:30:13 2002
+++ llvm/include/llvm/Constant.h	Wed Jun 11 09:01:26 2003
@@ -7,6 +7,7 @@
 #ifndef LLVM_CONSTANT_H
 #define LLVM_CONSTANT_H
 
+#include <assert.h>
 #include "llvm/User.h"
 
 class Constant : public User {


Index: llvm/include/llvm/ConstantHandling.h
diff -u llvm/include/llvm/ConstantHandling.h:1.25 llvm/include/llvm/ConstantHandling.h:1.26
--- llvm/include/llvm/ConstantHandling.h:1.25	Thu Apr 24 21:51:46 2003
+++ llvm/include/llvm/ConstantHandling.h	Wed Jun 11 09:01:26 2003
@@ -33,6 +33,8 @@
 #ifndef LLVM_CONSTANTHANDLING_H
 #define LLVM_CONSTANTHANDLING_H
 
+#include <assert.h>
+
 #include "llvm/Constants.h"
 #include "llvm/Type.h"
 class PointerType;


Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.25 llvm/include/llvm/Constants.h:1.26
--- llvm/include/llvm/Constants.h:1.25	Fri May 23 15:02:05 2003
+++ llvm/include/llvm/Constants.h	Wed Jun 11 09:01:26 2003
@@ -8,6 +8,8 @@
 #ifndef LLVM_CONSTANTS_H
 #define LLVM_CONSTANTS_H
 
+#include <assert.h>
+
 #include "llvm/Constant.h"
 #include "Support/DataTypes.h"
 


Index: llvm/include/llvm/DerivedTypes.h
diff -u llvm/include/llvm/DerivedTypes.h:1.28 llvm/include/llvm/DerivedTypes.h:1.29
--- llvm/include/llvm/DerivedTypes.h:1.28	Tue Sep 10 20:16:19 2002
+++ llvm/include/llvm/DerivedTypes.h	Wed Jun 11 09:01:26 2003
@@ -11,6 +11,8 @@
 #ifndef LLVM_DERIVED_TYPES_H
 #define LLVM_DERIVED_TYPES_H
 
+#include <assert.h>
+
 #include "llvm/Type.h"
 
 class DerivedType : public Type {


Index: llvm/include/llvm/GlobalVariable.h
diff -u llvm/include/llvm/GlobalVariable.h:1.19 llvm/include/llvm/GlobalVariable.h:1.20
--- llvm/include/llvm/GlobalVariable.h:1.19	Wed Apr 16 15:28:30 2003
+++ llvm/include/llvm/GlobalVariable.h	Wed Jun 11 09:01:26 2003
@@ -13,6 +13,8 @@
 #ifndef LLVM_GLOBAL_VARIABLE_H
 #define LLVM_GLOBAL_VARIABLE_H
 
+#include <assert.h>
+
 #include "llvm/GlobalValue.h"
 class Module;
 class Constant;


Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.39 llvm/include/llvm/Instruction.h:1.40
--- llvm/include/llvm/Instruction.h:1.39	Wed Apr 16 15:30:02 2003
+++ llvm/include/llvm/Instruction.h	Wed Jun 11 09:01:26 2003
@@ -8,6 +8,8 @@
 #ifndef LLVM_INSTRUCTION_H
 #define LLVM_INSTRUCTION_H
 
+#include <assert.h>
+
 #include "llvm/User.h"
 template<typename SC> struct ilist_traits;
 template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,


Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.32 llvm/include/llvm/Pass.h:1.33
--- llvm/include/llvm/Pass.h:1.32	Fri May  2 22:31:06 2003
+++ llvm/include/llvm/Pass.h	Wed Jun 11 09:01:26 2003
@@ -22,6 +22,8 @@
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
+#include <assert.h>
+
 #include <vector>
 #include <map>
 #include <iosfwd>


Index: llvm/include/llvm/PassAnalysisSupport.h
diff -u llvm/include/llvm/PassAnalysisSupport.h:1.11 llvm/include/llvm/PassAnalysisSupport.h:1.12
--- llvm/include/llvm/PassAnalysisSupport.h:1.11	Mon Oct 21 15:00:19 2002
+++ llvm/include/llvm/PassAnalysisSupport.h	Wed Jun 11 09:01:26 2003
@@ -14,7 +14,7 @@
 
 // No need to include Pass.h, we are being included by it!
 
-
+#include <assert.h>
 
 //===----------------------------------------------------------------------===//
 // AnalysisUsage - Represent the analysis usage information of a pass.  This


Index: llvm/include/llvm/PassSupport.h
diff -u llvm/include/llvm/PassSupport.h:1.11 llvm/include/llvm/PassSupport.h:1.12
--- llvm/include/llvm/PassSupport.h:1.11	Thu Apr 24 13:41:30 2003
+++ llvm/include/llvm/PassSupport.h	Wed Jun 11 09:01:26 2003
@@ -14,6 +14,8 @@
 #ifndef LLVM_PASS_SUPPORT_H
 #define LLVM_PASS_SUPPORT_H
 
+#include <assert.h>
+
 // No need to include Pass.h, we are being included by it!
 
 class TargetMachine;


Index: llvm/include/llvm/SymbolTable.h
diff -u llvm/include/llvm/SymbolTable.h:1.20 llvm/include/llvm/SymbolTable.h:1.21
--- llvm/include/llvm/SymbolTable.h:1.20	Thu Jan 30 14:54:03 2003
+++ llvm/include/llvm/SymbolTable.h	Wed Jun 11 09:01:26 2003
@@ -16,6 +16,8 @@
 #ifndef LLVM_SYMBOL_TABLE_H
 #define LLVM_SYMBOL_TABLE_H
 
+#include <assert.h>
+
 #include "llvm/Value.h"
 #include <map>
 


Index: llvm/include/llvm/User.h
diff -u llvm/include/llvm/User.h:1.17 llvm/include/llvm/User.h:1.18
--- llvm/include/llvm/User.h:1.17	Thu May 29 10:08:33 2003
+++ llvm/include/llvm/User.h	Wed Jun 11 09:01:26 2003
@@ -12,6 +12,8 @@
 #ifndef LLVM_USER_H
 #define LLVM_USER_H
 
+#include <assert.h>
+
 #include "llvm/Value.h"
 
 class User : public Value {


Index: llvm/include/llvm/iOther.h
diff -u llvm/include/llvm/iOther.h:1.34 llvm/include/llvm/iOther.h:1.35
--- llvm/include/llvm/iOther.h:1.34	Fri May  9 20:56:42 2003
+++ llvm/include/llvm/iOther.h	Wed Jun 11 09:01:26 2003
@@ -8,6 +8,8 @@
 #ifndef LLVM_IOTHER_H
 #define LLVM_IOTHER_H
 
+#include <assert.h>
+
 #include "llvm/InstrTypes.h"
 
 //===----------------------------------------------------------------------===//


Index: llvm/include/llvm/iPHINode.h
diff -u llvm/include/llvm/iPHINode.h:1.8 llvm/include/llvm/iPHINode.h:1.9
--- llvm/include/llvm/iPHINode.h:1.8	Thu Mar  6 10:36:28 2003
+++ llvm/include/llvm/iPHINode.h	Wed Jun 11 09:01:26 2003
@@ -7,6 +7,8 @@
 #ifndef LLVM_IPHINODE_H
 #define LLVM_IPHINODE_H
 
+#include <assert.h>
+
 #include "llvm/Instruction.h"
 class BasicBlock;
 


Index: llvm/include/llvm/iTerminators.h
diff -u llvm/include/llvm/iTerminators.h:1.26 llvm/include/llvm/iTerminators.h:1.27
--- llvm/include/llvm/iTerminators.h:1.26	Wed Jun  4 00:08:31 2003
+++ llvm/include/llvm/iTerminators.h	Wed Jun 11 09:01:26 2003
@@ -9,6 +9,8 @@
 #ifndef LLVM_ITERMINATORS_H
 #define LLVM_ITERMINATORS_H
 
+#include <assert.h>
+
 #include "llvm/InstrTypes.h"
 
 //===---------------------------------------------------------------------------





More information about the llvm-commits mailing list