define pic_dump_irep only if DEBUG is defined

This commit is contained in:
Yuichi Nishiwaki
2015-05-27 22:10:51 +09:00
parent 3bc0be34ac
commit 81be1b9e3e
+4
View File
@@ -80,6 +80,8 @@ struct pic_irep {
pic_value pic_analyze(pic_state *, pic_value);
struct pic_irep *pic_codegen(pic_state *, pic_value);
#if DEBUG
PIC_INLINE void
pic_dump_code(pic_code c)
{
@@ -213,6 +215,8 @@ pic_dump_irep(struct pic_irep *irep)
}
}
#endif
#if defined(__cplusplus)
}
#endif