From 34ce33431784af6395f55264517cc06b54dc62a4 Mon Sep 17 00:00:00 2001 From: Phil Dawes Date: Fri, 4 Sep 2009 19:25:22 +0100 Subject: [PATCH] Added data constructor to initialize bools in factorvmdata struct --- vm/vm-data.hpp | 13 +++++++++++++ vm/vm.hpp | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/vm/vm-data.hpp b/vm/vm-data.hpp index 701e35da9d..de5cf36632 100644 --- a/vm/vm-data.hpp +++ b/vm/vm-data.hpp @@ -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) + {} + }; } diff --git a/vm/vm.hpp b/vm/vm.hpp index efb0fa48e9..a199885f49 100644 --- a/vm/vm.hpp +++ b/vm/vm.hpp @@ -1,4 +1,4 @@ -#include "vm-data-dummy.hpp" +#include "vm-data.hpp" namespace factor { -- 2.34.1