1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Adjust argument to match destination data type

llvm-svn: 13993
This commit is contained in:
Chris Lattner 2004-06-03 21:14:56 +00:00
parent 54280727f7
commit a079b13320

View 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) {