Beispiel #1
0
/* Allocates memory */
void factor_vm::prepare_boot_image() {
  std::cout << "*** Stage 2 early init... " << std::flush;

  compile_all_words();
  update_code_heap_words(true);
  initialize_all_quotations();
  special_objects[OBJ_STAGE2] = true_object;

  std::cout << "done" << std::endl;
}
Beispiel #2
0
/* Do some initialization that we do once only */
void factorvm::do_stage1_init()
{
	print_string("*** Stage 2 early init... ");
	fflush(stdout);

	compile_all_words();
	userenv[STAGE2_ENV] = T;

	print_string("done\n");
	fflush(stdout);
}