summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/OCamlLangImpl4.html
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/tutorial/OCamlLangImpl4.html')
-rw-r--r--llvm/docs/tutorial/OCamlLangImpl4.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/OCamlLangImpl4.html b/llvm/docs/tutorial/OCamlLangImpl4.html
index ffa85d51dfb..ec3c20bc6bf 100644
--- a/llvm/docs/tutorial/OCamlLangImpl4.html
+++ b/llvm/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
OpenPOWER on IntegriCloud