1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

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

llvm-svn: 98226
This commit is contained in:
Daniel Dunbar 2010-03-11 02:28:52 +00:00
parent b24134670c
commit fe8914f6b6

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);
}
};