Add pointer handling to helper_utils, finish pointer assignment

This commit is contained in:
Pragyansh Chaturvedi
2025-10-10 15:01:15 +05:30
parent 99aacca94b
commit 9febadffd3
4 changed files with 48 additions and 12 deletions

View File

@ -26,7 +26,7 @@ def _handle_constant_expr(expr: ast.Constant):
if isinstance(expr.value, int) or isinstance(expr.value, bool):
return ir.Constant(ir.IntType(64), int(expr.value)), ir.IntType(64)
else:
logger.error("Unsupported constant type")
logger.error(f"Unsupported constant type {ast.dump(expr)}")
return None