aboutsummaryrefslogtreecommitdiffstats
path: root/docs/WritingAnLLVMBackend.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/WritingAnLLVMBackend.html')
-rw-r--r--docs/WritingAnLLVMBackend.html4
1 files changed, 2 insertions, 2 deletions
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 <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&lt;Triple::sparc, /*HasJIT=*/false&gt;
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&lt;SparcAsmPrinter&gt; X(TheSparcTarget);
}
</pre>
</div>