@@ -455,48 +455,6 @@ bool java_entry_point(
455
455
pointer_type_selector);
456
456
}
457
457
458
- // / Creates the initialize methods again taking account of symbols added to the
459
- // / symbol table during instantiation of lazy methods since they were first
460
- // / created,
461
- // / \param symbol_table: global symbol table containing symbols to initialize
462
- // / \param main_class: the class containing the "main" entry point
463
- // / \param message_handler: message_handlert for logging
464
- // / \param assume_init_pointers_not_null: specifies behaviour for
465
- // / java_static_lifetime_init
466
- // / \param object_factory_parameters: specifies behaviour for
467
- // / java_static_lifetime_init
468
- // / \param pointer_type_selector: specifies behaviour for
469
- // / java_static_lifetime_init
470
- bool recreate_initialize (
471
- symbol_table_baset &symbol_table,
472
- const irep_idt &main_class,
473
- message_handlert &message_handler,
474
- bool assume_init_pointers_not_null,
475
- const object_factory_parameterst &object_factory_parameters,
476
- const select_pointer_typet &pointer_type_selector)
477
- {
478
- messaget message (message_handler);
479
- main_function_resultt res=
480
- get_main_symbol (symbol_table, main_class, message_handler);
481
- if (res.status !=main_function_resultt::Success)
482
- {
483
- // No initialization was originally created (yikes!) so we can't recreate
484
- // it now
485
- return res.status ==main_function_resultt::Error;
486
- }
487
-
488
- create_initialize (symbol_table);
489
-
490
- java_static_lifetime_init (
491
- symbol_table,
492
- res.main_function .location ,
493
- assume_init_pointers_not_null,
494
- object_factory_parameters,
495
- pointer_type_selector);
496
-
497
- return false ;
498
- }
499
-
500
458
// / Generate a _start function for a specific function. See
501
459
// / java_entry_point for more details.
502
460
// / \param symbol: The symbol representing the function to call
0 commit comments