Fix (unused) RegisterAsmBackend template, clang++ isn't happy about this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-03-11 02:28:52 +00:00
parent 0193c0994b
commit 18e2c021a9

View File

@ -588,8 +588,9 @@ namespace llvm {
}
private:
static TargetAsmBackend *Allocator(const Target &T, MCAssembler &Backend) {
return new AsmBackendImpl(T, Backend);
static TargetAsmBackend *Allocator(const Target &T,
const std::string &Triple) {
return new AsmBackendImpl(T, Triple);
}
};