ocaml/bytecomp
Jacques Garrigue 0f85a64020 Unshare on type annotations even in non -principal mode.
Slightly slower (1% for lablgtk.cma) but better compatibility
with -principal and gadts.

By the way full -principal is a 25% slowdown for lablgtk.cma.

As a side effect of unsharing in patterns, (x : t) is now
internally converted to (_ as x : t).
This should have no impact on pattern matching compilation,
but watch out for other problems.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12153 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-14 10:00:18 +00:00
..
.ignore uniform .ignore system 2011-07-20 15:37:36 +00:00
bytegen.ml Fix PR#4072 2012-02-01 09:30:23 +00:00
bytegen.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
bytelibrarian.ml Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytelibrarian.mli Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytelink.ml Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytelink.mli Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytepackager.ml Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytepackager.mli Reverting bad commit. 2012-01-20 14:23:34 +00:00
bytesections.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
bytesections.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
cmo_format.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
dll.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
dll.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
emitcode.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
emitcode.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
instruct.ml More renaming to OCaml 2012-02-10 16:15:24 +00:00
instruct.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
lambda.ml Backported '%apply' and '%revapply' from 3.12.1+dev to 3.13+dev 2012-01-23 14:49:39 +00:00
lambda.mli Backported '%apply' and '%revapply' from 3.12.1+dev to 3.13+dev 2012-01-23 14:49:39 +00:00
matching.ml PR#5238, PR#5277: Sys_error when getting error location 2011-08-04 14:59:13 +00:00
matching.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
meta.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
meta.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
printinstr.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
printinstr.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
printlambda.ml Backported '%apply' and '%revapply' from 3.12.1+dev to 3.13+dev 2012-01-23 14:49:39 +00:00
printlambda.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
runtimedef.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
simplif.ml Backported '%apply' and '%revapply' from 3.12.1+dev to 3.13+dev 2012-01-23 14:49:39 +00:00
simplif.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
switch.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
switch.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
symtable.ml #5411: New #load_rec primitive for the toplevel (finds and loads .cmo files recursively). 2011-12-13 17:50:08 +00:00
symtable.mli #5411: New #load_rec primitive for the toplevel (finds and loads .cmo files recursively). 2011-12-13 17:50:08 +00:00
translclass.ml Remove unused constructors in the AST: Cf_let, Pcf_let. 2011-12-28 13:27:07 +00:00
translclass.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
translcore.ml Unshare on type annotations even in non -principal mode. 2012-02-14 10:00:18 +00:00
translcore.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
translmod.ml PR#5364: missing thinning on (val m : S) projection 2011-09-30 09:47:21 +00:00
translmod.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
translobj.ml renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
translobj.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00
typeopt.ml Keep type variable names 2011-09-22 09:05:42 +00:00
typeopt.mli renaming of Objective Caml to OCaml and cleanup of copyright headers 2011-07-27 14:17:02 +00:00