Skip to content

Commit 7cf89e1

Browse files
committed
Use gcc_ssa_name_get_version rather than SSA_NAME_VERSION in PyGccSsaName_repr
1 parent 849e453 commit 7cf89e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc-python-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ PyGccSsaName_repr(struct PyGccTree * self)
765765
PyObject *repr_var = NULL;
766766
PyObject *result = NULL;
767767

768-
version = SSA_NAME_VERSION(self->t.inner);
768+
version = gcc_ssa_name_get_version(gcc_tree_as_gcc_ssa_name(self->t));
769769
repr_var = PyGcc_GetReprOfAttribute((PyObject*)self, "var");
770770
if (!repr_var) {
771771
goto error;

0 commit comments

Comments
 (0)