diff options
Diffstat (limited to 'src/mem/slicc/ast/FuncDeclAST.py')
-rw-r--r-- | src/mem/slicc/ast/FuncDeclAST.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/slicc/ast/FuncDeclAST.py b/src/mem/slicc/ast/FuncDeclAST.py index 980804c2a..a87d61119 100644 --- a/src/mem/slicc/ast/FuncDeclAST.py +++ b/src/mem/slicc/ast/FuncDeclAST.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.code_formatter import code_formatter - from slicc.ast.DeclAST import DeclAST from slicc.symbols import Func, Type @@ -70,7 +68,7 @@ class FuncDeclAST(DeclAST): types.append(type) params.append(ident) - body = code_formatter() + body = self.slicc.codeFormatter() if self.statements is None: self["external"] = "yes" else: |