Created
May 9, 2016 12:24
-
-
Save gsg/8b2f437e9c161f5b2ff238aeae56a28e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let test x y = | |
let () = () in | |
(fun () -> ignore x; ignore y; ()) | |
(* ggole@Stross:~/src/ocaml❯ ocamlopt -c -dcmm test.ml *) | |
(* (data int 1792 global "camlTest" "camlTest": int 1) *) | |
(* (data *) | |
(* int 4087 *) | |
(* "camlTest__1": *) | |
(* addr "caml_curry2" *) | |
(* int 5 *) | |
(* addr "camlTest__test_1008") *) | |
(* (function camlTest__fun_1015 (param/1012: addr env/1017: addr) *) | |
(* (load (+a env/1017 8)) [] (load (+a env/1017 12)) [] 1a) *) | |
(* (function camlTest__test_1008 (x/1009: addr y/1010: addr) *) | |
(* (alloc 4343 "camlTest__fun_1015" 3 x/1009 y/1010)) *) | |
(* (function camlTest__entry () *) | |
(* (let test/1008 "camlTest__1" (store "camlTest" test/1008)) 1a) *) | |
(* (data) *) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment