Fix thinko

llvm-svn: 75760
This commit is contained in:
Daniel Dunbar 2009-07-15 08:56:49 +00:00
parent 77ac4b8944
commit f47d8300f8
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ namespace llvm {
/// @param T - The target being registered.
/// @param Fn - A function to construct an AsmPrinter for the target.
static void RegisterAsmPrinter(Target &T, Target::AsmPrinterCtorTy Fn) {
assert(!T.TargetMachineCtorFn && "Constructor already registered!");
assert(!T.AsmPrinterCtorFn && "Constructor already registered!");
T.AsmPrinterCtorFn = Fn;
}