$OpenBSD: patch-mozilla_js_src_vm_RegExpObject-inl_h,v 1.4 2012/06/11 15:38:33 landry Exp $
--- mozilla/js/src/vm/RegExpObject-inl.h.orig	Fri May 18 06:10:51 2012
+++ mozilla/js/src/vm/RegExpObject-inl.h	Fri May 18 09:31:55 2012
@@ -137,6 +137,7 @@ RegExpObject::setSticky(bool enabled)
     setSlot(STICKY_FLAG_SLOT, BooleanValue(enabled));
 }
 
+#if ENABLE_YARR_JIT
 /* This function should be deleted once bad Android platforms phase out. See bug 604774. */
 inline bool
 detail::RegExpCode::isJITRuntimeEnabled(JSContext *cx)
@@ -147,6 +148,7 @@ detail::RegExpCode::isJITRuntimeEnabled(JSContext *cx)
     return true;
 #endif
 }
+#endif
 
 inline bool
 RegExpToShared(JSContext *cx, JSObject &obj, RegExpGuard *g)
