summaryrefslogtreecommitdiff
path: root/src/mem/slicc/ast/NewExprAST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/slicc/ast/NewExprAST.cc')
-rw-r--r--src/mem/slicc/ast/NewExprAST.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mem/slicc/ast/NewExprAST.cc b/src/mem/slicc/ast/NewExprAST.cc
deleted file mode 100644
index 95e57192f..000000000
--- a/src/mem/slicc/ast/NewExprAST.cc
+++ /dev/null
@@ -1,9 +0,0 @@
-
-#include "mem/slicc/ast/NewExprAST.hh"
-
-Type* NewExprAST::generate(string & code) const
-{
- Type* type = m_type_ptr->lookupType();
- code += "new " + type->cIdent();
- return type;
-}