summaryrefslogtreecommitdiff
path: root/driver/main_args.ml
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2014-04-28 11:49:52 +0000
committerDamien Doligez <damien.doligez-inria.fr>2014-04-28 11:49:52 +0000
commitcc25e53ad310eb32d4854a1505ac3a9a917c8368 (patch)
tree101a8f24490f8ef63c75820cfd945cc4d7f669fc /driver/main_args.ml
parente94190206fe983154d5606a448e434aec03783d0 (diff)
parentf1f362698f931494a305d48667936ffee2012b64 (diff)
downloadocaml-safe-string.tar.gz
merge trunk up to commit 14699safe-string
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/safe-string@14700 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'driver/main_args.ml')
-rw-r--r--driver/main_args.ml14
1 files changed, 14 insertions, 0 deletions
diff --git a/driver/main_args.ml b/driver/main_args.ml
index bb03f8cf27..1444ae4571 100644
--- a/driver/main_args.ml
+++ b/driver/main_args.ml
@@ -154,6 +154,10 @@ let mk_no_app_funct f =
"-no-app-funct", Arg.Unit f, " Deactivate applicative functors"
;;
+let mk_no_float_const_prop f =
+ "-no-float-const-prop", Arg.Unit f, " Deactivate constant propagation for floating-point operations"
+;;
+
let mk_noassert f =
"-noassert", Arg.Unit f, " Do not compile assertion checks"
;;
@@ -393,6 +397,10 @@ let mk_dcombine f =
"-dcombine", Arg.Unit f, " (undocumented)"
;;
+let mk_dcse f =
+ "-dcse", Arg.Unit f, " (undocumented)"
+;;
+
let mk_dlive f =
"-dlive", Arg.Unit f, " (undocumented)"
;;
@@ -566,6 +574,7 @@ module type Optcomp_options = sig
val _labels : unit -> unit
val _linkall : unit -> unit
val _no_app_funct : unit -> unit
+ val _no_float_const_prop : unit -> unit
val _noassert : unit -> unit
val _noautolink : unit -> unit
val _nodynlink : unit -> unit
@@ -608,6 +617,7 @@ module type Optcomp_options = sig
val _dcmm : unit -> unit
val _dsel : unit -> unit
val _dcombine : unit -> unit
+ val _dcse : unit -> unit
val _dlive : unit -> unit
val _dspill : unit -> unit
val _dsplit : unit -> unit
@@ -662,6 +672,7 @@ module type Opttop_options = sig
val _dcmm : unit -> unit
val _dsel : unit -> unit
val _dcombine : unit -> unit
+ val _dcse : unit -> unit
val _dlive : unit -> unit
val _dspill : unit -> unit
val _dsplit : unit -> unit
@@ -821,6 +832,7 @@ struct
mk_labels F._labels;
mk_linkall F._linkall;
mk_no_app_funct F._no_app_funct;
+ mk_no_float_const_prop F._no_float_const_prop;
mk_noassert F._noassert;
mk_noautolink_opt F._noautolink;
mk_nodynlink F._nodynlink;
@@ -864,6 +876,7 @@ struct
mk_dcmm F._dcmm;
mk_dsel F._dsel;
mk_dcombine F._dcombine;
+ mk_dcse F._dcse;
mk_dlive F._dlive;
mk_dspill F._dspill;
mk_dsplit F._dsplit;
@@ -918,6 +931,7 @@ module Make_opttop_options (F : Opttop_options) = struct
mk_dcmm F._dcmm;
mk_dsel F._dsel;
mk_dcombine F._dcombine;
+ mk_dcse F._dcse;
mk_dlive F._dlive;
mk_dspill F._dspill;
mk_dsplit F._dsplit;