From 818dc318a974b5a5053720e55084b0671017b814 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Tue, 7 May 2024 12:16:13 -0400 Subject: fix def_sites and use_sites 👀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/variable.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'python/variable.py') 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 -- cgit v1.3.1