Change ScratchPoolManager to use typed scratch space

This commit is contained in:
Pragyansh Chaturvedi
2025-11-04 14:16:44 +05:30
parent 123a92af1d
commit 963e2a8171
3 changed files with 26 additions and 9 deletions

View File

@ -50,7 +50,7 @@ def count_temps_in_call(call_node, local_sym_tab):
func_name = call_node.func.attr
if not is_helper:
return 0
return {} # No temps needed
for arg_idx in range(len(call_node.args)):
# NOTE: Count all non-name arguments