Treat class-typed stack variables as construct declarations
Changes for dump and InlineCostVisitor