summaryrefslogtreecommitdiff
path: root/docs/tutorial/OCamlLangImpl6.html
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-19 17:32:38 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-08-19 17:32:38 +0000
commit1f3d276a3db30f19f592e8c92fb0c535ad465468 (patch)
tree10bf4665353aa2e6c812b7294a89e80432933df6 /docs/tutorial/OCamlLangImpl6.html
parentb02b87882788e57e180c6b903a37ced0db1ce828 (diff)
downloadllvm-1f3d276a3db30f19f592e8c92fb0c535ad465468.tar.gz
llvm-1f3d276a3db30f19f592e8c92fb0c535ad465468.tar.bz2
llvm-1f3d276a3db30f19f592e8c92fb0c535ad465468.tar.xz
Update the ocaml docs to work with LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tutorial/OCamlLangImpl6.html')
-rw-r--r--docs/tutorial/OCamlLangImpl6.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorial/OCamlLangImpl6.html b/docs/tutorial/OCamlLangImpl6.html
index 780cab8191..8c6996f205 100644
--- a/docs/tutorial/OCamlLangImpl6.html
+++ b/docs/tutorial/OCamlLangImpl6.html
@@ -1173,8 +1173,9 @@ open Llvm
exception Error of string
-let the_module = create_module "my cool jit"
-let builder = builder ()
+let context = global_context ()
+let the_module = create_module context "my cool jit"
+let builder = builder context
let named_values:(string, llvalue) Hashtbl.t = Hashtbl.create 10
let rec codegen_expr = function