From b0b94ed83098d661914b064eca2e54c894287de9 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 17 Feb 2019 06:46:48 +0100 Subject: [PATCH] :bug: Fix include --- include/instr.h | 3 +-- include/optim.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/instr.h b/include/instr.h index cd68d088..fe9febbf 100644 --- a/include/instr.h +++ b/include/instr.h @@ -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 diff --git a/include/optim.h b/include/optim.h index 2bb66d32..42e6f2e3 100644 --- a/include/optim.h +++ b/include/optim.h @@ -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 -- 2.43.0