- see http://www.mozilla.org/en-US/firefox/12.0/releasenotes/ for details - two patches moved (patch-widget_src_xpwidgets_nsPrintSettingsImpl_cpp and patch-widget_src_gtk2_Makefile_in) - add two new patches for bug #691898 (patch-js_src_jsapi_cpp and /patch-js_src_jsprvtd_h) - add patch-gfx_thebes_gfxPlatform_cpp to workaround regression introduced in bug #715658, which prevents one from building against systemwide cairo. - patch-extensions_auth_nsAuthGSSAPI_cpp from bug #667325 got merged - patch-js_src_js-config_h_in and patch-js_src_jscpucfg_h from #714312 got merged - patch-ipc_chromium_src_base_dir_reader_posix_ -from #714315 got merged
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
$OpenBSD: patch-js_src_jscntxt_h,v 1.2 2012/04/30 15:28:42 landry Exp $
|
|
https://bug691898.bugzilla.mozilla.org/attachment.cgi?id=588391
|
|
use yarr interpreter on ppc
|
|
--- js/src/jscntxt.h.orig Wed Apr 11 15:55:01 2012
|
|
+++ js/src/jscntxt.h Wed Apr 18 22:30:01 2012
|
|
@@ -221,18 +221,24 @@ struct JSRuntime
|
|
* Both of these allocators are used for regular expression code which is shared at the
|
|
* thread-data level.
|
|
*/
|
|
+#if ENABLE_ASSEMBLER
|
|
JSC::ExecutableAllocator *execAlloc_;
|
|
+#endif
|
|
WTF::BumpPointerAllocator *bumpAlloc_;
|
|
js::RegExpPrivateCache *repCache_;
|
|
|
|
+#if ENABLE_ASSEMBLER
|
|
JSC::ExecutableAllocator *createExecutableAllocator(JSContext *cx);
|
|
+#endif
|
|
WTF::BumpPointerAllocator *createBumpPointerAllocator(JSContext *cx);
|
|
js::RegExpPrivateCache *createRegExpPrivateCache(JSContext *cx);
|
|
|
|
public:
|
|
+#if ENABLE_ASSEMBLER
|
|
JSC::ExecutableAllocator *getExecutableAllocator(JSContext *cx) {
|
|
return execAlloc_ ? execAlloc_ : createExecutableAllocator(cx);
|
|
}
|
|
+#endif
|
|
WTF::BumpPointerAllocator *getBumpPointerAllocator(JSContext *cx) {
|
|
return bumpAlloc_ ? bumpAlloc_ : createBumpPointerAllocator(cx);
|
|
}
|