blob: 95e57192f3a7db576a0b365fd5509c808553c5fb (
plain)
1
2
3
4
5
6
7
8
9
|
#include "mem/slicc/ast/NewExprAST.hh"
Type* NewExprAST::generate(string & code) const
{
Type* type = m_type_ptr->lookupType();
code += "new " + type->cIdent();
return type;
}
|