[PATCH] D136400: [llvm-ocaml] Migrate from naked pointers to prepare for OCaml 5
Alan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 25 12:46:04 PST 2023
alan added a comment.
If the reason why this patch doesn't add `CAML` macros is just to keep the diff small and focus on one issue (removing naked pointers), it might be worth it to have another patch that just adds `CAML` macros everywhere. It's a question of whether the `CAML` macros add any overhead that one would want to avoid, and whether the cost of being loose with the rules and adding comments to convey the rationale to other people reading the code is worth the maintenance effort versus just following the (oversimplified) rules of the OCaml docs.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136400/new/
https://reviews.llvm.org/D136400
More information about the llvm-commits
mailing list