]> Nishi Git Mirror - gwion.git/commitdiff
:art: Prevent memoize if NOMEMOIZE
authorfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 21 Jan 2019 11:10:26 +0000 (12:10 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 21 Jan 2019 11:10:26 +0000 (12:10 +0100)
src/emit/memoize.c

index 91cee3dc8f772326b188186149f718aa34d17c40..dee3664f40a927e4f30ad3b68a39ba216a8d34a4 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef NOMEMOIZE
 #include <string.h>
 #include "gwion_util.h"
 #include "gwion_ast.h"
@@ -102,3 +103,4 @@ INSTR(MemoizeStore) {
     return;
   }
 }
+#endif