From f47d8300f8f3a7fc1dc0cea2dab98008397079f7 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Wed, 15 Jul 2009 08:56:49 +0000 Subject: [PATCH] Fix thinko llvm-svn: 75760 --- llvm/include/llvm/Target/TargetRegistry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Target/TargetRegistry.h b/llvm/include/llvm/Target/TargetRegistry.h index cad49d3c6f14..204d5b0c8f5e 100644 --- a/llvm/include/llvm/Target/TargetRegistry.h +++ b/llvm/include/llvm/Target/TargetRegistry.h @@ -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; }