diff gen/nested.cpp @ 1218:7977096f0e49

Name some types.
author Frits van Bommel <fvbommel wxs.nl>
date Wed, 15 Apr 2009 21:37:01 +0200
parents 033f18ec1371
children b6370749ec8d
line wrap: on
line diff
--- a/gen/nested.cpp	Wed Apr 15 20:59:21 2009 +0200
+++ b/gen/nested.cpp	Wed Apr 15 21:37:01 2009 +0200
@@ -431,8 +431,8 @@
                 }
             }
             
-            // Append current frame type to frame type list
             const LLStructType* frameType = LLStructType::get(types);
+            gIR->module->addTypeName(std::string("nest.") + fd->toChars(), frameType);
             
             Logger::cout() << "frameType = " << *frameType << '\n';