blob: 95e57192f3a7db576a0b365fd5509c808553c5fb [file] [log] [blame]
#include "mem/slicc/ast/NewExprAST.hh"
Type* NewExprAST::generate(string & code) const
{
Type* type = m_type_ptr->lookupType();
code += "new " + type->cIdent();
return type;
}