From be86e9fd9af460a763f4bc615fffde6a96203b4d Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Wed, 19 Aug 2009 17:32:38 +0000 Subject: Update the ocaml docs to work with LLVMContext. llvm-svn: 79431 --- llvm/docs/tutorial/OCamlLangImpl5.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/docs/tutorial/OCamlLangImpl5.html') diff --git a/llvm/docs/tutorial/OCamlLangImpl5.html b/llvm/docs/tutorial/OCamlLangImpl5.html index dea243f00b8..6c77e9fa45e 100644 --- a/llvm/docs/tutorial/OCamlLangImpl5.html +++ b/llvm/docs/tutorial/OCamlLangImpl5.html @@ -1200,8 +1200,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 -- cgit v1.2.3