We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3078d42 commit 338d499Copy full SHA for 338d499
1 file changed
pythonbpf/functions/functions_pass.py
@@ -62,7 +62,9 @@ def count_temps_in_call(call_node, local_sym_tab):
62
):
63
continue
64
param_type = HelperHandlerRegistry.get_param_type(func_name, arg_idx)
65
- count[param_type] = count.get(param_type, 0) + 1
+ if isinstance(param_type, ir.PointerType):
66
+ pointee_type = param_type.pointee
67
+ count[pointee_type] = count.get(pointee_type, 0) + 1
68
69
return count
70
0 commit comments