]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/image.cpp
audio.engine.test: cleanup using
[factor.git] / vm / image.cpp
index c61a0a83cd9ad94b8678a87d54aa2d8651e90c5a..571cfa0d27e03e61cd62014454431df60bf6f4d9 100644 (file)
@@ -25,7 +25,7 @@ vm_parameters::vm_parameters() {
   callstack_size = 128 * sizeof(cell);
 #endif
 
-  code_size = 64;
+  code_size = 96;
   young_size = sizeof(cell) / 4;
   aging_size = sizeof(cell) / 2;
   tenured_size = 24 * sizeof(cell);
@@ -94,8 +94,6 @@ void vm_parameters::init_from_args(int argc, vm_char** argv) {
       fep = true;
     else if (STRCMP(arg, STRING_LITERAL("-no-signals")) == 0)
       signals = false;
-    else if (STRCMP(arg, STRING_LITERAL("-console")) == 0)
-      console = true;
   }
 }
 
@@ -275,7 +273,7 @@ void factor_vm::load_image(vm_parameters* p) {
 // so. Instead we signal failure by returning false.
 bool factor_vm::save_image(const vm_char* saving_filename,
                            const vm_char* filename) {
-  image_header h;
+  image_header h = {};
 
   h.magic = image_magic;
   h.version = image_version;