Added data constructor to initialize bools in factorvmdata struct

db4
Phil Dawes 2009-09-04 19:25:22 +01:00
parent 67ac514a3b
commit 34ce334317
2 changed files with 14 additions and 1 deletions

View 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)
{}
};
}

View File

@ -1,4 +1,4 @@
#include "vm-data-dummy.hpp"
#include "vm-data.hpp"
namespace factor
{