Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
authorSteven Johnson <stejohns@adobe.com>
Thu, 15 Oct 2009 16:39:00 -0700
changeset 33992 32ee0f152e869eeb48b50e654042125355cc5ca2
parent 33991 e245d8dfd2f2406a67152a238d68787a06d18166
child 33993 b4d894f07121b2c1ba6f45f1dc18489bc338e6f8
push idunknown
push userunknown
push dateunknown
reviewersdvander
bugs522772
milestone1.9.3a1pre
Bug 522772 - add missing ifdef FEATURE_NANOJIT, r=dvander.
js/src/nanojit/LIR.cpp
--- a/js/src/nanojit/LIR.cpp
+++ b/js/src/nanojit/LIR.cpp
@@ -2129,16 +2129,17 @@ namespace nanojit
         va_start(vargs, format);
         vfprintf(stdout, format, vargs);
         va_end(vargs);
     }
 
 #endif // NJ_VERBOSE
 
 
+#ifdef FEATURE_NANOJIT
 #ifdef DEBUG
     LIns* SanityFilter::ins1(LOpcode v, LIns* s0)
     {
         switch (v)
         {
             case LIR_fneg:
             case LIR_fret:
             case LIR_qlo:
@@ -2222,10 +2223,11 @@ namespace nanojit
             NanoAssert(s1->isQuad() && s2->isQuad());
             break;
           default:
             break;
         }
         return out->ins3(v, s0, s1, s2);
     }
 #endif
+#endif
 
 }