diff options
author | Chris Lattner <sabre@nondot.org> | 2004-06-03 21:14:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-06-03 21:14:56 +0000 |
commit | d924d6b35d3893b46ea64a6a076d44c5c739853b (patch) | |
tree | 2ac32001876cf382dcf406f21527c0b42ebb08b4 | |
parent | caeb8b4041546bee40d8df0b7face79b9ba6dca8 (diff) |
Adjust argument to match destination data type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/PassSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index bc2b7da8a2..a896ff04a1 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -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) { |