summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/FuncDeclAST.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/slicc/ast/FuncDeclAST.py')
-rw-r--r--src/mem/slicc/ast/FuncDeclAST.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mem/slicc/ast/FuncDeclAST.py b/src/mem/slicc/ast/FuncDeclAST.py
index a87d61119..54b0f2c59 100644
--- a/src/mem/slicc/ast/FuncDeclAST.py
+++ b/src/mem/slicc/ast/FuncDeclAST.py
@@ -41,14 +41,7 @@ class FuncDeclAST(DeclAST):
return "[FuncDecl: %s]" % self.ident
def files(self, parent=None):
- if "external" in self or self.statements is None:
- return set()
-
- if parent:
- ident = "%s_%s" % (parent, self.ident)
- else:
- ident = self.ident
- return set(("%s.cc" % ident,))
+ return set()
def generate(self):
types = []