[INFER] Fix comment, temporarily turn on -a in browser for tests.
authorBrian Hackett <bhackett1024@gmail.com>
Wed, 01 Jun 2011 08:46:29 -0700
changeset 75128 1ac2a4e0ebe20aaf60d11a62f525b4a7ba110593
parent 75127 750eb028fb0674774641a4345eaff3d999967ebe
child 75129 8a0b550c10eb389db18d09ae33c75e38a2f9acdd
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
milestone6.0a1
[INFER] Fix comment, temporarily turn on -a in browser for tests.
js/src/xpconnect/src/xpcprivate.h
modules/libpref/src/init/all.js
--- a/js/src/xpconnect/src/xpcprivate.h
+++ b/js/src/xpconnect/src/xpcprivate.h
@@ -4400,17 +4400,19 @@ xpc_ForcePropertyResolve(JSContext* cx, 
 
 inline jsid
 GetRTIdByIndex(JSContext *cx, uintN index);
 
 inline jsval
 GetRTStringByIndex(JSContext *cx, uintN index);
 
 // Wrapper for JS_NewObject to mark the new object as system when parent is
-// also a system object.
+// also a system object. If uniqueType is specified then a new type object will
+// be created which is used only by the result, so that its property types
+// will be tracked precisely.
 inline JSObject*
 xpc_NewSystemInheritingJSObject(JSContext *cx, JSClass *clasp, JSObject *proto,
                                 bool uniqueType, JSObject *parent);
 
 inline JSBool
 xpc_SameScope(XPCWrappedNativeScope *objectscope,
               XPCWrappedNativeScope *xpcscope,
               JSBool *sameOrigin);
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -611,17 +611,17 @@ pref("javascript.options.strict.debug", 
 #endif
 pref("javascript.options.relimit",          true);
 pref("javascript.options.tracejit.content",  true);
 pref("javascript.options.tracejit.chrome",   true);
 pref("javascript.options.methodjit.content", true);
 pref("javascript.options.methodjit.chrome",  true);
 pref("javascript.options.jitprofiling.content", true);
 pref("javascript.options.jitprofiling.chrome",  true);
-pref("javascript.options.methodjit_always", false);
+pref("javascript.options.methodjit_always", true);
 pref("javascript.options.typeinference", true);
 // This preference limits the memory usage of javascript.
 // If you want to change these values for your device,
 // please find Bug 417052 comment 17 and Bug 456721
 // Comment 32 and Bug 613551.
 pref("javascript.options.mem.high_water_mark", 128);
 pref("javascript.options.mem.max", -1);
 pref("javascript.options.mem.gc_frequency",   300);