diff options
Diffstat (limited to 'docs/tutorial/OCamlLangImpl4.html')
-rw-r--r-- | docs/tutorial/OCamlLangImpl4.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/tutorial/OCamlLangImpl4.html b/docs/tutorial/OCamlLangImpl4.html index ffa85d51df..ec3c20bc6b 100644 --- a/docs/tutorial/OCamlLangImpl4.html +++ b/docs/tutorial/OCamlLangImpl4.html @@ -795,8 +795,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 |