diff options
Diffstat (limited to 'src/mem/slicc/symbols/Func.py')
-rw-r--r-- | src/mem/slicc/symbols/Func.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/slicc/symbols/Func.py b/src/mem/slicc/symbols/Func.py index 5c812a96f..a05f0a03b 100644 --- a/src/mem/slicc/symbols/Func.py +++ b/src/mem/slicc/symbols/Func.py @@ -25,8 +25,6 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -from m5.util import code_formatter - from slicc.symbols.Symbol import Symbol from slicc.symbols.Type import Type @@ -71,7 +69,7 @@ class Func(Symbol): if "external" in self: return - code = code_formatter() + code = self.symtab.codeFormatter() # Header code(''' |