Changeset 9f2012f


Ignore:
Timestamp:
Apr 10, 2018, 3:38:18 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
34dcc474
Parents:
bfc7811
Message:

Find more stack-alloc'd nodes

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Box.cc

    rbfc7811 r9f2012f  
    13401340                                // add all size and alignment parameters to parameter list
    13411341                                if ( (*tyParm)->isComplete() ) {
    1342                                         TypeInstType parmType( Type::Qualifiers(), (*tyParm)->get_name(), *tyParm );
    1343                                         std::string parmName = mangleType( &parmType );
     1342                                        auto parmType = new TypeInstType(
     1343                                                Type::Qualifiers(), (*tyParm)->get_name(), *tyParm );
     1344                                        std::string parmName = mangleType( parmType );
    13441345
    13451346                                        sizeParm = newObj->clone();
  • src/SynTree/BaseSyntaxNode.h

    rbfc7811 r9f2012f  
    2323class Mutator;
    2424
    25 class BaseSyntaxNode : GC_Object {
     25class BaseSyntaxNode : public GC_Object {
    2626  friend class GcTracer;
    2727public:
Note: See TracChangeset for help on using the changeset viewer.