[opengtl-commits] [489] struct are first class type now...

[ Thread Index | Date Index | More lists.tuxfamily.org/opengtl-commits Archives ]


Revision: 489
Author:   cyrille
Date:     2008-11-22 12:26:51 +0100 (Sat, 22 Nov 2008)

Log Message:
-----------
struct are first class type now...

Modified Paths:
--------------
    trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp


Modified: trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp	2008-11-22 11:26:37 UTC (rev 488)
+++ trunk/OpenGTL/OpenGTL/GTLCore/VariableNG_p.cpp	2008-11-22 11:26:51 UTC (rev 489)
@@ -105,6 +105,7 @@
   if( d->directlyOnTheStack )
   {
     d->pointer = new llvm::AllocaInst( llvm::PointerType::get( d->type->d->type(), 0 ), "", _currentBlock );
+    GTL_DEBUG( *d->pointer << " " << *_pointer );
     new llvm::StoreInst( _pointer, d->pointer, "", _currentBlock );
   } else {
     d->pointer = _pointer;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/