summaryrefslogtreecommitdiffstats
path: root/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml')
-rw-r--r--llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml b/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml
index babab28601d..f2508a43576 100644
--- a/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml
+++ b/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml
@@ -28,7 +28,7 @@ let main () =
(* Set up the optimizer pipeline. Start with registering info about how the
* target lays out data structures. *)
- TargetData.add (ExecutionEngine.target_data the_execution_engine) the_fpm;
+ DataLayout.add (ExecutionEngine.target_data the_execution_engine) the_fpm;
(* Promote allocas to registers. *)
add_memory_to_register_promotion the_fpm;
OpenPOWER on IntegriCloud