From e15192b36bb5e99838d3f70bf79f7b8bed7a75b9 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 5 Aug 2009 15:42:44 +0000 Subject: Documentation: fix HTML validation errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78196 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMBackend.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/WritingAnLLVMBackend.html') diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index 29dc112..5edc117 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -451,7 +451,7 @@ the RegisterTarget template to register the target. For example, the Sp Target llvm::TheSparcTarget; extern "C" void LLVMInitializeSparcTargetInfo() { - RegisterTarget + RegisterTarget<Triple::sparc, /*HasJIT=*/false> X(TheSparcTarget, "sparc", "Sparc"); } @@ -469,7 +469,7 @@ example. Here is an example of registering the Sparc assembly printer:
 extern "C" void LLVMInitializeSparcAsmPrinter() { 
-  RegisterAsmPrinter X(TheSparcTarget);
+  RegisterAsmPrinter<SparcAsmPrinter> X(TheSparcTarget);
 }
 
-- cgit v1.1