summaryrefslogtreecommitdiff
path: root/python/variable.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/variable.py')
-rw-r--r--python/variable.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/variable.py b/python/variable.py
index 75e95712..3ca4bb1c 100644
--- a/python/variable.py
+++ b/python/variable.py
@@ -886,6 +886,11 @@ class Variable(CoreVariable):
"""returns the source Function object which this variable belongs to"""
return self._function
+ @property
+ def il_function(self) -> 'function.ILFunctionType':
+ """returns the IL Function object which this variable belongs to"""
+ return self.var._il_function
+
def set_name_async(self, name: Optional[str]) -> None:
"""
``set_name_async`` provides a way to asynchronously set the name of a variable. This method should be used