X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FOCaml-Kaleidoscope%2FChapter6%2Ftoy.ml;h=5a6bde9458cb090c2a9f0edb35ecc0c83eacc24c;hb=2b4b44e0d2e95fc695eafcc4d192fe1ae261e01e;hp=5f9d912499c9d3e1a8a1505386749e75d973c723;hpb=c1054710ca416761077e82ebb0a4c2364a5727c0;p=oota-llvm.git diff --git a/examples/OCaml-Kaleidoscope/Chapter6/toy.ml b/examples/OCaml-Kaleidoscope/Chapter6/toy.ml index 5f9d912499c..5a6bde9458c 100644 --- a/examples/OCaml-Kaleidoscope/Chapter6/toy.ml +++ b/examples/OCaml-Kaleidoscope/Chapter6/toy.ml @@ -27,7 +27,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; (* Do simple "peephole" optimizations and bit-twiddling optzn. *) add_instruction_combination the_fpm;