diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-08-19 17:32:38 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2009-08-19 17:32:38 +0000 |
commit | be86e9fd9af460a763f4bc615fffde6a96203b4d (patch) | |
tree | 604d5f7f71c25d3cb252bba13ef43771005f33b0 /llvm/docs/tutorial/OCamlLangImpl3.html | |
parent | 8ce532bfeaa440f6f3ed297838f03c7eeb4dda06 (diff) | |
download | bcm5719-llvm-be86e9fd9af460a763f4bc615fffde6a96203b4d.tar.gz bcm5719-llvm-be86e9fd9af460a763f4bc615fffde6a96203b4d.zip |
Update the ocaml docs to work with LLVMContext.
llvm-svn: 79431
Diffstat (limited to 'llvm/docs/tutorial/OCamlLangImpl3.html')
-rw-r--r-- | llvm/docs/tutorial/OCamlLangImpl3.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl3.html b/llvm/docs/tutorial/OCamlLangImpl3.html index 9caae435e29..0ba04ab8af2 100644 --- a/llvm/docs/tutorial/OCamlLangImpl3.html +++ b/llvm/docs/tutorial/OCamlLangImpl3.html @@ -95,8 +95,8 @@ an undeclared parameter):</p> <pre> exception Error of string -let the_module = create_module "my cool jit" -let builder = builder () +let the_module = create_module (global_context ()) "my cool jit" +let builder = builder (global_context ()) let named_values:(string, llvalue) Hashtbl.t = Hashtbl.create 10 </pre> </div> @@ -899,8 +899,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 |