From e0a34353ee4bf0d990c55f6a9f593666bffb69ab Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 5 Nov 2007 15:15:50 +0000 Subject: Trivial fixes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43707 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/JITTutorial2.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/tutorial/JITTutorial2.html') diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html index 63efd6af64..06d0df1bde 100644 --- a/docs/tutorial/JITTutorial2.html +++ b/docs/tutorial/JITTutorial2.html @@ -47,7 +47,7 @@ unsigned gcd(unsigned x, unsigned y) {

The above is a graphical representation of a program in LLVM IR. It places each basic block on a node of a graph, and uses directed edges to indicate flow control. These blocks will be serialized when written to a text or bitcode file, but it is often useful conceptually to think of them as a graph. Again, if you are unsure about the code in the diagram, you should skim through the LLVM Language Reference Manual and convince yourself that it is, in fact, the GCD algorithm.

-

The first part of our code is the same as from first tutorial. The same basic setup is required: creating a module, verifying it, and running the PrintModulePass on it. Even the first segment of makeLLVMModule() looks the same, because gcd happens the have the same prototype as our mul_add function.

+

The first part of our code is the same as from first tutorial. The same basic setup is required: creating a module, verifying it, and running the PrintModulePass on it. Even the first segment of makeLLVMModule() looks the same, because gcd happens to have the same prototype as our mul_add function.

@@ -162,7 +162,7 @@ Module* makeLLVMModule() {
 
-

And that's it! You can compile your code and execute your code in the same way as before, by executing:

+

And that's it! You can compile and execute your code in the same way as before, by doing:

@@ -187,4 +187,4 @@ Module* makeLLVMModule() {
 
 
 
-
\ No newline at end of file
+
-- 
cgit v1.2.3-70-g09d2