]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix include
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 17 Feb 2019 05:46:48 +0000 (06:46 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 17 Feb 2019 05:46:48 +0000 (06:46 +0100)
include/instr.h
include/optim.h

index cd68d088962b227d50b5161ca16701abf023fa8b..fe9febbfda09bfbc206427c36162c4b46f41e1ba 100644 (file)
@@ -77,10 +77,9 @@ struct dottmpl_ {
   Type_List tl;
 };
 ANN void free_dottmpl(struct dottmpl_*);
-#endif
-
 // optimizations
 #ifdef OPTIMIZE
 INSTR(PutArgsInMem);
+#endif
 #include "opcode.h"
 #endif
index 2bb66d3296fc05049047589769b9f0e5b290d2e3..42e6f2e3f737364fe1a5222a320987735aced636 100644 (file)
@@ -5,6 +5,7 @@
 ANN m_bool optimize_const(const Exp_Binary*);
 //ANN2(1) void constprop_prim(const Exp_Primary* p, m_uint* ptr);
 #else
+#define OPTIMIZE_CONST(a)
 #endif
 m_bool constant_folding(const Exp_Binary* bin);
 #endif