[llvm-commits] CVS: llvm/include/llvm/PassSupport.h

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 3 16:19:02 PDT 2004


Changes in directory llvm/include/llvm:

PassSupport.h updated: 1.18 -> 1.19

---
Log message:

Adjust argument to match destination data type


---
Diffs of the changes:  (+1 -1)

Index: llvm/include/llvm/PassSupport.h
diff -u llvm/include/llvm/PassSupport.h:1.18 llvm/include/llvm/PassSupport.h:1.19
--- llvm/include/llvm/PassSupport.h:1.18	Sun Nov 16 14:21:15 2003
+++ llvm/include/llvm/PassSupport.h	Thu Jun  3 16:14:56 2004
@@ -56,7 +56,7 @@
   /// PassInfo ctor - Do not call this directly, this should only be invoked
   /// through RegisterPass.
   PassInfo(const char *name, const char *arg, const std::type_info &ti, 
-           unsigned pt, Pass *(*normal)() = 0,
+           unsigned char pt, Pass *(*normal)() = 0,
            Pass *(*targetctor)(TargetMachine &) = 0)
     : PassName(name), PassArgument(arg), TypeInfo(ti), PassType(pt),
       NormalCtor(normal), TargetCtor(targetctor)  {





More information about the llvm-commits mailing list