mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-24 02:38:42 +00:00
Adjust argument to match destination data type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
caeb8b4041
commit
d924d6b35d
@ -56,7 +56,7 @@ public:
|
|||||||
/// PassInfo ctor - Do not call this directly, this should only be invoked
|
/// PassInfo ctor - Do not call this directly, this should only be invoked
|
||||||
/// through RegisterPass.
|
/// through RegisterPass.
|
||||||
PassInfo(const char *name, const char *arg, const std::type_info &ti,
|
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)
|
Pass *(*targetctor)(TargetMachine &) = 0)
|
||||||
: PassName(name), PassArgument(arg), TypeInfo(ti), PassType(pt),
|
: PassName(name), PassArgument(arg), TypeInfo(ti), PassType(pt),
|
||||||
NormalCtor(normal), TargetCtor(targetctor) {
|
NormalCtor(normal), TargetCtor(targetctor) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user