diff --git a/src/peep.c b/src/peep.c
index 3bc7a8c95412791f4a8c8acc40ed9aacd9776ba6..d92f78df27558a5f5eeaeabc575c3a8a37c9bb7a 100644
--- a/src/peep.c
+++ b/src/peep.c
@@ -101,8 +101,10 @@ void update_arg(int instr,INT32 arg)
 
 void ins_f_byte(unsigned int b)
 {
+#ifdef DEBUG
   if(store_linenumbers && b<F_MAX_OPCODE)
     ADD_COMPILED(b);
+#endif /* DEBUG */
 
   b-=F_OFFSET;
 #ifdef DEBUG