[llvm-commits] CVS: llvm/include/llvm/Support/CFG.h InstVisitor.h PassNameParser.h

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


Changes in directory llvm/include/llvm/Support:

CFG.h updated: 1.10 -> 1.11
InstVisitor.h updated: 1.16 -> 1.17
PassNameParser.h updated: 1.5 -> 1.6

---
Log message:

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


---
Diffs of the changes:

Index: llvm/include/llvm/Support/CFG.h
diff -u llvm/include/llvm/Support/CFG.h:1.10 llvm/include/llvm/Support/CFG.h:1.11
--- llvm/include/llvm/Support/CFG.h:1.10	Sat Apr 26 12:38:26 2003
+++ llvm/include/llvm/Support/CFG.h	Wed Jun 11 09:01:35 2003
@@ -13,6 +13,8 @@
 #include "llvm/InstrTypes.h"
 #include "Support/iterator"
 
+#include <assert.h>
+
 //===--------------------------------------------------------------------===//
 // BasicBlock pred_iterator definition
 //===--------------------------------------------------------------------===//


Index: llvm/include/llvm/Support/InstVisitor.h
diff -u llvm/include/llvm/Support/InstVisitor.h:1.16 llvm/include/llvm/Support/InstVisitor.h:1.17
--- llvm/include/llvm/Support/InstVisitor.h:1.16	Tue May 20 16:01:04 2003
+++ llvm/include/llvm/Support/InstVisitor.h	Wed Jun 11 09:01:35 2003
@@ -44,6 +44,8 @@
 #define LLVM_SUPPORT_INSTVISITOR_H
 
 #include "llvm/Instruction.h"
+#include <assert.h>
+
 class Module;
 
 // We operate on opaque instruction classes, so forward declare all instruction


Index: llvm/include/llvm/Support/PassNameParser.h
diff -u llvm/include/llvm/Support/PassNameParser.h:1.5 llvm/include/llvm/Support/PassNameParser.h:1.6
--- llvm/include/llvm/Support/PassNameParser.h:1.5	Thu Apr 24 13:41:13 2003
+++ llvm/include/llvm/Support/PassNameParser.h	Wed Jun 11 09:01:35 2003
@@ -20,6 +20,7 @@
 #include "llvm/Pass.h"
 #include <algorithm>
 #include <iostream>
+#include <assert.h>
 
 //===----------------------------------------------------------------------===//
 // PassNameParser class - Make use of the pass registration mechanism to





More information about the llvm-commits mailing list