diff --git a/src/dsp/enc_mips32.c b/src/dsp/enc_mips32.c
index 5581bcb2..78a5da5c 100644
--- a/src/dsp/enc_mips32.c
+++ b/src/dsp/enc_mips32.c
@@ -20,14 +20,14 @@
 #include "../enc/vp8enci.h"
 #include "../enc/cost.h"
 
-static const int kC1 = 20091 + (1 << 16);
-static const int kC2 = 35468;
-
 // TODO(djordje): this fails in optimized builds:
 // error: can't find a register in class 'GR_REGS' while reloading 'asm'
 // error: 'asm' operand has impossible constraints
 #ifdef __OPTIMIZE__
 
+static const int kC1 = 20091 + (1 << 16);
+static const int kC2 = 35468;
+
 // macro for one vertical pass in ITransformOne
 // MUL macro inlined
 // temp0..temp15 holds tmp[0]..tmp[15]