aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend.cpp
diff options
context:
space:
mode:
authorHarold Brenes <harold@hbrenes.com>2025-05-03 03:20:02 -0400
committerHarold Brenes <harold@hbrenes.com>2025-05-03 03:21:03 -0400
commitfc082f5ea5f8ba65811b0d008e7f86137297849c (patch)
tree6b04764a501fe2fb93670b02f99245daed3bb615 /src/llvm_backend.cpp
parent6d18560ca3054184d9bd97f280472d8cb5bb5081 (diff)
Remove some TODO. Leave important note
Diffstat (limited to 'src/llvm_backend.cpp')
-rw-r--r--src/llvm_backend.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp
index 4396a2a27..ce40e6e9f 100644
--- a/src/llvm_backend.cpp
+++ b/src/llvm_backend.cpp
@@ -1649,8 +1649,6 @@ gb_internal void lb_finalize_objc_names(lbGenerator *gen, lbProcedure *p) {
isize method_param_count = method_type->Proc.param_count;
isize method_param_offset = 0;
- // TODO(harold): Need to make sure (at checker stage) that the non-class method has the self parameter already.
- // (Maybe this is already accounted for?.)
if (!md.ac.objc_is_class_method) {
GB_ASSERT(method_param_count >= 1);
method_param_count -= 1;