[llvm-commits] [llvm] r98226 - /llvm/trunk/include/llvm/Target/TargetRegistry.h
Daniel Dunbar
daniel at zuster.org
Wed Mar 10 18:28:52 PST 2010
Author: ddunbar
Date: Wed Mar 10 20:28:52 2010
New Revision: 98226
URL: http://llvm.org/viewvc/llvm-project?rev=98226&view=rev
Log:
Fix (unused) RegisterAsmBackend template, clang++ isn't happy about this.
Modified:
llvm/trunk/include/llvm/Target/TargetRegistry.h
Modified: llvm/trunk/include/llvm/Target/TargetRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetRegistry.h?rev=98226&r1=98225&r2=98226&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetRegistry.h (original)
+++ llvm/trunk/include/llvm/Target/TargetRegistry.h Wed Mar 10 20:28:52 2010
@@ -588,8 +588,9 @@
}
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);
}
};
More information about the llvm-commits
mailing list