summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/OCamlLangImpl3.html
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-04-23 00:30:22 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-04-23 00:30:22 +0000
commitaa3d6242cfb3a21922f7ec13cbd5b65303a51f80 (patch)
tree9e983f7f24dd1e366320629556b37e9d9f58cb78 /llvm/docs/tutorial/OCamlLangImpl3.html
parent576273cf5629429e757c2de2448ebf022524c069 (diff)
downloadbcm5719-llvm-aa3d6242cfb3a21922f7ec13cbd5b65303a51f80.tar.gz
bcm5719-llvm-aa3d6242cfb3a21922f7ec13cbd5b65303a51f80.zip
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
<h2>Section Example</h2> <div> <!-- h2+div is applied --> <p>Section preamble.</p> <h3>Subsection Example</h3> <p> <!-- h3+p is applied --> Subsection body </p> <!-- End of section body --> </div> FIXME: Care H5 better. llvm-svn: 130040
Diffstat (limited to 'llvm/docs/tutorial/OCamlLangImpl3.html')
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl3.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl3.html b/llvm/docs/tutorial/OCamlLangImpl3.html
index cf5afe9b718..45ee6e9ffc3 100644
--- a/llvm/docs/tutorial/OCamlLangImpl3.html
+++ b/llvm/docs/tutorial/OCamlLangImpl3.html
@@ -41,7 +41,7 @@ Support</li>
<h2><a name="intro">Chapter 3 Introduction</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Welcome to Chapter 3 of the "<a href="index.html">Implementing a language
with LLVM</a>" tutorial. This chapter shows you how to transform the <a
@@ -60,7 +60,7 @@ LLVM SVN to work. LLVM 2.2 and before will not work with it.</p>
<h2><a name="basics">Code Generation Setup</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>
In order to generate LLVM IR, we want some simple setup to get started. First
@@ -131,7 +131,7 @@ that this has already been done, and we'll just use it to emit code.</p>
<h2><a name="exprs">Expression Code Generation</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Generating LLVM code for expression nodes is very straightforward: less
than 30 lines of commented code for all four of our expression nodes. First
@@ -266,7 +266,7 @@ basic framework.</p>
<h2><a name="funcs">Function Code Generation</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>Code generation for prototypes and functions must handle a number of
details, which make their code less beautiful than expression code
@@ -469,7 +469,7 @@ def bar() foo(1, 2); # error, unknown function "foo"
<h2><a name="driver">Driver Changes and Closing Thoughts</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>
For now, code generation to LLVM doesn't really get us much, except that we can
@@ -609,7 +609,7 @@ support</a> to this so we can actually start running code!</p>
<h2><a name="code">Full Code Listing</a></h2>
<!-- *********************************************************************** -->
-<div class="doc_text">
+<div>
<p>
Here is the complete code listing for our running example, enhanced with the
OpenPOWER on IntegriCloud