PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes
(Jérôme Vouillon and Adrien Nader and Peter Zotov) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
65758c08dd
commit
7ca29ef3f7
128
.depend
128
.depend
|
@ -93,10 +93,10 @@ typing/cmt_format.cmi : typing/types.cmi typing/typedtree.cmi \
|
|||
typing/ctype.cmi : typing/types.cmi typing/path.cmi parsing/longident.cmi \
|
||||
typing/ident.cmi typing/env.cmi parsing/asttypes.cmi
|
||||
typing/datarepr.cmi : typing/types.cmi typing/path.cmi typing/ident.cmi
|
||||
typing/envaux.cmi : typing/subst.cmi typing/path.cmi typing/env.cmi
|
||||
typing/env.cmi : utils/warnings.cmi typing/types.cmi typing/subst.cmi \
|
||||
typing/path.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/ident.cmi utils/consistbl.cmi parsing/asttypes.cmi
|
||||
typing/envaux.cmi : typing/subst.cmi typing/path.cmi typing/env.cmi
|
||||
typing/ident.cmi :
|
||||
typing/includeclass.cmi : typing/types.cmi typing/env.cmi typing/ctype.cmi
|
||||
typing/includecore.cmi : typing/types.cmi typing/typedtree.cmi \
|
||||
|
@ -114,10 +114,10 @@ typing/parmatch.cmi : typing/types.cmi typing/typedtree.cmi \
|
|||
typing/path.cmi : typing/ident.cmi
|
||||
typing/predef.cmi : typing/types.cmi typing/path.cmi typing/ident.cmi
|
||||
typing/primitive.cmi :
|
||||
typing/printtyped.cmi : typing/typedtree.cmi
|
||||
typing/printtyp.cmi : typing/types.cmi typing/path.cmi \
|
||||
typing/outcometree.cmi parsing/longident.cmi typing/ident.cmi \
|
||||
typing/env.cmi
|
||||
typing/printtyped.cmi : typing/typedtree.cmi
|
||||
typing/env.cmi parsing/asttypes.cmi
|
||||
typing/stypes.cmi : typing/typedtree.cmi parsing/location.cmi \
|
||||
typing/annot.cmi
|
||||
typing/subst.cmi : typing/types.cmi typing/path.cmi typing/ident.cmi
|
||||
|
@ -132,11 +132,11 @@ typing/typecore.cmi : typing/types.cmi typing/typedtree.cmi typing/path.cmi \
|
|||
typing/typedecl.cmi : typing/types.cmi typing/typedtree.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/includecore.cmi typing/ident.cmi typing/env.cmi
|
||||
typing/typedtreeIter.cmi : typing/typedtree.cmi parsing/asttypes.cmi
|
||||
typing/typedtreeMap.cmi : typing/typedtree.cmi
|
||||
typing/typedtree.cmi : typing/types.cmi typing/primitive.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/ident.cmi typing/env.cmi parsing/asttypes.cmi
|
||||
typing/typedtreeIter.cmi : typing/typedtree.cmi parsing/asttypes.cmi
|
||||
typing/typedtreeMap.cmi : typing/typedtree.cmi
|
||||
typing/typemod.cmi : typing/types.cmi typing/typedtree.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/includemod.cmi typing/ident.cmi typing/env.cmi \
|
||||
|
@ -148,9 +148,9 @@ typing/typetexp.cmi : typing/types.cmi typing/typedtree.cmi typing/path.cmi \
|
|||
parsing/parsetree.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/env.cmi parsing/asttypes.cmi parsing/ast_mapper.cmi
|
||||
typing/btype.cmo : typing/types.cmi typing/path.cmi utils/misc.cmi \
|
||||
typing/ident.cmi typing/btype.cmi
|
||||
typing/ident.cmi parsing/asttypes.cmi typing/btype.cmi
|
||||
typing/btype.cmx : typing/types.cmx typing/path.cmx utils/misc.cmx \
|
||||
typing/ident.cmx typing/btype.cmi
|
||||
typing/ident.cmx parsing/asttypes.cmi typing/btype.cmi
|
||||
typing/cmi_format.cmo : typing/types.cmi parsing/location.cmi \
|
||||
utils/config.cmi typing/cmi_format.cmi
|
||||
typing/cmi_format.cmx : typing/types.cmx parsing/location.cmx \
|
||||
|
@ -177,6 +177,12 @@ typing/datarepr.cmo : typing/types.cmi typing/path.cmi parsing/location.cmi \
|
|||
typing/datarepr.cmx : typing/types.cmx typing/path.cmx parsing/location.cmx \
|
||||
typing/ident.cmx typing/btype.cmx parsing/asttypes.cmi \
|
||||
typing/datarepr.cmi
|
||||
typing/envaux.cmo : typing/types.cmi typing/subst.cmi typing/printtyp.cmi \
|
||||
typing/path.cmi utils/misc.cmi typing/ident.cmi typing/env.cmi \
|
||||
parsing/asttypes.cmi typing/envaux.cmi
|
||||
typing/envaux.cmx : typing/types.cmx typing/subst.cmx typing/printtyp.cmx \
|
||||
typing/path.cmx utils/misc.cmx typing/ident.cmx typing/env.cmx \
|
||||
parsing/asttypes.cmi typing/envaux.cmi
|
||||
typing/env.cmo : utils/warnings.cmi typing/types.cmi utils/tbl.cmi \
|
||||
typing/subst.cmi typing/predef.cmi typing/path.cmi utils/misc.cmi \
|
||||
parsing/longident.cmi parsing/location.cmi typing/ident.cmi \
|
||||
|
@ -189,14 +195,6 @@ typing/env.cmx : utils/warnings.cmx typing/types.cmx utils/tbl.cmx \
|
|||
typing/datarepr.cmx utils/consistbl.cmx utils/config.cmx \
|
||||
typing/cmi_format.cmx utils/clflags.cmx typing/btype.cmx \
|
||||
parsing/asttypes.cmi typing/env.cmi
|
||||
typing/envaux.cmo : typing/types.cmi typing/subst.cmi typing/printtyp.cmi \
|
||||
typing/path.cmi utils/misc.cmi typing/ident.cmi typing/env.cmi \
|
||||
parsing/asttypes.cmi typing/envaux.cmi
|
||||
typing/envaux.cmx : typing/types.cmx typing/subst.cmx typing/printtyp.cmx \
|
||||
typing/path.cmx utils/misc.cmx typing/ident.cmx typing/env.cmx \
|
||||
parsing/asttypes.cmi typing/envaux.cmi
|
||||
typing/foo.cmo : parsing/asttypes.cmi
|
||||
typing/foo.cmx : parsing/asttypes.cmi
|
||||
typing/ident.cmo : typing/ident.cmi
|
||||
typing/ident.cmx : typing/ident.cmi
|
||||
typing/includeclass.cmo : typing/types.cmi typing/printtyp.cmi \
|
||||
|
@ -255,6 +253,12 @@ typing/predef.cmx : typing/types.cmx typing/path.cmx parsing/location.cmx \
|
|||
typing/ident.cmx typing/btype.cmx parsing/asttypes.cmi typing/predef.cmi
|
||||
typing/primitive.cmo : utils/misc.cmi typing/primitive.cmi
|
||||
typing/primitive.cmx : utils/misc.cmx typing/primitive.cmi
|
||||
typing/printtyped.cmo : typing/typedtree.cmi parsing/printast.cmi \
|
||||
typing/path.cmi utils/misc.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/ident.cmi parsing/asttypes.cmi typing/printtyped.cmi
|
||||
typing/printtyped.cmx : typing/typedtree.cmx parsing/printast.cmx \
|
||||
typing/path.cmx utils/misc.cmx parsing/longident.cmx parsing/location.cmx \
|
||||
typing/ident.cmx parsing/asttypes.cmi typing/printtyped.cmi
|
||||
typing/printtyp.cmo : typing/types.cmi typing/primitive.cmi \
|
||||
typing/predef.cmi typing/path.cmi parsing/parsetree.cmi \
|
||||
typing/outcometree.cmi typing/oprint.cmi utils/misc.cmi \
|
||||
|
@ -267,12 +271,6 @@ typing/printtyp.cmx : typing/types.cmx typing/primitive.cmx \
|
|||
parsing/longident.cmx parsing/location.cmx typing/ident.cmx \
|
||||
typing/env.cmx typing/ctype.cmx utils/clflags.cmx typing/btype.cmx \
|
||||
parsing/asttypes.cmi typing/printtyp.cmi
|
||||
typing/printtyped.cmo : typing/typedtree.cmi parsing/printast.cmi \
|
||||
typing/path.cmi utils/misc.cmi parsing/longident.cmi parsing/location.cmi \
|
||||
typing/ident.cmi parsing/asttypes.cmi typing/printtyped.cmi
|
||||
typing/printtyped.cmx : typing/typedtree.cmx parsing/printast.cmx \
|
||||
typing/path.cmx utils/misc.cmx parsing/longident.cmx parsing/location.cmx \
|
||||
typing/ident.cmx parsing/asttypes.cmi typing/printtyped.cmi
|
||||
typing/stypes.cmo : typing/typedtree.cmi typing/printtyp.cmi \
|
||||
parsing/location.cmi utils/clflags.cmi typing/annot.cmi typing/stypes.cmi
|
||||
typing/stypes.cmx : typing/typedtree.cmx typing/printtyp.cmx \
|
||||
|
@ -339,14 +337,6 @@ typing/typedecl.cmx : utils/warnings.cmx typing/typetexp.cmx \
|
|||
typing/ident.cmx typing/env.cmx typing/ctype.cmx utils/config.cmx \
|
||||
utils/clflags.cmx typing/btype.cmx parsing/asttypes.cmi \
|
||||
parsing/ast_helper.cmx typing/typedecl.cmi
|
||||
typing/typedtree.cmo : typing/types.cmi typing/primitive.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi utils/misc.cmi parsing/longident.cmi \
|
||||
parsing/location.cmi typing/ident.cmi typing/env.cmi parsing/asttypes.cmi \
|
||||
typing/typedtree.cmi
|
||||
typing/typedtree.cmx : typing/types.cmx typing/primitive.cmx typing/path.cmx \
|
||||
parsing/parsetree.cmi utils/misc.cmx parsing/longident.cmx \
|
||||
parsing/location.cmx typing/ident.cmx typing/env.cmx parsing/asttypes.cmi \
|
||||
typing/typedtree.cmi
|
||||
typing/typedtreeIter.cmo : typing/typedtree.cmi utils/misc.cmi \
|
||||
parsing/asttypes.cmi typing/typedtreeIter.cmi
|
||||
typing/typedtreeIter.cmx : typing/typedtree.cmx utils/misc.cmx \
|
||||
|
@ -355,6 +345,14 @@ typing/typedtreeMap.cmo : typing/typedtree.cmi utils/misc.cmi \
|
|||
typing/typedtreeMap.cmi
|
||||
typing/typedtreeMap.cmx : typing/typedtree.cmx utils/misc.cmx \
|
||||
typing/typedtreeMap.cmi
|
||||
typing/typedtree.cmo : typing/types.cmi typing/primitive.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi utils/misc.cmi parsing/longident.cmi \
|
||||
parsing/location.cmi typing/ident.cmi typing/env.cmi parsing/asttypes.cmi \
|
||||
typing/typedtree.cmi
|
||||
typing/typedtree.cmx : typing/types.cmx typing/primitive.cmx typing/path.cmx \
|
||||
parsing/parsetree.cmi utils/misc.cmx parsing/longident.cmx \
|
||||
parsing/location.cmx typing/ident.cmx typing/env.cmx parsing/asttypes.cmi \
|
||||
typing/typedtree.cmi
|
||||
typing/typemod.cmo : utils/warnings.cmi typing/typetexp.cmi typing/types.cmi \
|
||||
typing/typedtree.cmi typing/typedecl.cmi typing/typecore.cmi \
|
||||
typing/typeclass.cmi typing/subst.cmi typing/stypes.cmi \
|
||||
|
@ -381,16 +379,18 @@ typing/types.cmx : typing/primitive.cmx typing/path.cmx \
|
|||
typing/ident.cmx parsing/asttypes.cmi typing/types.cmi
|
||||
typing/typetexp.cmo : utils/warnings.cmi typing/types.cmi \
|
||||
typing/typedtree.cmi utils/tbl.cmi parsing/syntaxerr.cmi \
|
||||
typing/printtyp.cmi typing/path.cmi parsing/parsetree.cmi utils/misc.cmi \
|
||||
parsing/longident.cmi parsing/location.cmi typing/env.cmi \
|
||||
typing/ctype.cmi utils/clflags.cmi typing/btype.cmi parsing/asttypes.cmi \
|
||||
parsing/ast_mapper.cmi parsing/ast_helper.cmi typing/typetexp.cmi
|
||||
typing/printtyp.cmi typing/predef.cmi typing/path.cmi \
|
||||
parsing/parsetree.cmi utils/misc.cmi parsing/longident.cmi \
|
||||
parsing/location.cmi typing/env.cmi typing/ctype.cmi utils/clflags.cmi \
|
||||
typing/btype.cmi parsing/asttypes.cmi parsing/ast_mapper.cmi \
|
||||
parsing/ast_helper.cmi typing/typetexp.cmi
|
||||
typing/typetexp.cmx : utils/warnings.cmx typing/types.cmx \
|
||||
typing/typedtree.cmx utils/tbl.cmx parsing/syntaxerr.cmx \
|
||||
typing/printtyp.cmx typing/path.cmx parsing/parsetree.cmi utils/misc.cmx \
|
||||
parsing/longident.cmx parsing/location.cmx typing/env.cmx \
|
||||
typing/ctype.cmx utils/clflags.cmx typing/btype.cmx parsing/asttypes.cmi \
|
||||
parsing/ast_mapper.cmx parsing/ast_helper.cmx typing/typetexp.cmi
|
||||
typing/printtyp.cmx typing/predef.cmx typing/path.cmx \
|
||||
parsing/parsetree.cmi utils/misc.cmx parsing/longident.cmx \
|
||||
parsing/location.cmx typing/env.cmx typing/ctype.cmx utils/clflags.cmx \
|
||||
typing/btype.cmx parsing/asttypes.cmi parsing/ast_mapper.cmx \
|
||||
parsing/ast_helper.cmx typing/typetexp.cmi
|
||||
bytecomp/bytegen.cmi : bytecomp/lambda.cmi bytecomp/instruct.cmi
|
||||
bytecomp/bytelibrarian.cmi :
|
||||
bytecomp/bytelink.cmi : bytecomp/symtable.cmi bytecomp/cmo_format.cmi
|
||||
|
@ -585,7 +585,6 @@ bytecomp/typeopt.cmo : typing/types.cmi typing/typedtree.cmi \
|
|||
bytecomp/typeopt.cmx : typing/types.cmx typing/typedtree.cmx \
|
||||
typing/predef.cmx typing/path.cmx bytecomp/lambda.cmx typing/ident.cmx \
|
||||
typing/env.cmx typing/ctype.cmx bytecomp/typeopt.cmi
|
||||
asmcomp/CSEgen.cmi : asmcomp/mach.cmi
|
||||
asmcomp/asmgen.cmi : bytecomp/lambda.cmi asmcomp/cmm.cmi
|
||||
asmcomp/asmlibrarian.cmi :
|
||||
asmcomp/asmlink.cmi : asmcomp/cmx_format.cmi
|
||||
|
@ -593,19 +592,20 @@ asmcomp/asmpackager.cmi : typing/env.cmi
|
|||
asmcomp/clambda.cmi : bytecomp/lambda.cmi typing/ident.cmi \
|
||||
asmcomp/debuginfo.cmi parsing/asttypes.cmi
|
||||
asmcomp/closure.cmi : bytecomp/lambda.cmi asmcomp/clambda.cmi
|
||||
asmcomp/cmm.cmi : bytecomp/lambda.cmi typing/ident.cmi asmcomp/debuginfo.cmi
|
||||
asmcomp/cmmgen.cmi : asmcomp/cmx_format.cmi asmcomp/cmm.cmi \
|
||||
asmcomp/clambda.cmi
|
||||
asmcomp/cmm.cmi : bytecomp/lambda.cmi typing/ident.cmi asmcomp/debuginfo.cmi
|
||||
asmcomp/cmx_format.cmi : asmcomp/clambda.cmi
|
||||
asmcomp/codegen.cmi : asmcomp/cmm.cmi
|
||||
asmcomp/coloring.cmi :
|
||||
asmcomp/comballoc.cmi : asmcomp/mach.cmi
|
||||
asmcomp/compilenv.cmi : typing/ident.cmi asmcomp/cmx_format.cmi \
|
||||
asmcomp/clambda.cmi
|
||||
asmcomp/CSEgen.cmi : asmcomp/mach.cmi
|
||||
asmcomp/deadcode.cmi : asmcomp/mach.cmi
|
||||
asmcomp/debuginfo.cmi : parsing/location.cmi bytecomp/lambda.cmi
|
||||
asmcomp/emit.cmi : asmcomp/linearize.cmi asmcomp/cmm.cmi
|
||||
asmcomp/emitaux.cmi : asmcomp/debuginfo.cmi
|
||||
asmcomp/emit.cmi : asmcomp/linearize.cmi asmcomp/cmm.cmi
|
||||
asmcomp/interf.cmi : asmcomp/mach.cmi
|
||||
asmcomp/linearize.cmi : asmcomp/reg.cmi asmcomp/mach.cmi bytecomp/lambda.cmi \
|
||||
asmcomp/debuginfo.cmi
|
||||
|
@ -618,8 +618,8 @@ asmcomp/printlinear.cmi : asmcomp/linearize.cmi
|
|||
asmcomp/printmach.cmi : asmcomp/reg.cmi asmcomp/mach.cmi
|
||||
asmcomp/proc.cmi : asmcomp/reg.cmi asmcomp/mach.cmi
|
||||
asmcomp/reg.cmi : typing/ident.cmi asmcomp/cmm.cmi
|
||||
asmcomp/reload.cmi : asmcomp/mach.cmi
|
||||
asmcomp/reloadgen.cmi : asmcomp/reg.cmi asmcomp/mach.cmi
|
||||
asmcomp/reload.cmi : asmcomp/mach.cmi
|
||||
asmcomp/schedgen.cmi : asmcomp/mach.cmi asmcomp/linearize.cmi
|
||||
asmcomp/scheduling.cmi : asmcomp/linearize.cmi
|
||||
asmcomp/selectgen.cmi : utils/tbl.cmi asmcomp/reg.cmi asmcomp/mach.cmi \
|
||||
|
@ -633,12 +633,6 @@ asmcomp/x86_dsl.cmi : asmcomp/x86_ast.cmi
|
|||
asmcomp/x86_gas.cmi : asmcomp/x86_ast.cmi
|
||||
asmcomp/x86_masm.cmi : asmcomp/x86_ast.cmi
|
||||
asmcomp/x86_proc.cmi : asmcomp/x86_ast.cmi
|
||||
asmcomp/CSE.cmo : asmcomp/mach.cmi asmcomp/CSEgen.cmi asmcomp/arch.cmo
|
||||
asmcomp/CSE.cmx : asmcomp/mach.cmx asmcomp/CSEgen.cmx asmcomp/arch.cmx
|
||||
asmcomp/CSEgen.cmo : asmcomp/reg.cmi asmcomp/proc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/CSEgen.cmi
|
||||
asmcomp/CSEgen.cmx : asmcomp/reg.cmx asmcomp/proc.cmx asmcomp/mach.cmx \
|
||||
asmcomp/CSEgen.cmi
|
||||
asmcomp/arch.cmo :
|
||||
asmcomp/arch.cmx :
|
||||
asmcomp/asmgen.cmo : bytecomp/translmod.cmi asmcomp/split.cmi \
|
||||
|
@ -703,10 +697,6 @@ asmcomp/closure.cmx : utils/tbl.cmx bytecomp/switch.cmx typing/primitive.cmx \
|
|||
asmcomp/debuginfo.cmx asmcomp/compilenv.cmx utils/clflags.cmx \
|
||||
asmcomp/clambda.cmx parsing/asttypes.cmi asmcomp/arch.cmx \
|
||||
asmcomp/closure.cmi
|
||||
asmcomp/cmm.cmo : bytecomp/lambda.cmi typing/ident.cmi asmcomp/debuginfo.cmi \
|
||||
asmcomp/arch.cmo asmcomp/cmm.cmi
|
||||
asmcomp/cmm.cmx : bytecomp/lambda.cmx typing/ident.cmx asmcomp/debuginfo.cmx \
|
||||
asmcomp/arch.cmx asmcomp/cmm.cmi
|
||||
asmcomp/cmmgen.cmo : typing/types.cmi bytecomp/switch.cmi \
|
||||
asmcomp/strmatch.cmi asmcomp/proc.cmi typing/primitive.cmi utils/misc.cmi \
|
||||
bytecomp/lambda.cmi typing/ident.cmi asmcomp/debuginfo.cmi \
|
||||
|
@ -719,6 +709,10 @@ asmcomp/cmmgen.cmx : typing/types.cmx bytecomp/switch.cmx \
|
|||
utils/config.cmx asmcomp/compilenv.cmx asmcomp/cmx_format.cmi \
|
||||
asmcomp/cmm.cmx utils/clflags.cmx asmcomp/clambda.cmx \
|
||||
parsing/asttypes.cmi asmcomp/arch.cmx asmcomp/cmmgen.cmi
|
||||
asmcomp/cmm.cmo : bytecomp/lambda.cmi typing/ident.cmi asmcomp/debuginfo.cmi \
|
||||
asmcomp/arch.cmo asmcomp/cmm.cmi
|
||||
asmcomp/cmm.cmx : bytecomp/lambda.cmx typing/ident.cmx asmcomp/debuginfo.cmx \
|
||||
asmcomp/arch.cmx asmcomp/cmm.cmi
|
||||
asmcomp/codegen.cmo : asmcomp/split.cmi asmcomp/spill.cmi asmcomp/reload.cmi \
|
||||
asmcomp/reg.cmi asmcomp/printmach.cmi asmcomp/printlinear.cmi \
|
||||
asmcomp/printcmm.cmi asmcomp/liveness.cmi asmcomp/linearize.cmi \
|
||||
|
@ -741,6 +735,12 @@ asmcomp/compilenv.cmo : utils/misc.cmi parsing/location.cmi typing/ident.cmi \
|
|||
asmcomp/compilenv.cmx : utils/misc.cmx parsing/location.cmx typing/ident.cmx \
|
||||
typing/env.cmx utils/config.cmx asmcomp/cmx_format.cmi \
|
||||
asmcomp/clambda.cmx asmcomp/compilenv.cmi
|
||||
asmcomp/CSEgen.cmo : asmcomp/reg.cmi asmcomp/proc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/CSEgen.cmi
|
||||
asmcomp/CSEgen.cmx : asmcomp/reg.cmx asmcomp/proc.cmx asmcomp/mach.cmx \
|
||||
asmcomp/CSEgen.cmi
|
||||
asmcomp/CSE.cmo : asmcomp/mach.cmi asmcomp/CSEgen.cmi asmcomp/arch.cmo
|
||||
asmcomp/CSE.cmx : asmcomp/mach.cmx asmcomp/CSEgen.cmx asmcomp/arch.cmx
|
||||
asmcomp/deadcode.cmo : asmcomp/reg.cmi asmcomp/proc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/deadcode.cmi
|
||||
asmcomp/deadcode.cmx : asmcomp/reg.cmx asmcomp/proc.cmx asmcomp/mach.cmx \
|
||||
|
@ -749,6 +749,10 @@ asmcomp/debuginfo.cmo : parsing/location.cmi bytecomp/lambda.cmi \
|
|||
asmcomp/debuginfo.cmi
|
||||
asmcomp/debuginfo.cmx : parsing/location.cmx bytecomp/lambda.cmx \
|
||||
asmcomp/debuginfo.cmi
|
||||
asmcomp/emitaux.cmo : asmcomp/linearize.cmi asmcomp/debuginfo.cmi \
|
||||
utils/config.cmi utils/clflags.cmi asmcomp/arch.cmo asmcomp/emitaux.cmi
|
||||
asmcomp/emitaux.cmx : asmcomp/linearize.cmx asmcomp/debuginfo.cmx \
|
||||
utils/config.cmx utils/clflags.cmx asmcomp/arch.cmx asmcomp/emitaux.cmi
|
||||
asmcomp/emit.cmo : asmcomp/x86_proc.cmi asmcomp/x86_masm.cmi \
|
||||
asmcomp/x86_gas.cmi asmcomp/x86_dsl.cmi asmcomp/x86_ast.cmi \
|
||||
asmcomp/reg.cmi asmcomp/proc.cmi utils/misc.cmi asmcomp/mach.cmi \
|
||||
|
@ -761,10 +765,6 @@ asmcomp/emit.cmx : asmcomp/x86_proc.cmx asmcomp/x86_masm.cmx \
|
|||
asmcomp/linearize.cmx bytecomp/lambda.cmx asmcomp/emitaux.cmx \
|
||||
asmcomp/debuginfo.cmx utils/config.cmx asmcomp/compilenv.cmx \
|
||||
asmcomp/cmm.cmx utils/clflags.cmx asmcomp/arch.cmx asmcomp/emit.cmi
|
||||
asmcomp/emitaux.cmo : asmcomp/linearize.cmi asmcomp/debuginfo.cmi \
|
||||
utils/config.cmi utils/clflags.cmi asmcomp/arch.cmo asmcomp/emitaux.cmi
|
||||
asmcomp/emitaux.cmx : asmcomp/linearize.cmx asmcomp/debuginfo.cmx \
|
||||
utils/config.cmx utils/clflags.cmx asmcomp/arch.cmx asmcomp/emitaux.cmi
|
||||
asmcomp/interf.cmo : asmcomp/reg.cmi asmcomp/proc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/interf.cmi
|
||||
asmcomp/interf.cmx : asmcomp/reg.cmx asmcomp/proc.cmx asmcomp/mach.cmx \
|
||||
|
@ -817,14 +817,14 @@ asmcomp/proc.cmx : asmcomp/x86_proc.cmx asmcomp/reg.cmx utils/misc.cmx \
|
|||
asmcomp/proc.cmi
|
||||
asmcomp/reg.cmo : typing/ident.cmi asmcomp/cmm.cmi asmcomp/reg.cmi
|
||||
asmcomp/reg.cmx : typing/ident.cmx asmcomp/cmm.cmx asmcomp/reg.cmi
|
||||
asmcomp/reload.cmo : asmcomp/reloadgen.cmi asmcomp/reg.cmi asmcomp/mach.cmi \
|
||||
asmcomp/cmm.cmi utils/clflags.cmi asmcomp/arch.cmo asmcomp/reload.cmi
|
||||
asmcomp/reload.cmx : asmcomp/reloadgen.cmx asmcomp/reg.cmx asmcomp/mach.cmx \
|
||||
asmcomp/cmm.cmx utils/clflags.cmx asmcomp/arch.cmx asmcomp/reload.cmi
|
||||
asmcomp/reloadgen.cmo : asmcomp/reg.cmi utils/misc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/reloadgen.cmi
|
||||
asmcomp/reloadgen.cmx : asmcomp/reg.cmx utils/misc.cmx asmcomp/mach.cmx \
|
||||
asmcomp/reloadgen.cmi
|
||||
asmcomp/reload.cmo : asmcomp/reloadgen.cmi asmcomp/reg.cmi asmcomp/mach.cmi \
|
||||
asmcomp/cmm.cmi utils/clflags.cmi asmcomp/arch.cmo asmcomp/reload.cmi
|
||||
asmcomp/reload.cmx : asmcomp/reloadgen.cmx asmcomp/reg.cmx asmcomp/mach.cmx \
|
||||
asmcomp/cmm.cmx utils/clflags.cmx asmcomp/arch.cmx asmcomp/reload.cmi
|
||||
asmcomp/schedgen.cmo : asmcomp/reg.cmi asmcomp/proc.cmi asmcomp/mach.cmi \
|
||||
asmcomp/linearize.cmi asmcomp/cmm.cmi asmcomp/arch.cmo \
|
||||
asmcomp/schedgen.cmi
|
||||
|
@ -879,8 +879,8 @@ driver/compenv.cmi :
|
|||
driver/compile.cmi :
|
||||
driver/compmisc.cmi : typing/env.cmi
|
||||
driver/errors.cmi :
|
||||
driver/main.cmi :
|
||||
driver/main_args.cmi :
|
||||
driver/main.cmi :
|
||||
driver/optcompile.cmi :
|
||||
driver/opterrors.cmi :
|
||||
driver/optmain.cmi :
|
||||
|
@ -915,6 +915,8 @@ driver/compmisc.cmx : typing/typemod.cmx utils/misc.cmx \
|
|||
parsing/asttypes.cmi driver/compmisc.cmi
|
||||
driver/errors.cmo : parsing/location.cmi driver/errors.cmi
|
||||
driver/errors.cmx : parsing/location.cmx driver/errors.cmi
|
||||
driver/main_args.cmo : utils/warnings.cmi driver/main_args.cmi
|
||||
driver/main_args.cmx : utils/warnings.cmx driver/main_args.cmi
|
||||
driver/main.cmo : utils/warnings.cmi utils/misc.cmi driver/main_args.cmi \
|
||||
parsing/location.cmi utils/config.cmi driver/compmisc.cmi \
|
||||
driver/compile.cmi driver/compenv.cmi utils/clflags.cmi \
|
||||
|
@ -925,8 +927,6 @@ driver/main.cmx : utils/warnings.cmx utils/misc.cmx driver/main_args.cmx \
|
|||
driver/compile.cmx driver/compenv.cmx utils/clflags.cmx \
|
||||
bytecomp/bytepackager.cmx bytecomp/bytelink.cmx \
|
||||
bytecomp/bytelibrarian.cmx driver/main.cmi
|
||||
driver/main_args.cmo : utils/warnings.cmi driver/main_args.cmi
|
||||
driver/main_args.cmx : utils/warnings.cmx driver/main_args.cmi
|
||||
driver/optcompile.cmo : utils/warnings.cmi typing/typemod.cmi \
|
||||
typing/typedtree.cmi typing/typecore.cmi bytecomp/translmod.cmi \
|
||||
typing/stypes.cmi bytecomp/simplif.cmi typing/printtyped.cmi \
|
||||
|
@ -1094,8 +1094,8 @@ toplevel/topstart.cmx : toplevel/topmain.cmx
|
|||
toplevel/trace.cmo : typing/types.cmi toplevel/toploop.cmi \
|
||||
typing/printtyp.cmi typing/predef.cmi typing/path.cmi utils/misc.cmi \
|
||||
bytecomp/meta.cmi parsing/longident.cmi typing/ctype.cmi \
|
||||
toplevel/trace.cmi
|
||||
parsing/asttypes.cmi toplevel/trace.cmi
|
||||
toplevel/trace.cmx : typing/types.cmx toplevel/toploop.cmx \
|
||||
typing/printtyp.cmx typing/predef.cmx typing/path.cmx utils/misc.cmx \
|
||||
bytecomp/meta.cmx parsing/longident.cmx typing/ctype.cmx \
|
||||
toplevel/trace.cmi
|
||||
parsing/asttypes.cmi toplevel/trace.cmi
|
||||
|
|
|
@ -202,11 +202,11 @@
|
|||
/byterun/.depend
|
||||
/byterun/.depend.nt
|
||||
/byterun/.DS_Store
|
||||
/byterun/jumptbl.h
|
||||
/byterun/caml/jumptbl.h
|
||||
/byterun/primitives
|
||||
/byterun/prims.c
|
||||
/byterun/opnames.h
|
||||
/byterun/version.h
|
||||
/byterun/caml/opnames.h
|
||||
/byterun/caml/version.h
|
||||
/byterun/ocamlrun
|
||||
/byterun/ocamlrun.exe
|
||||
/byterun/ocamlrund
|
||||
|
|
2
Changes
2
Changes
|
@ -54,6 +54,8 @@ Type system:
|
|||
- PR#6593: Functor application in tests/basic-modules fails after commit 15405
|
||||
|
||||
Bug fixes:
|
||||
- PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes
|
||||
(Jérôme Vouillon and Adrien Nader and Peter Zotov)
|
||||
- PR#6560: Wrong failure message for {Int32,Int64,NativeInt}.of_string
|
||||
(Maxime Dénès and Gabriel Scherer)
|
||||
- PR#6648: show_module should indicate its elision
|
||||
|
|
10
Makefile
10
Makefile
|
@ -210,7 +210,7 @@ coldstart:
|
|||
if test -f boot/libcamlrun.a; then :; else \
|
||||
ln -s ../byterun/libcamlrun.a boot/libcamlrun.a; fi
|
||||
if test -d stdlib/caml; then :; else \
|
||||
ln -s ../byterun stdlib/caml; fi
|
||||
ln -s ../byterun/caml stdlib/caml; fi
|
||||
|
||||
# Build the core system: the minimum needed to make depend and bootstrap
|
||||
core:
|
||||
|
@ -556,8 +556,8 @@ $(COMMON:.cmo=.cmx) $(BYTECOMP:.cmo=.cmx) $(ASMCOMP:.cmo=.cmx): ocamlopt
|
|||
|
||||
# The numeric opcodes
|
||||
|
||||
bytecomp/opcodes.ml: byterun/instruct.h
|
||||
sed -n -e '/^enum/p' -e 's/,//g' -e '/^ /p' byterun/instruct.h | \
|
||||
bytecomp/opcodes.ml: byterun/caml/instruct.h
|
||||
sed -n -e '/^enum/p' -e 's/,//g' -e '/^ /p' byterun/caml/instruct.h | \
|
||||
awk -f tools/make-opcodes > bytecomp/opcodes.ml
|
||||
|
||||
partialclean::
|
||||
|
@ -570,9 +570,9 @@ beforedepend:: bytecomp/opcodes.ml
|
|||
byterun/primitives:
|
||||
cd byterun; $(MAKE) primitives
|
||||
|
||||
bytecomp/runtimedef.ml: byterun/primitives byterun/fail.h
|
||||
bytecomp/runtimedef.ml: byterun/primitives byterun/caml/fail.h
|
||||
(echo 'let builtin_exceptions = [|'; \
|
||||
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$| \1;|p' byterun/fail.h | \
|
||||
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$| \1;|p' byterun/caml/fail.h | \
|
||||
sed -e '$$s/;$$//'; \
|
||||
echo '|]'; \
|
||||
echo 'let builtin_primitives = [|'; \
|
||||
|
|
|
@ -481,8 +481,8 @@ $(COMMON:.cmo=.cmx) $(BYTECOMP:.cmo=.cmx) $(ASMCOMP:.cmo=.cmx): ocamlopt
|
|||
|
||||
# The numeric opcodes
|
||||
|
||||
bytecomp/opcodes.ml: byterun/instruct.h
|
||||
sed -n -e "/^enum/p" -e "s|,||g" -e "/^ /p" byterun/instruct.h | \
|
||||
bytecomp/opcodes.ml: byterun/caml/instruct.h
|
||||
sed -n -e "/^enum/p" -e "s|,||g" -e "/^ /p" byterun/caml/instruct.h | \
|
||||
gawk -f tools/make-opcodes > bytecomp/opcodes.ml
|
||||
|
||||
partialclean::
|
||||
|
@ -495,9 +495,9 @@ beforedepend:: bytecomp/opcodes.ml
|
|||
byterun/primitives:
|
||||
cd byterun ; $(MAKEREC) primitives
|
||||
|
||||
bytecomp/runtimedef.ml: byterun/primitives byterun/fail.h
|
||||
bytecomp/runtimedef.ml: byterun/primitives byterun/caml/fail.h
|
||||
(echo 'let builtin_exceptions = [|'; \
|
||||
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$| \1;|p' byterun/fail.h | \
|
||||
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$| \1;|p' byterun/caml/fail.h | \
|
||||
sed -e '$$s/;$$//'; \
|
||||
echo '|]'; \
|
||||
echo 'let builtin_primitives = [|'; \
|
||||
|
|
1740
asmrun/.depend
1740
asmrun/.depend
File diff suppressed because it is too large
Load Diff
|
@ -17,11 +17,11 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "alloc.h"
|
||||
#include "backtrace.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/backtrace.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "stack.h"
|
||||
|
||||
int caml_backtrace_active = 0;
|
||||
|
|
|
@ -15,17 +15,17 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "io.h"
|
||||
#include "gc.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "printexc.h"
|
||||
#include "signals.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/printexc.h"
|
||||
#include "caml/signals.h"
|
||||
#include "stack.h"
|
||||
#include "roots.h"
|
||||
#include "callback.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/callback.h"
|
||||
|
||||
/* The globals holding predefined exceptions */
|
||||
|
||||
|
|
|
@ -11,15 +11,15 @@
|
|||
/* */
|
||||
/***********************************************************************/
|
||||
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/memory.h"
|
||||
#include "stack.h"
|
||||
#include "callback.h"
|
||||
#include "alloc.h"
|
||||
#include "intext.h"
|
||||
#include "osdeps.h"
|
||||
#include "fail.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/osdeps.h"
|
||||
#include "caml/fail.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -13,15 +13,15 @@
|
|||
|
||||
/* To walk the memory roots for garbage collection */
|
||||
|
||||
#include "finalise.h"
|
||||
#include "globroots.h"
|
||||
#include "memory.h"
|
||||
#include "major_gc.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/globroots.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "stack.h"
|
||||
#include "roots.h"
|
||||
#include "caml/roots.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "osdeps.h"
|
||||
#include "signals.h"
|
||||
#include "signals_machdep.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/osdeps.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/signals_machdep.h"
|
||||
#include "signals_osdep.h"
|
||||
#include "stack.h"
|
||||
|
||||
|
|
|
@ -15,24 +15,24 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "callback.h"
|
||||
#include "backtrace.h"
|
||||
#include "custom.h"
|
||||
#include "debugger.h"
|
||||
#include "fail.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "intext.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "osdeps.h"
|
||||
#include "printexc.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/backtrace.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/debugger.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/osdeps.h"
|
||||
#include "caml/printexc.h"
|
||||
#include "stack.h"
|
||||
#include "sys.h"
|
||||
#include "caml/sys.h"
|
||||
#ifdef HAS_UI
|
||||
#include "ui.h"
|
||||
#include "caml/ui.h"
|
||||
#endif
|
||||
|
||||
extern int caml_parser_trace;
|
||||
|
|
1097
byterun/.depend
1097
byterun/.depend
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +1,8 @@
|
|||
jumptbl.h
|
||||
caml/jumptbl.h
|
||||
primitives
|
||||
prims.c
|
||||
opnames.h
|
||||
version.h
|
||||
caml/opnames.h
|
||||
caml/version.h
|
||||
ocamlrun
|
||||
ocamlrun.exe
|
||||
ocamlrund
|
||||
|
|
|
@ -57,7 +57,7 @@ clean::
|
|||
%.pic.o: %.c
|
||||
$(CC) -c $(CFLAGS) $(SHAREDCCCOMPOPTS) $< -o $@
|
||||
|
||||
depend : prims.c opnames.h jumptbl.h version.h
|
||||
depend : prims.c caml/opnames.h caml/jumptbl.h caml/version.h
|
||||
-gcc -MM $(BYTECCCOMPOPTS) *.c > .depend
|
||||
-gcc -MM $(BYTECCCOMPOPTS) -DDEBUG *.c | sed -e 's/\.o/.d.o/' >> .depend
|
||||
-gcc -MM $(BYTECCCOMPOPTS) *.c | sed -e 's/\.o/.pic.o/' >> .depend
|
||||
|
|
|
@ -62,7 +62,7 @@ install::
|
|||
if test -d $(INSTALL_LIBDIR)/caml; then : ; \
|
||||
else mkdir $(INSTALL_LIBDIR)/caml; fi
|
||||
for i in $(PUBLIC_INCLUDES); do \
|
||||
sed -f ../tools/cleanup-header $$i > $(INSTALL_LIBDIR)/caml/$$i; \
|
||||
sed -f ../tools/cleanup-header caml/$$i > $(INSTALL_LIBDIR)/caml/$$i; \
|
||||
done
|
||||
cp ld.conf $(INSTALL_LIBDIR)/ld.conf
|
||||
.PHONY: install
|
||||
|
@ -96,8 +96,8 @@ primitives : $(PRIMS)
|
|||
| sort | uniq > primitives
|
||||
|
||||
prims.c : primitives
|
||||
(echo '#include "mlvalues.h"'; \
|
||||
echo '#include "prims.h"'; \
|
||||
(echo '#include "caml/mlvalues.h"'; \
|
||||
echo '#include "caml/prims.h"'; \
|
||||
sed -e 's/.*/extern value &();/' primitives; \
|
||||
echo 'c_primitive caml_builtin_cprim[] = {'; \
|
||||
sed -e 's/.*/ &,/' primitives; \
|
||||
|
@ -106,23 +106,23 @@ prims.c : primitives
|
|||
sed -e 's/.*/ "&",/' primitives; \
|
||||
echo ' 0 };') > prims.c
|
||||
|
||||
opnames.h : instruct.h
|
||||
caml/opnames.h : caml/instruct.h
|
||||
sed -e '/\/\*/d' \
|
||||
-e '/^#/d' \
|
||||
-e 's/enum /char * names_of_/' \
|
||||
-e 's/{$$/[] = {/' \
|
||||
-e 's/\([[:upper:]][[:upper:]_0-9]*\)/"\1"/g' instruct.h > opnames.h
|
||||
-e 's/\([[:upper:]][[:upper:]_0-9]*\)/"\1"/g' caml/instruct.h > caml/opnames.h
|
||||
|
||||
# jumptbl.h is required only if you have GCC 2.0 or later
|
||||
jumptbl.h : instruct.h
|
||||
# caml/jumptbl.h is required only if you have GCC 2.0 or later
|
||||
caml/jumptbl.h : caml/instruct.h
|
||||
sed -n -e '/^ /s/ \([A-Z]\)/ \&\&lbl_\1/gp' \
|
||||
-e '/^}/q' instruct.h > jumptbl.h
|
||||
-e '/^}/q' caml/instruct.h > caml/jumptbl.h
|
||||
|
||||
version.h : ../VERSION ../tools/make-version-header.sh
|
||||
../tools/make-version-header.sh ../VERSION > version.h
|
||||
caml/version.h : ../VERSION ../tools/make-version-header.sh
|
||||
../tools/make-version-header.sh ../VERSION > caml/version.h
|
||||
|
||||
clean ::
|
||||
rm -f ocamlrun$(EXE) ocamlrund$(EXE) *.$(O) *.$(A) *.$(SO)
|
||||
rm -f primitives prims.c opnames.h jumptbl.h ld.conf
|
||||
rm -f version.h
|
||||
rm -f primitives prims.c caml/opnames.h caml/jumptbl.h ld.conf
|
||||
rm -f caml/version.h
|
||||
.PHONY: clean
|
||||
|
|
|
@ -41,10 +41,14 @@ libcamlrund.$(A): $(DOBJS)
|
|||
|
||||
.depend.nt: .depend
|
||||
rm -f .depend.win32
|
||||
echo "win32.o: win32.c fail.h compatibility.h \\" >> .depend.win32
|
||||
echo " misc.h config.h ../config/m.h ../config/s.h \\" >> .depend.win32
|
||||
echo " mlvalues.h memory.h gc.h major_gc.h \\" >> .depend.win32
|
||||
echo " freelist.h minor_gc.h osdeps.h signals.h" >> .depend.win32
|
||||
echo "win32.o: win32.c caml/fail.h caml/compatibility.h \\"\
|
||||
>> .depend.win32
|
||||
echo " caml/misc.h caml/config.h ../config/m.h ../config/s.h \\"\
|
||||
>> .depend.win32
|
||||
echo " caml/mlvalues.h caml/memory.h caml/gc.h caml/major_gc.h \\"\
|
||||
>> .depend.win32
|
||||
echo " caml/freelist.h caml/minor_gc.h caml/osdeps.h caml/signals.h"\
|
||||
>> .depend.win32
|
||||
cat .depend >> .depend.win32
|
||||
sed -e '/\.d\.o/q' -e 's/^\(.*\)\.o:/\1.$$(O) \1.$$(DBGO):/' \
|
||||
.depend.win32 > .depend.nt
|
||||
|
|
|
@ -17,12 +17,12 @@
|
|||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "custom.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
#define Setup_for_gc
|
||||
#define Restore_after_gc
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
/* Operations on arrays */
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
/* returns number of elements (either fields or floats) */
|
||||
CAMLexport mlsize_t caml_array_length(value array)
|
||||
|
|
|
@ -18,24 +18,24 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "caml/config.h"
|
||||
#ifdef HAS_UNISTD
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "mlvalues.h"
|
||||
#include "alloc.h"
|
||||
#include "io.h"
|
||||
#include "instruct.h"
|
||||
#include "intext.h"
|
||||
#include "exec.h"
|
||||
#include "fix_code.h"
|
||||
#include "memory.h"
|
||||
#include "startup.h"
|
||||
#include "stacks.h"
|
||||
#include "sys.h"
|
||||
#include "backtrace.h"
|
||||
#include "fail.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/exec.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/startup.h"
|
||||
#include "caml/stacks.h"
|
||||
#include "caml/sys.h"
|
||||
#include "caml/backtrace.h"
|
||||
#include "caml/fail.h"
|
||||
|
||||
CAMLexport int caml_backtrace_active = 0;
|
||||
CAMLexport int caml_backtrace_pos = 0;
|
||||
|
|
|
@ -14,19 +14,19 @@
|
|||
/* Callbacks from C to OCaml */
|
||||
|
||||
#include <string.h>
|
||||
#include "callback.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
#ifndef NATIVE_CODE
|
||||
|
||||
/* Bytecode callbacks */
|
||||
|
||||
#include "interp.h"
|
||||
#include "instruct.h"
|
||||
#include "fix_code.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/interp.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
CAMLexport int caml_callback_depth = 0;
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
/* <include ../config/m.h> */
|
||||
/* <include ../config/s.h> */
|
||||
/* <private> */
|
||||
#include "../config/m.h"
|
||||
#include "../config/s.h"
|
||||
#include "../../config/m.h"
|
||||
#include "../../config/s.h"
|
||||
/* </private> */
|
||||
|
||||
#ifndef CAML_NAME_SPACE
|
|
@ -13,16 +13,16 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "finalise.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "weak.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/weak.h"
|
||||
|
||||
extern uintnat caml_percent_free; /* major_gc.c */
|
||||
extern void caml_shrink_heap (char *); /* memory.c */
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
/* Structural comparison on trees. */
|
||||
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "alloc.h"
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
/* [size] is a number of bytes */
|
||||
CAMLexport value caml_alloc_custom(struct custom_operations * ops,
|
||||
|
|
|
@ -14,15 +14,15 @@
|
|||
/* Interface with the byte-code debugger */
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#include <caml/io.h>
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "debugger.h"
|
||||
#include "misc.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/debugger.h"
|
||||
#include "caml/misc.h"
|
||||
|
||||
int caml_debugger_in_use = 0;
|
||||
uintnat caml_event_count;
|
||||
|
@ -64,14 +64,14 @@ void caml_debugger_cleanup_fork(void)
|
|||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#include "fail.h"
|
||||
#include "fix_code.h"
|
||||
#include "instruct.h"
|
||||
#include "intext.h"
|
||||
#include "io.h"
|
||||
#include "mlvalues.h"
|
||||
#include "stacks.h"
|
||||
#include "sys.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/stacks.h"
|
||||
#include "caml/sys.h"
|
||||
|
||||
static int sock_domain; /* Socket domain for the debugger */
|
||||
static union { /* Socket address for the debugger */
|
||||
|
|
|
@ -18,18 +18,18 @@
|
|||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include "config.h"
|
||||
#include "caml/config.h"
|
||||
#ifdef HAS_UNISTD
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include "alloc.h"
|
||||
#include "dynlink.h"
|
||||
#include "fail.h"
|
||||
#include "mlvalues.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "osdeps.h"
|
||||
#include "prims.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/dynlink.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/osdeps.h"
|
||||
#include "caml/prims.h"
|
||||
|
||||
#ifndef NATIVE_CODE
|
||||
|
||||
|
|
|
@ -13,20 +13,20 @@
|
|||
|
||||
/* Structured output */
|
||||
|
||||
/* The interface of this file is "intext.h" */
|
||||
/* The interface of this file is "caml/intext.h" */
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "gc.h"
|
||||
#include "intext.h"
|
||||
#include "io.h"
|
||||
#include "md5.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "reverse.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/md5.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/reverse.h"
|
||||
|
||||
static uintnat obj_counter; /* Number of objects emitted so far */
|
||||
static uintnat size_32; /* Size in words of 32-bit block for struct. */
|
||||
|
|
|
@ -15,16 +15,16 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "io.h"
|
||||
#include "gc.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "printexc.h"
|
||||
#include "signals.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/printexc.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
CAMLexport struct longjmp_buffer * caml_external_raise = NULL;
|
||||
value caml_exn_bucket;
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
/* Handling of finalised values. */
|
||||
|
||||
#include "callback.h"
|
||||
#include "fail.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "signals.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/signals.h"
|
||||
|
||||
struct final {
|
||||
value fun;
|
||||
|
|
|
@ -13,21 +13,21 @@
|
|||
|
||||
/* Handling of blocks of bytecode (endianness switch, threading). */
|
||||
|
||||
#include "config.h"
|
||||
#include "caml/config.h"
|
||||
|
||||
#ifdef HAS_UNISTD
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "debugger.h"
|
||||
#include "fix_code.h"
|
||||
#include "instruct.h"
|
||||
#include "intext.h"
|
||||
#include "md5.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "reverse.h"
|
||||
#include "caml/debugger.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/md5.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/reverse.h"
|
||||
|
||||
code_t caml_start_code;
|
||||
asize_t caml_code_size;
|
||||
|
|
|
@ -11,20 +11,20 @@
|
|||
/* */
|
||||
/***********************************************************************/
|
||||
|
||||
/* The interface of this file is in "mlvalues.h" and "alloc.h" */
|
||||
/* The interface of this file is in "caml/mlvalues.h" and "caml/alloc.h" */
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "misc.h"
|
||||
#include "reverse.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/reverse.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <float.h>
|
||||
|
|
|
@ -18,14 +18,14 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "memory.h"
|
||||
#include "major_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
/* The free-list is kept sorted by increasing addresses.
|
||||
This makes the merging of adjacent free blocks possible.
|
||||
|
|
|
@ -11,21 +11,21 @@
|
|||
/* */
|
||||
/***********************************************************************/
|
||||
|
||||
#include "alloc.h"
|
||||
#include "compact.h"
|
||||
#include "custom.h"
|
||||
#include "finalise.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "major_gc.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/compact.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#ifdef NATIVE_CODE
|
||||
#include "stack.h"
|
||||
#else
|
||||
#include "stacks.h"
|
||||
#include "caml/stacks.h"
|
||||
#endif
|
||||
|
||||
#ifndef NATIVE_CODE
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
|
||||
/* Registration of global memory roots */
|
||||
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "globroots.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/globroots.h"
|
||||
|
||||
/* The sets of global memory roots are represented as skip lists
|
||||
(see William Pugh, "Skip lists: a probabilistic alternative to
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
/* The interface of this file is in "mlvalues.h" (for [caml_hash_variant])
|
||||
and in "hash.h" (for the other exported functions). */
|
||||
|
||||
#include "mlvalues.h"
|
||||
#include "custom.h"
|
||||
#include "memory.h"
|
||||
#include "hash.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/hash.h"
|
||||
|
||||
/* The new implementation, based on MurmurHash 3,
|
||||
http://code.google.com/p/smhasher/ */
|
||||
|
|
|
@ -19,12 +19,12 @@
|
|||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "instruct.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "opnames.h"
|
||||
#include "prims.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/opnames.h"
|
||||
#include "caml/prims.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
extern code_t caml_start_code;
|
||||
|
||||
|
|
|
@ -13,22 +13,22 @@
|
|||
|
||||
/* Structured input, compact format */
|
||||
|
||||
/* The interface of this file is "intext.h" */
|
||||
/* The interface of this file is "caml/intext.h" */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include "alloc.h"
|
||||
#include "callback.h"
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "gc.h"
|
||||
#include "intext.h"
|
||||
#include "io.h"
|
||||
#include "md5.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "misc.h"
|
||||
#include "reverse.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/md5.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/reverse.h"
|
||||
|
||||
static unsigned char * intern_src;
|
||||
/* Reading pointer in block holding input data. */
|
||||
|
|
|
@ -13,22 +13,22 @@
|
|||
|
||||
/* The bytecode interpreter */
|
||||
#include <stdio.h>
|
||||
#include "alloc.h"
|
||||
#include "backtrace.h"
|
||||
#include "callback.h"
|
||||
#include "debugger.h"
|
||||
#include "fail.h"
|
||||
#include "fix_code.h"
|
||||
#include "instrtrace.h"
|
||||
#include "instruct.h"
|
||||
#include "interp.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "prims.h"
|
||||
#include "signals.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/backtrace.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/debugger.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/instrtrace.h"
|
||||
#include "caml/instruct.h"
|
||||
#include "caml/interp.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/prims.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
/* Registers for the abstract machine:
|
||||
pc the code pointer
|
||||
|
@ -220,7 +220,7 @@ value caml_interprete(code_t prog, asize_t prog_size)
|
|||
|
||||
#ifdef THREADED_CODE
|
||||
static void * jumptable[] = {
|
||||
# include "jumptbl.h"
|
||||
# include "caml/jumptbl.h"
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "intext.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
|
||||
static char * parse_sign_and_base(char * p,
|
||||
/*out*/ int * base,
|
||||
|
|
20
byterun/io.c
20
byterun/io.c
|
@ -18,22 +18,22 @@
|
|||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include "config.h"
|
||||
#include "caml/config.h"
|
||||
#ifdef HAS_UNISTD
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef __CYGWIN__
|
||||
#include </usr/include/io.h>
|
||||
#endif
|
||||
#include "alloc.h"
|
||||
#include "custom.h"
|
||||
#include "fail.h"
|
||||
#include "io.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "signals.h"
|
||||
#include "sys.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/sys.h"
|
||||
|
||||
#ifndef SEEK_SET
|
||||
#define SEEK_SET 0
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
/* The table-driven automaton for lexers generated by camllex. */
|
||||
|
||||
#include "fail.h"
|
||||
#include "mlvalues.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
struct lexer_buffer {
|
||||
value refill_buff;
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
/* Main entry point (can be overridden by a user-provided main()
|
||||
function that calls caml_main() later). */
|
||||
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "sys.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/sys.h"
|
||||
|
||||
CAMLextern void caml_main (char **);
|
||||
|
||||
|
|
|
@ -13,19 +13,19 @@
|
|||
|
||||
#include <limits.h>
|
||||
|
||||
#include "compact.h"
|
||||
#include "custom.h"
|
||||
#include "config.h"
|
||||
#include "fail.h"
|
||||
#include "finalise.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "major_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "weak.h"
|
||||
#include "caml/compact.h"
|
||||
#include "caml/custom.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/weak.h"
|
||||
|
||||
#if defined (NATIVE_CODE) && defined (NO_NAKED_POINTERS)
|
||||
#define NATIVE_CODE_AND_NO_NAKED_POINTERS
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
/***********************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "md5.h"
|
||||
#include "memory.h"
|
||||
#include "mlvalues.h"
|
||||
#include "io.h"
|
||||
#include "reverse.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/md5.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/io.h"
|
||||
#include "caml/reverse.h"
|
||||
|
||||
/* MD5 message digest */
|
||||
|
||||
|
|
|
@ -13,17 +13,17 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "fail.h"
|
||||
#include "freelist.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "major_gc.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "signals.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/freelist.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/signals.h"
|
||||
|
||||
extern uintnat caml_percent_free; /* major_gc.c */
|
||||
|
||||
|
|
|
@ -14,19 +14,19 @@
|
|||
/* Primitives for the toplevel */
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "config.h"
|
||||
#include "fail.h"
|
||||
#include "fix_code.h"
|
||||
#include "interp.h"
|
||||
#include "intext.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "prims.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/fix_code.h"
|
||||
#include "caml/interp.h"
|
||||
#include "caml/intext.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/prims.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
#ifndef NATIVE_CODE
|
||||
|
||||
|
|
|
@ -12,19 +12,19 @@
|
|||
/***********************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "fail.h"
|
||||
#include "finalise.h"
|
||||
#include "gc.h"
|
||||
#include "gc_ctrl.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "signals.h"
|
||||
#include "weak.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/gc_ctrl.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/weak.h"
|
||||
|
||||
asize_t caml_minor_heap_wsz;
|
||||
static void *caml_young_base = NULL;
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include "config.h"
|
||||
#include "misc.h"
|
||||
#include "memory.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/memory.h"
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
|
|
|
@ -14,16 +14,16 @@
|
|||
/* Operations on objects */
|
||||
|
||||
#include <string.h>
|
||||
#include "alloc.h"
|
||||
#include "fail.h"
|
||||
#include "gc.h"
|
||||
#include "interp.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "prims.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/gc.h"
|
||||
#include "caml/interp.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/prims.h"
|
||||
|
||||
/* [size] is a value encoding a number of bytes */
|
||||
CAMLprim value caml_static_alloc(value size)
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "mlvalues.h"
|
||||
#include "memory.h"
|
||||
#include "alloc.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/alloc.h"
|
||||
|
||||
#define ERRCODE 256
|
||||
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "backtrace.h"
|
||||
#include "callback.h"
|
||||
#include "debugger.h"
|
||||
#include "fail.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "printexc.h"
|
||||
#include "caml/backtrace.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/debugger.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/printexc.h"
|
||||
|
||||
struct stringbuf {
|
||||
char * ptr;
|
||||
|
|
|
@ -13,15 +13,15 @@
|
|||
|
||||
/* To walk the memory roots for garbage collection */
|
||||
|
||||
#include "finalise.h"
|
||||
#include "globroots.h"
|
||||
#include "major_gc.h"
|
||||
#include "memory.h"
|
||||
#include "minor_gc.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/finalise.h"
|
||||
#include "caml/globroots.h"
|
||||
#include "caml/major_gc.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/minor_gc.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
CAMLexport struct caml__roots_block *caml_local_roots = NULL;
|
||||
|
||||
|
|
|
@ -15,17 +15,17 @@
|
|||
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include "alloc.h"
|
||||
#include "callback.h"
|
||||
#include "config.h"
|
||||
#include "fail.h"
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "roots.h"
|
||||
#include "signals.h"
|
||||
#include "signals_machdep.h"
|
||||
#include "sys.h"
|
||||
#include "caml/alloc.h"
|
||||
#include "caml/callback.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/roots.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/signals_machdep.h"
|
||||
#include "caml/sys.h"
|
||||
|
||||
#ifndef NSIG
|
||||
#define NSIG 64
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include "config.h"
|
||||
#include "memory.h"
|
||||
#include "osdeps.h"
|
||||
#include "signals.h"
|
||||
#include "signals_machdep.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/memory.h"
|
||||
#include "caml/osdeps.h"
|
||||
#include "caml/signals.h"
|
||||
#include "caml/signals_machdep.h"
|
||||
|
||||
#ifndef NSIG
|
||||
#define NSIG 64
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
/* To initialize and resize the stacks */
|
||||
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "fail.h"
|
||||
#include "misc.h"
|
||||
#include "mlvalues.h"
|
||||
#include "stacks.h"
|
||||
#include "caml/config.h"
|
||||
#include "caml/fail.h"
|
||||
#include "caml/misc.h"
|
||||
#include "caml/mlvalues.h"
|
||||
#include "caml/stacks.h"
|
||||
|
||||
CAMLexport value * caml_stack_low;
|
||||
CAMLexport value * caml_stack_high;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue