mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Remove unused argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181618 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,8 +70,7 @@ namespace llvm {
|
||||
|
||||
typedef unsigned (*TripleMatchQualityFnTy)(const std::string &TT);
|
||||
|
||||
typedef MCAsmInfo *(*MCAsmInfoCtorFnTy)(const Target &T,
|
||||
StringRef TT);
|
||||
typedef MCAsmInfo *(*MCAsmInfoCtorFnTy)(StringRef TT);
|
||||
typedef MCCodeGenInfo *(*MCCodeGenInfoCtorFnTy)(StringRef TT,
|
||||
Reloc::Model RM,
|
||||
CodeModel::Model CM,
|
||||
@@ -269,7 +268,7 @@ namespace llvm {
|
||||
MCAsmInfo *createMCAsmInfo(StringRef Triple) const {
|
||||
if (!MCAsmInfoCtorFn)
|
||||
return 0;
|
||||
return MCAsmInfoCtorFn(*this, Triple);
|
||||
return MCAsmInfoCtorFn(Triple);
|
||||
}
|
||||
|
||||
/// createMCCodeGenInfo - Create a MCCodeGenInfo implementation.
|
||||
@@ -804,8 +803,8 @@ namespace llvm {
|
||||
TargetRegistry::RegisterMCAsmInfo(T, &Allocator);
|
||||
}
|
||||
private:
|
||||
static MCAsmInfo *Allocator(const Target &T, StringRef TT) {
|
||||
return new MCAsmInfoImpl(T, TT);
|
||||
static MCAsmInfo *Allocator(StringRef TT) {
|
||||
return new MCAsmInfoImpl(TT);
|
||||
}
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user