[opengtl-commits] [568] do not enable the MemoryManager it hangs in blur.shiva |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 568
Author: cyrille
Date: 2009-02-27 23:23:16 +0100 (Fri, 27 Feb 2009)
Log Message:
-----------
do not enable the MemoryManager it hangs in blur.shiva
Modified Paths:
--------------
trunk/OpenGTL/OpenGTL/GTLCore/CodeGenerator_p.cpp
Modified: trunk/OpenGTL/OpenGTL/GTLCore/CodeGenerator_p.cpp
===================================================================
--- trunk/OpenGTL/OpenGTL/GTLCore/CodeGenerator_p.cpp 2009-02-27 18:47:12 UTC (rev 567)
+++ trunk/OpenGTL/OpenGTL/GTLCore/CodeGenerator_p.cpp 2009-02-27 22:23:16 UTC (rev 568)
@@ -41,6 +41,10 @@
#include "AST/AccessorExpression.h"
#include "wrappers/ArrayWrap.h"
+// Define _USE_GTL_MM_ if you want to enable the use of GTLCore::MemoryManager
+// instead of plain call to malloc.
+// #define _USE_GTL_MM_
+
#define UNIFORMIZE_TYPES( _v1_, _v2_) \
GTL_ASSERT( _v1_.value() ); \
GTL_ASSERT( _v2_.value() ); \
@@ -730,8 +734,6 @@
return val;
}
-#define _USE_GTL_MM_
-
#ifdef _USE_GTL_MM_
llvm::Function* createGtlMallocFunction( llvm::Module* _module )