Skip to content

opt: drop calls to unit like clazzes#5754

Draft
michaellilltokiwa wants to merge 8 commits intotokiwa-software:mainfrom
michaellilltokiwa:opt--drop-calls-to-unit-like-clazzes
Draft

opt: drop calls to unit like clazzes#5754
michaellilltokiwa wants to merge 8 commits intotokiwa-software:mainfrom
michaellilltokiwa:opt--drop-calls-to-unit-like-clazzes

Conversation

@michaellilltokiwa
Copy link
Copy Markdown
Member

@michaellilltokiwa michaellilltokiwa commented Aug 18, 2025

example diff

--- "HelloWorld copy.c"	2025-08-19 14:33:00.827374120 +0200
+++ HelloWorld.c	2025-08-19 14:34:03.271606450 +0200
@@ -159,12 +159,12 @@
     fzT_4array_w_u8* fzCur;
     fzCur = fzE_malloc_safe(sizeof(fzT_4array_w_u8));
     fzCur->fzF_29_internal_u_array = arg0;
-    // 805308127: Call container(outer universe) container
-    fzC_container();
+    // 805308127: Comment: Call is a NOP, eliminated:container
+    // Call is a NOP, eliminated:container
     // 805308128: Current
     // 805308129: Assign container to -- no clazz --
-    // 805308130: Call property(outer universe) property
-    fzC_property();
+    // 805308130: Comment: Call is a NOP, eliminated:property
+    // Call is a NOP, eliminated:property
     // 805308131: Current
     // 805308132: Assign property to -- no clazz --
     // 805308133: Current
@@ -183,8 +183,8 @@
     fzT_1say fzCur;
     fzE_mem_zero_secure(&fzCur,sizeof fzCur);
     fzCur.fzF_53_s = (fzT__RAny*)arg0;
-    // 805306377: Call io(outer universe) io
-    fzC_io();
+    // 805306377: Comment: Call is a NOP, eliminated:io
+    // Call is a NOP, eliminated:io
     // 805306378: Call io.out(outer io) io.Out
     fzT_io_ROut* fzM_0;
     fzM_0 = fzC_io__out();
@@ -256,8 +256,8 @@

@michaellilltokiwa michaellilltokiwa added the optimizer/analyzer Related to optmization or analysis phases performed on the FUIR label Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimizer/analyzer Related to optmization or analysis phases performed on the FUIR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant