From 9fa14555270fa8f2368a7f4df1510bd2937d25ec Mon Sep 17 00:00:00 2001 From: gareuselesinge Date: Mon, 6 May 2013 13:40:58 +0000 Subject: States: frozen states can hold closures States.freeze takes ~marshallable:bool, so that (only) when we want to marshal data to disk/network we can ask the freeze functions of the summary to force lazy values. The flag is propagated to Lib and Summary. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16478 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/declaremods.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'library/declaremods.ml') diff --git a/library/declaremods.ml b/library/declaremods.ml index 5866d612e..894445de1 100644 --- a/library/declaremods.ml +++ b/library/declaremods.ml @@ -111,7 +111,6 @@ let openmod_info = Summary.ref default_module_info ~name:"MODULE-INFO-3" substituted modules object during "reloading" of libraries *) let library_cache = Summary.ref Dirmap.empty ~name:"MODULE-INFO-4" - (* auxiliary functions to transform full_path and kernel_name given by Lib into module_path and DirPath.t needed for modules *) @@ -887,7 +886,7 @@ let declare_include_ interp_struct me_asts = of summaries *) let protect_summaries f = - let fs = Summary.freeze_summaries () in + let fs = Summary.freeze_summaries ~marshallable:false in try f fs with reraise -> (* Something wrong: undo the whole process *) -- cgit v1.2.3