]> gitweb.factorcode.org Git - factor.git/commitdiff
Added data constructor to initialize bools in factorvmdata struct
authorPhil Dawes <phil@phildawes.net>
Fri, 4 Sep 2009 18:25:22 +0000 (19:25 +0100)
committerPhil Dawes <phil@phildawes.net>
Wed, 16 Sep 2009 07:22:17 +0000 (08:22 +0100)
vm/vm-data.hpp
vm/vm.hpp

index 701e35da9d349fcaea87555124b219c020b8aa4d..de5cf36632a7b374e47f1345d868bb9d3005daa8 100644 (file)
@@ -100,6 +100,19 @@ struct factorvmdata {
        cell ic_to_pic_transitions;
        cell pic_to_mega_transitions;
        cell pic_counts[4];  /* PIC_TAG, PIC_HI_TAG, PIC_TUPLE, PIC_HI_TAG_TUPLE */
+
+       factorvmdata() 
+               : profiling_p(false),
+                 secure_gc(false),
+                 gc_off(false),
+                 performing_gc(false),
+                 performing_compaction(false),
+                 collecting_aging_again(false),
+                 growing_data_heap(false),
+                 fep_disabled(false),
+                 full_output(false)
+       {}
+
 };
 
 }
index efb0fa48e947706ee43c09e1e687c7e5a3335506..a199885f495575697a6d6c9567b12d3b7a0f7180 100644 (file)
--- a/vm/vm.hpp
+++ b/vm/vm.hpp
@@ -1,4 +1,4 @@
-#include "vm-data-dummy.hpp"
+#include "vm-data.hpp"
 
 namespace factor
 {