From 18e2c021a937f78b8d16619cd377f0c72c542470 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 11 Mar 2010 02:28:52 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetRegistry.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetRegistry.h b/include/llvm/Target/TargetRegistry.h index c89a2b69725..0bf5ecd1330 100644 --- a/include/llvm/Target/TargetRegistry.h +++ b/include/llvm/Target/TargetRegistry.h @@ -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); } };