diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-05 15:42:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-05 15:42:44 +0000 |
commit | e15192b36bb5e99838d3f70bf79f7b8bed7a75b9 (patch) | |
tree | f806c1b39e3729a535af21298a405d66f6904990 /docs/WritingAnLLVMBackend.html | |
parent | ea2381eb7143e2ba3ad37de386cabd392b6609d8 (diff) |
Documentation: fix HTML validation errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/WritingAnLLVMBackend.html')
-rw-r--r-- | docs/WritingAnLLVMBackend.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/WritingAnLLVMBackend.html b/docs/WritingAnLLVMBackend.html index 29dc1127c5..5edc117e33 100644 --- a/docs/WritingAnLLVMBackend.html +++ b/docs/WritingAnLLVMBackend.html @@ -451,7 +451,7 @@ the <tt>RegisterTarget</tt> template to register the target. For example, the Sp Target llvm::TheSparcTarget; extern "C" void LLVMInitializeSparcTargetInfo() { - RegisterTarget<Triple::sparc, /*HasJIT=*/false> + RegisterTarget<Triple::sparc, /*HasJIT=*/false> X(TheSparcTarget, "sparc", "Sparc"); } </pre> @@ -469,7 +469,7 @@ example. Here is an example of registering the Sparc assembly printer: <div class="doc_code"> <pre> extern "C" void LLVMInitializeSparcAsmPrinter() { - RegisterAsmPrinter<SparcAsmPrinter> X(TheSparcTarget); + RegisterAsmPrinter<SparcAsmPrinter> X(TheSparcTarget); } </pre> </div> |