summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSon Ho2022-01-26 16:34:51 +0100
committerSon Ho2022-01-26 16:34:51 +0100
commite7e51b2e492fc04fef859dda8c532c8db9a5bfd0 (patch)
tree63392d5545c899c02cd415fde9a4f38327ad637f
parent652e500bc2ad13f70db242e0c89234091769fe18 (diff)
Add TODOs
-rw-r--r--TODO.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/TODO.md b/TODO.md
index 62871300..1632a3ca 100644
--- a/TODO.md
+++ b/TODO.md
@@ -10,8 +10,11 @@
0. micro-passes for pure:
- remove unused variables
- - remove useless function calls *if* they are followed by associated
- backward calls (because they may panic!)
+ - remove useless function calls:
+ - calls which don't introduce values *if* they are followed by associated
+ backward calls (because they may panic!)
+ - calls which don't take inputs (can happen with backward functions - for
+ instance, if a rust function only returns shared borrows)
1. reorder the branches of matches