Adjust argument to match destination data type
authorChris Lattner <sabre@nondot.org>
Thu, 3 Jun 2004 21:14:56 +0000 (21:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Jun 2004 21:14:56 +0000 (21:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/PassSupport.h

index bc2b7da8a2442ac1f3a4fb86a282524f645982b1..a896ff04a1f5bf2918ffe7f73c103043b9a29b5a 100644 (file)
@@ -56,7 +56,7 @@ public:
   /// 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)  {