process-spawn + pretty printer improvements (#1428)

* some jp support to fix some errors in the original game

* music fade toggle

* recognize `process-new` macros!!

* strip casts in this macro

* rename macro

* fix cast typecheck

* update source 1

* detect kernel stack case

* less boilerplate

* `manipy-spawn` special case

* pretty printer improvements

* revert dumb thing from earlier

* use shell detection on `send-event`

* fix some events

* remove unused argument

* detect `static-attack-info` and add `CondNoElse` to shell detect

* better `attack-info` detect

* support `process-spawn` in multi-lets

* detect `rand-float-gen` pt 1

* detect as return value

* detect in `countdown` and  `dotimes`

* oops this wasnt working

* fancier `send-event`s

* clang

* update source!!

* fix tests

* fine jeez

* uh okay

* fix some accidental regressions

* fix more regressions

* regression fixes

* fix big bug...

* extra safety!
This commit is contained in:
ManDude
2022-06-10 02:18:08 +01:00
committed by GitHub
parent ffd8ade4e1
commit 7ce58f709f
559 changed files with 35205 additions and 66104 deletions
+1 -13
View File
@@ -106,19 +106,7 @@ void ObjectFileDB::analyze_functions_ir2(
fmt::print("Done in {:.2f}ms\n", file_timer.getMs());
});
int total = stats.let.total();
lg::info("LET REWRITE STATS: {} total", total);
lg::info(" dotimes: {}", stats.let.dotimes);
lg::info(" countdown: {}", stats.let.countdown);
lg::info(" abs: {}", stats.let.abs);
lg::info(" abs2: {}", stats.let.abs2);
lg::info(" ja: {}", stats.let.ja);
lg::info(" set_vector: {}", stats.let.set_vector);
lg::info(" set_vector2: {}", stats.let.set_vector2);
lg::info(" case_no_else: {}", stats.let.case_no_else);
lg::info(" case_with_else: {}", stats.let.case_with_else);
lg::info(" unused: {}", stats.let.unused);
lg::info(" send_event: {}", stats.let.send_event);
lg::info("{}", stats.let.print());
if (config.generate_symbol_definition_map) {
lg::info("Generating symbol definition map...");