Move TargetData to DataLayout.
[oota-llvm.git] / examples / OCaml-Kaleidoscope / Chapter7 / toy.ml
index babab28601ddc1e84073214b3b21e5cad27e70b5..f2508a43576ecfe844b6c3f03e112495b6965db7 100644 (file)
@@ -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;