Igor Bukanov
19d0adbfd0
bug 718600 - remove JSRuntime::(rtLock, state). r=luke
2012-01-17 23:14:49 +01:00
Bill McCloskey
0603b2c7d2
Bug 708303 - Use pinReg/unpinReg more in write barriers (r=dmandelin)
2012-01-16 13:52:57 -08:00
Nathan Froyd
f427e14b9a
Bug 711563 - compact function specs; r=jorendorff
2011-12-29 16:23:53 -05:00
Nathan Froyd
cae1a132cc
Bug 711563 - flatten property and function names; r=jorendorff
2011-12-29 16:20:26 -05:00
Nathan Froyd
dd4958fcd7
Bug 711563 - more compact property and function tables; r=jorendorff
2011-12-29 15:18:41 -05:00
Nathan Froyd
deed107b93
Bug 711563 - reduce space required by hash entry chains; r=jorendorff
2011-12-16 14:49:53 -05:00
Ginn Chen
22f3bf0f4d
Bug 717863 default pagesize is 8192 on Solaris/SPARC r=igor
2012-01-16 09:32:58 +08:00
Justin Wood
94e66a942e
Merge m-c tip to m-i
2012-01-15 05:29:24 -05:00
Ms2ger
c7c024b493
Bug 712034 - Clean up jstypes.h a bit; r=njn
2012-01-15 09:13:12 +01:00
Ms2ger
d236ac43e7
Bug 714052 - Remove JS_NEITHER; r=luke
2012-01-15 09:13:12 +01:00
Ms2ger
877acb1064
Bug 717195 - Export dombindings.h; r=bholley
2012-01-15 09:13:12 +01:00
Ms2ger
7cb43df24b
Bug 677079 - Part ab: Remove jscntxt.h and dependencies from INSTALLED_HEADERS; r=dmandelin
2012-01-15 09:13:11 +01:00
Ms2ger
6f32f32b0c
Bug 677079 - Part aa: Expose sizeof(JSContext) in jsfriendapi.h; r=njn
2012-01-15 09:13:11 +01:00
Ms2ger
51d689e4f8
Bug 677079 - Part z: Move JS_CHECK_RECURSION to jsfriendapi.h; r=mjrosenb
2012-01-15 09:13:11 +01:00
Ms2ger
eabd14ca4c
Bug 677079 - Part y: Move AutoIdVector to jsapi.h; r=evilpie
2012-01-15 09:13:11 +01:00
Ms2ger
93d155a6e0
Bug 677079 - Part x: Move AutoValueVector to jsapi.h; r=evilpie
2012-01-15 09:13:11 +01:00
Ms2ger
bcf6141336
Bug 677079 - Part w: Move AutoVectorRooter to jsapi.h; r=evilpie
2012-01-15 09:13:11 +01:00
Ms2ger
36d683ad8a
Bug 677079 - Part v: Expose rt->compartments in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:11 +01:00
Ms2ger
af15e55f33
Bug 677079 - Part u: Provide TriggerOperationCallbacksForActiveContexts in jsfriendapi.h; r=bhackett
2012-01-15 09:13:10 +01:00
Ms2ger
475d2d2ae7
Bug 677079 - Part t: Provide IsContextRunningJS in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:10 +01:00
Ms2ger
ca8fadca6c
Bug 677079 - Part s: Make JS_TRACER_INIT a function instead of a macro; r=billm
2012-01-15 09:13:10 +01:00
Ms2ger
fb1a9705e9
Bug 677079 - Part r: Provide AutoSkipConservativeScan in jsfriendapi.h; r=luke
2012-01-15 09:13:10 +01:00
Ms2ger
2fa4283d53
Bug 677079 - Part q: Expose gcLock in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
9cc9bf5989
Bug 677079 - Part p: Remove AutoLockJSGC in favour of js::AutoLockGC; r=bholley
2012-01-15 09:13:10 +01:00
Ms2ger
5760a0138f
Bug 677079 - Part o: Expose setActivityCallback in jsfriendapi.h; r=gal
2012-01-15 09:13:10 +01:00
Ms2ger
dcc2192b9e
Bug 677079 - Part n: Expose JSOPTION_UNROOTED_GLOBAL in jsfriendapi.h; r=gal
2012-01-15 09:13:09 +01:00
Ms2ger
073f6de1f2
Bug 677079 - Part m: Expose context's compartment in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:09 +01:00
Ms2ger
5dd89f7622
Bug 677079 - Part l: Use the existing JSAPI for the global object for a context; r=bholley
2012-01-15 09:13:09 +01:00
Ms2ger
b9c45d68a5
Bug 677079 - Part k: Expose outstandingRequests in jsfriendapi.h; r=cdleary
2012-01-15 09:13:09 +01:00
Ms2ger
12e2f46eaf
Bug 677079 - Part i: Expose errorReporter in jsapi.h; r=mrbkap
2012-01-15 09:13:09 +01:00
Ms2ger
461985aea6
Bug 677079 - Part h: Expose debuggerHandler in jsfriendapi.h; r=igor
2012-01-15 09:13:09 +01:00
Ms2ger
2d806d1221
Bug 677079 - Part g: Expose VersionSetXML in jsfriendapi.h; r=bhackett
2012-01-15 09:13:08 +01:00
Ms2ger
37abe21b9b
Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
2e4fa0ccc7
Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke
2012-01-15 09:13:08 +01:00
Ms2ger
ea843ee873
Bug 677079 - Part d: Move js_GetErrorMessage to jsfriendapi.h; r=jorendorff
2012-01-15 09:13:08 +01:00
Ms2ger
8f9952cbfe
Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo
2012-01-15 09:13:07 +01:00
Ms2ger
aec664aa8d
Bug 677079 - Part b: Use existing JSAPI functions where those are available; r=bholley
2012-01-15 09:13:07 +01:00
Ms2ger
918ad925e0
Bug 677079 - Part a: Move AutoLockGC to jsfriendapi.h; r=igor
2012-01-15 09:13:07 +01:00
Boris Zbarsky
2897934987
Bug 712289. Make sure that alignment requirements agree for js::Value and jsval_layout. r=luke
2012-01-14 23:39:32 -05:00
Shu-yu Guo
cd34eca2e7
Fix opcode metadata counting for property and element ops, bug 717988. r=bhackett
2012-01-13 17:47:59 -08:00
Brian Hackett
db968915ae
Mark types for second value pushed by JSOP_CALLXMLNAME, bug 717252. r=dvander
2012-01-13 17:45:11 -08:00
Brian Hackett
5135533b2f
Merge.
2012-01-13 17:40:14 -08:00
Chris Leary
7585ba24c3
Back out b36175bbda47.
...
--HG--
extra : rebase_source : 927a14ed70c37c654b53145a71d2f88be139a9b9
2012-01-13 17:35:10 -08:00
Brian Hackett
c92709cb10
Don't clobber compared FP registers when syncing before a double comparison, bug 716119. r=dvander
2012-01-13 13:18:51 -08:00
Chris Leary
0ea4f279e8
Bug 717762: Proliferate js_memcpy and PodCopy. (r=luke)
2012-01-12 18:40:08 -08:00
Chao-ying Fu
0374237412
Add MIPS support to JaegerMonkey (bug 678154, r=dvander).
...
--HG--
extra : rebase_source : 8f174670ae068741a1536696e17e3a2a6bb4c7e5
2012-01-12 19:18:05 -08:00
Rafael Ávila de Espíndola
84a1e9bf15
Bug 717908 - disable unreliable test. r=igor.
...
Since we use a conservative gc, this test can fail depending on the memory
layout.
--HG--
extra : rebase_source : dc0f35343a4aa2b911cb582c093a17a50289d299
2012-01-13 11:11:03 -05:00
Nathan Froyd
a7dce461d5
Bug 717501 - reduce space required by unicode tables; r=evilpie
2012-01-12 00:10:26 -05:00
Landry Breuil
1a664042ed
Bug 717733 - Fix int64 types usage in js/xpconnect, build failure on OpenBSD
...
js/xpconnect/src/XPCJSRuntime.cpp:1881:
error: invalid conversion from 'PRInt64*' to 'int64_t*'
2012-01-12 16:56:02 -05:00
Luke Wagner
dc8fffb64c
Bug 715561 - Don't forget to bump JSXDR_BYTECODE_VERSION! (r=jorendorff)
2012-01-12 13:41:49 -08:00
Luke Wagner
bedab9c4b1
Bug 715561 - Fix js_XDRStaticBlockObject to handle empty destructuring let (r=jorendorff)
2012-01-09 10:50:17 -08:00
Luke Wagner
9a13e2af4f
Bug 715561 - Tidy up js_XDRStaticBlockObject (r=jorendorff)
...
--HG--
extra : rebase_source : a0cdaca76ee0a475bb7592090b1e9993e662fecb
2012-01-09 10:23:38 -08:00
Brian Hackett
50cbb4cd5b
Fix AssertValidPropertyCacheHit when called from JIT stubs, bug 717251. r=dvander
2012-01-12 08:41:09 -08:00
Brian Hackett
e9af582064
Avoid skipping sync code in GETPROP PIC on non-length accesses which can invoke a getter, bug 717184. r=dvander
2012-01-11 17:42:58 -08:00
Brian Hackett
bce6c5bdec
Account for all special CALLPROP behavior in inline cache stub, bug 717208. r=dvander
2012-01-11 17:31:41 -08:00
Luke Wagner
a7cae60147
Bug 714547 - SecurityWrapper should not interfere with same-document.domain access (r=mrbkap)
...
--HG--
extra : rebase_source : ffc6e1920dccdd194269fa7056113944863e0419
2012-01-09 15:32:53 -08:00
Ms2ger
7f96c272cf
Bug 716357 - Fix license header in FilteringWrapper.cpp; r=gerv DONTBUILD
2012-01-11 17:12:21 +01:00
Brian Hackett
0a9592d23d
Fix non-threadsafe builds, no bug. r=jorendorff
2012-01-11 07:45:55 -08:00
David Rajchenbach Teller
0f953f4c92
Bug 707096 - Add a public API for TypedArray / ArrayBuffer. r=dmandelin
2012-01-10 08:56:47 +01:00
Ms2ger
d0513e5d06
Merge m-c to m-i.
2012-01-11 12:15:35 +01:00
Ms2ger
42d0f74e76
Bug 332648 - Part h: Move AutoEnumStateArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
27ed38a4d4
Bug 332648 - Part g: Move AutoIdArray to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
4c1c459a81
Bug 332648 - Part f: Move AutoIdRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
06db6578d4
Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie
2012-01-11 09:23:09 +01:00
Ms2ger
7abd6c7b28
Bug 332648 - Part d: Move AutoStringRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
25c1f65ab1
Bug 332648 - Part c: Move AutoObjectRooter to jsapi.h; r=evilpie
2012-01-11 09:23:08 +01:00
Ms2ger
d7850e8af7
Bug 332648 - Part b: Move AutoValueRooter to jsapi.h; r=evilpie
...
This patch also moves the MarkRuntime function into the JS namespace.
2012-01-11 09:23:08 +01:00
Ms2ger
d20a66543c
Bug 332648 - Part a: Move AutoGCRooter to jsapi.h; r=evilpie
...
This also moves AutoCheckRequestDepth into jsapi.h and moves some assertions
from CHECK_REQUEST to the AutoCheckRequestDepth constructor.
2012-01-11 09:23:08 +01:00
Ms2ger
4de4e729e4
Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
...
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Ms2ger
d8cd240512
Bug 714264 - Part b: Move CompartmentStats to MemoryMetrics.h; r=njn
...
The name member is implemented as a void*, because it needs to remain an
nsCString, and as such the logic to get the name also remains in XPConnect.
2012-01-11 09:23:08 +01:00
Ms2ger
b320983b67
Bug 714458 - Part c: Don't include jscntxt.h in xpcprivate.h; r=bholley
...
This removes the inclusion from xpcprivate.h, and adds the include to XPConnect
files that still need it, along with notes to clarify what these files need
from the include. These notes will be removed while fixing bug 677079.
2012-01-11 09:23:08 +01:00
Ms2ger
fab1325ed4
Bug 714458 - Part b: Provide the thread-related APIs xpcprivate.h needs; r=igor
...
This introduces a JS_GetCurrentThread to go with the existing
JS_GetContextThread, as well as a js::GetContextThread to get at the actual
JSThread object, and inlines the only use of JS_THREAD_ID.
2012-01-11 09:23:07 +01:00
Ms2ger
38fbde8026
Bug 714458 - Part a: Introduce JSAPI for JSContext's second private pointer; r=Waldo
...
JSContext currently has 2 private pointers, but the JSAPI only provides access
to one of them.
2012-01-11 09:23:07 +01:00
Ms2ger
123076fb33
Bug 715634 - Cleanup XPCJSContextStack; r=bholley
2012-01-11 09:23:07 +01:00
Ms2ger
73894ac8db
Bug 714728 - Remove jsword/jsuword in favour of intptr_t/uintptr_t; r=Waldo
2012-01-11 09:23:05 +01:00
Andrew McCreight
9099508fe7
Bug 708322 - never traverse non-gray JS Objects. r=billm
2012-01-09 12:02:25 -08:00
Kartikaya Gupta
80b7f5ee7d
Bug 715791 - Preserve line numbers when preprocessing java files as well as js files. r=ted
2012-01-05 23:32:05 -05:00
Rafael Ávila de Espíndola
a881cc906b
Bug 715528 - Drop old bits about cross compiling from ppc to x86 and default OS X for ppc. r=ted.
2012-01-10 08:29:13 -05:00
Phil Ringnalda
a3ac43e4fa
Back out 3ab1dcfb2218 and 46ae4bf4aaf4 (bug 622301) for Windows PGO bustage
2012-01-14 18:56:00 -08:00
Bobby Holley
8d2c4fbbc0
Bug 716167 - Add a release-mode assertion that XPConnect is never used off the main thread. r=mrbkap
2012-01-14 10:31:19 -08:00
Bobby Holley
588c8cc229
Bug 716167 - Only push null contexts in XPConnect for main thread events, and remove infrastructure from bug 326777. r=bz
2012-01-14 10:31:16 -08:00
Bobby Holley
e5f552adf4
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-01-14 10:29:56 -08:00
Bobby Holley
5cde0ddc16
Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap
2012-01-14 10:29:56 -08:00
Mike Hommey
567913809a
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Jeff Walden
07714b81ab
Fix the test for bug 715682 to use the right file name and bug number, and give it a more accurate description. r=trivial
2012-01-10 00:11:15 -06:00
Jeff Walden
dda726ea27
Bug 715821 - Add tests for reimplementation of Object.prototype.__define[GS]etter__ in terms of Object.defineProperty. r=tests
...
--HG--
extra : rebase_source : fe221868b0aa281da44383fda7a4ef4c69156554
2012-01-09 23:12:47 -06:00
Michael Kohler
51e15f5815
Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style
2012-01-10 00:29:30 -05:00
Terrence Cole
57988d55bb
Bug 716176 - Trigger write barriers when copying BaseShapes; r=billm
...
Since getterObj and setterObj are hidden beneath unions, we need to manually
trigger their barriers.
--HG--
extra : rebase_source : c4936795ff5afbb23b77f680a4e607a6f1b722bd
2012-01-09 16:08:24 -08:00
Daniel Holbert
887f743148
Bug 716702: Fix C++-style comment in header 'jsopcode.h' that gets included in C code. r=bhackett
2012-01-09 15:45:54 -08:00
Landry Breuil
364fba38bd
Bug 714312 - Use <machine/endian.h> to get endianess on BSD systems, fixing the BSD build. r=ted
...
--HG--
extra : rebase_source : 8b418bdb2d713093d138ffed20bf1630c05f396b
2012-01-09 17:32:00 -06:00
Jeff Walden
90e419106d
Bug 715821 - Make Object.prototype.__defineGetter__ and Object.prototype.__defineSetter__ perform their work by forwarding to Object.defineProperty. This eliminates two calls to CheckRedeclaration, which is impeding property-storage-splitting work. r=bhackett
...
--HG--
extra : rebase_source : 4516291a3e4809999aef2c0a3748785a3aa139ce
2012-01-06 00:13:20 -06:00
Ben Turner
c375cc74c4
Bug 674726 - WebTelephony. r=philikon+mounir, sr=sicking. Not part of the default build.
...
--HG--
extra : transplant_source : %1A%23%10d%88%B3%DA%87%C9%DD0%E6P%1Ct%AD%7D%80%B6%B4
2012-01-09 14:28:47 -08:00
Daniel Holbert
ec7f7986d7
Bug 716663: Fix check for PR49911 to use "=" instead of "==" for string-equality-check with 'test'. r=respindola
2012-01-09 14:17:00 -08:00
Luke Wagner
cd4c429631
Bug 716068 - de-OptimizeSpanDeps (r=waldo)
...
--HG--
extra : rebase_source : 4dd2b3c08f792ceb86c3824b953e88a08f3968cc
2012-01-09 11:05:06 -08:00
Luke Wagner
5f184a165b
Bug 715817 - rm SRC_EXTENDED (r=waldo)
...
--HG--
extra : rebase_source : ba776d02fcaa109cac1ab450939218b3090b9b73
2012-01-09 11:05:03 -08:00
Jim Blandy
3e3406766f
Bug 716629: Mark deleted JSFunction::toFunction methods as private, as per MOZ_DELETE instructions in mfbt/Attributes.h.
2012-01-09 12:34:06 -08:00
Mounir Lamouri
5148dce680
No bug - Fix build bustage. Follow up from bug 716541. r=mrbkap
2012-01-09 20:09:02 +01:00
Jacek Caban
c665c20b38
Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg
2012-01-09 18:46:27 +01:00
Jacek Caban
e8c725eac5
Bug 714646 - jsgc.cpp fails to compile on Win64 GCC r=igor
2012-01-09 18:45:50 +01:00
Brian Hackett
90e42791fc
Backout 54cd89b0f1fa (bug 712714 backout). Talos will probably report fake regressions for this patch, do not back out for this reason.
2012-01-09 06:29:50 -08:00
Igor Bukanov
18a5f4c7e9
bug 716512 - make sure that gcparam in shell cannot set MAX_GC_BYTES to a value les than the current GC_BYTES. r=anygregor
2012-01-09 15:23:36 +01:00
Ed Morley
d57a89d468
Backout b1612e3ba9b9 & 668a56be0eef (bug 622301) for Dromaeo regressions
2012-01-07 14:17:54 +00:00
Jeff Walden
e40c9e3dc0
Bug 715852 - Fix an assertion running ecma_5/Object/proto-property-change-writability-set.js that happens when a test gets methodjitted just so. This fix is the required methodjit complement to the interpreter fix from bug 713944. FAIL. r=i-am-dumb
2012-01-07 00:55:21 -06:00
Bobby Holley
c6ffef4a28
Bug 715417 - Eliminate getPrincipalArray and globalPrivilegesEnabled from JSPrincipals. r=mrbkap
2012-01-06 17:29:02 -08:00
Bobby Holley
f46a9e22a3
Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap
2012-01-06 17:29:02 -08:00
Bobby Holley
727aeb5e13
Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap
2012-01-06 17:29:02 -08:00
Ed Morley
e45597daf0
Bug 716139 - Don't try to generate js/src/analysis-tests/Makefile, since the directory no longer exists; rs=khuey
2012-01-07 01:00:29 +00:00
Igor Bukanov
1df7b239cf
bug 714280 - Make gcMaxBytes a hard limit. r=anygregor
2012-01-05 09:54:37 +01:00
Mounir Lamouri
9bf1028f9c
Bug 703121 - Part 2 - Do not force warnings-as-errors to be disabled on Android. r=khuey
2012-01-06 18:17:07 +01:00
Mounir Lamouri
d173cc61b7
Bug 703121 - Part 1 - Make warnings-as-errors opt-in instead of opt-out. r=khuey
2012-01-06 18:16:20 +01:00
Jeff Walden
1ecff3d221
Bug 713965 - Replace deleteGeneric (taking a jsid) with deleteByValue (taking a Value), and use the property-type-specific methods exclusively. r=bhackett
...
--HG--
extra : rebase_source : c9273f81996c755f6b3814895a4ce64f390f7c50
2011-12-28 16:33:20 -06:00
Jeff Walden
a2a32dfdef
Bug 715059 - Make ParseNode non-copyable and non-copy-assignable. r=luke
...
--HG--
extra : rebase_source : 390a125ca841d1b2e26ee3e18b72242e151feff4
2012-01-03 22:18:55 -06:00
Jeff Walden
0bda2742ca
Bug 715682 - Make sure to generate the appropriate initializing opcode for accessors in object literals. r=bhackett
...
--HG--
extra : rebase_source : b4ec1d4e5800606c31e6fb7edf627437fe3f5185
2012-01-05 17:40:14 -06:00
Igor Bukanov
8293f119b9
bug 715883 - eliminating no longr used JSRuntime::gcEmptyArenaPoolLifespan and related code. r=gal
2012-01-06 16:42:18 +01:00
Andrew McCreight
2658dff0ff
Bug 707313 - use special non-NULL next for weak maps not in the list. r=jimb
2012-01-06 11:30:09 -08:00
Jim Blandy
9f5bb3a9b1
Bug 715656: Rename js::StackFrame::markFunctionEpilogueDone to updateEpilogueFlags, to be less misleading r=luke
2012-01-06 11:06:48 -08:00
Jim Blandy
c9ca1532ac
Bug 715667: Remove some unnecessary toFunction() calls applied to JSFunction values. r=luke
2012-01-06 11:06:48 -08:00
Terrence Cole
9ec441e74d
Bug 715943 - StackFrame marking should not skip its JSFunction; r=luke
...
Right now, the StackFrame marks script(). When this is a plain function, this
returns fun()->script(), meaning that we never explicitly mark fun() and rely on
it being rooting in some other fashion. This is incorrect.
--HG--
extra : rebase_source : 53ef38edcacbb2f5c40f207486c91d5437468721
2012-01-06 11:00:41 -08:00
Blake Kaplan
66d485f43c
Bug 715498 - Revive the -c "compile only" option for the JS shell. r=cdleary
...
--HG--
extra : rebase_source : 06f8f4f642df4c5facbac0c906e64a8a58261005
2011-12-23 18:25:16 +01:00
Marco Bonardo
2d516bb575
Backout c0d337401801,78d17e22a223 (bug 712714) for talos regressions across the board.
2012-01-06 13:49:52 +01:00
Brian Hackett
9777d7848b
Seal/freeze objects without converting to dictionary mode, bug 708641. r=luke
2012-01-05 19:51:08 -08:00
Brian Hackett
0336f6fc33
Fix bug 715662.
2012-01-05 19:13:56 -08:00
Jeff Walden
0a06099505
Convert a couple always-true appends to infallibleAppend, since that's what they should have been using. No bug, r=trivial
...
--HG--
extra : rebase_source : c5d4c809e3fe23013ec1e64d18fa7001472e0092
2012-01-05 11:42:42 -06:00
Jeff Walden
2fe72dc479
Return NULL, not false, from some JSObject::replaceWithNewEquivalentShape, which returns a Shape*. No bug, r=themaid
...
--HG--
extra : rebase_source : 126f621547689572b1ace0ad703b23f311fd64ff
2012-01-05 17:12:18 -06:00
Brian Hackett
d2a7217fc1
Make sure to call XML methods properly in property ICs, no bug. r=dvander
2012-01-05 12:57:06 -08:00
Brian Hackett
a6f79d1f7a
Remove JOF_CALLOP, bug 712714. r=dvander
2012-01-05 11:08:38 -08:00
Brian Hackett
b541c10c58
Add liveness intervals to indicate variable writes within try blocks, bug 714645. r=dvander
2012-01-05 07:01:18 -08:00
Brian Hackett
d9685a28d7
Use persistent type sets for initializer opcodes, bug 714600. r=dvander
2012-01-05 06:50:46 -08:00
Brian Hackett
e81826f651
Don't modify dictionary shapes in place, bug 703157. r=luke
2012-01-05 06:38:46 -08:00
Igor Bukanov
067561b0ab
bug 714562 - fixing races between the background arena decommit and with arena allocation. r=wmccloskey
...
--HG--
extra : rebase_source : 6f24d608f99b921c0454a38952211e6657dc6f3e
2012-01-02 13:46:59 +01:00
Terrence Cole
30f1dc7f1a
Bug 715201 - Add more barriers to BaseShape; r=bhackett
...
BaseShape's new copy constructor for StackBaseShape needs to be write barriered
like the existing constructor.
--HG--
extra : rebase_source : e91a8bcca76d66dd421473d2f2a17ce5be6eaffc
2012-01-04 14:40:50 -08:00
Bill McCloskey
5957dd4b9c
Bug 714418 - Remove nsIXPCScriptable::DONT_SHARE_PROTOTYPE (r=bholley, sr=mrbkap)
2012-01-04 14:13:20 -08:00
Bill McCloskey
14477ceb3b
Bug 714353 - Remove nsIXPCScriptable::Trace (r=mrbkap)
2012-01-04 14:13:15 -08:00
Bill McCloskey
095c6da986
Bug 714350 - Remove nsXPConnect::RestoreWrappedNativePrototype (r=mrbkap)
2012-01-04 14:13:08 -08:00
Brian Hackett
755f76e3c1
Include stack entry for 'this' in CALLXMLNAME during decompilation, bug 716713. r=dvander
2012-01-10 18:38:10 -08:00
Ed Morley
49f22f3ce4
Backout b9e154713763 (bug 702158) for pgo linux failures
2012-01-11 01:22:15 +00:00
Marco Castelluccio
e10776db76
Bug 702158 - Build Skia Azure backend on linux. r=mattwoodrow
2012-01-11 11:17:56 +13:00
Ed Morley
b25f762865
Merge mozilla-central to mozilla-inbound
2012-01-04 20:43:25 +00:00
Tom Schuster
b39e7edd83
Bug 607692 - Inline parseInt(<int|double>, <0|10>) in JM. r=bhackett
...
--HG--
extra : rebase_source : 341df111df6ad7568dfbcddd60f31c8c9eece85f
2012-01-04 21:29:54 +01:00
Tom Schuster
abc88328c8
Bug 714894 - Remove tracer specific JSOPs. r=bhackett
...
--HG--
extra : rebase_source : 3b6d0a04fd8f1418113e9cb5d1299a1392aebd30
2012-01-04 21:29:47 +01:00
Blake Kaplan
5e9574b704
Bug 689118 - Protect against JSVAL_IS_OBJECT(null) being true. r=luke
2012-01-04 17:45:02 +01:00
Kyle Huey
5b6392ded6
Merge b-s to m-c.
2012-01-04 10:39:52 -05:00
Kyle Huey
f7059df055
Bug 714178: Expose the value of CPP from configure to the rest of the build system. r=ted
2012-01-03 13:47:26 -05:00
Marco Bonardo
f23be3ed5f
Merge last green PGO from mozilla-inbound to mozilla-central
2012-01-03 12:36:26 +01:00
Ms2ger
da98cf2375
Bug 714580 - Remove extra parens from JS_ASSERT_IF; r=Waldo
2012-01-02 21:55:34 +01:00
Ms2ger
b24478baaa
Bug 707049 - Followup: fix accidentally introduced 'uint8's from js/src; r=sparky
2012-01-02 19:06:35 +01:00
Gabor Krizsanits
f2bac14884
Bug 677294 - part 2: need a way to create new JS scopes and run scripts against them (same compartment); r=mrbkap
2012-01-02 19:06:07 +01:00
Ms2ger
1f37b86a6b
Bug 710805 - Assert validity in xpc_qsBasicString; r=jst
2012-01-02 19:05:19 +01:00
Ms2ger
2db789079c
Bug 709086 - Don't use JS_GetParent in mozJSSubScriptLoader::LoadSubScript; r=jorendorff
2012-01-02 19:05:19 +01:00
Ms2ger
29d457f80c
Bug 714057 - Remove uintn users from XPConnect; r=bholley+khuey
2012-01-02 19:05:19 +01:00
Ms2ger
51f59f0021
Bug 713645 - Remove superfluous inclusions of jscntxt.h; r=luke
2012-01-02 19:05:19 +01:00
Ms2ger
8a83bebdd9
No bug - Return 'false' instead of 'NULL' from ContextStack::pushExecuteFrame.
2012-01-02 19:05:19 +01:00
Bill McCloskey
a6a3519afa
Bug 712480 - Assert in most JSAPI functions that we're not inside a GC (r=Waldo)
2012-01-01 17:18:07 -08:00
Jeff Walden
6dc0c54e7a
Return NULL from a pointer-returning method, not false. No bug, r=fix-warning
2012-01-01 18:44:30 -06:00
Bill McCloskey
0e0533464b
Bug 714363 - Remove XPCWrappedNativeScope::mPrototypeJSFunction (r=bholley)
2012-01-01 14:48:15 -08:00
Igor Bukanov
074797cf8e
bug 714545 - js_FinishGC should not race with the background thread. r=wmccloskey
2011-12-31 21:29:41 +01:00
Igor Bukanov
ff3ce756f9
bug 714344 - background decommit must not leave GC chunks with no empty arenas on the available allocation list. r=wmccloskey
2011-12-31 21:29:41 +01:00
Brian Hackett
2f65561f2b
Fix warnings and Clang compile errors, bug 707049. r=waldo
2011-12-31 12:39:05 -07:00
Brian Hackett
7e5c4a14dd
Backed out changeset 4282a285d381 (bug 707049 backout).
2011-12-31 07:32:04 -07:00
Ms2ger
ed558e4c7e
Backout 0d642e4e08cf (bug 707049); requested by evilpie.
2011-12-31 15:13:01 +01:00
Jeff Walden
0c7ca4d8e7
Bug 713183 - Make JSOP_*PROP and JSOP_*NAME store a PropertyName immediate, not a JSAtom immediate, and take advantage of this fact. r=bhackett
...
--HG--
extra : rebase_source : 99d199382928758983765ce87e8e4a4121c6430b
2011-12-27 02:27:02 -06:00
Tom Schuster
5afc05e801
Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=Waldo
...
--HG--
extra : rebase_source : 51a780cf5ce9cbcc84c56d8a8dbe2c5d9867b36b
2011-12-25 15:16:12 +01:00
Makoto Kato
f17c3d92a7
Bug 711919 - Remove AWT_11 and CM_BLDTYPE from autoconf.mk. r=khuey
2011-12-31 13:17:57 +09:00
Jeff Walden
af1c93d9a8
Adjust the test for bug 713944 to work in the browser and reenable it there. r=unbust
...
--HG--
extra : rebase_source : 790fe3e662d723eddb956d156654b931327c603d
2011-12-30 21:23:36 -06:00
Brian Hackett
cda1e2a770
Add dynamic analysis for identifying moving GC hazards, autorooter classes, some VM rooters, bug 707049. r=billm
2011-12-30 20:12:45 -07:00
Jeff Walden
0ecd42531f
Temporarily disable the test for bug 713944, there seem to be some shell/browser differences. r=orange
2011-12-30 20:42:38 -06:00
Jeff Walden
b653d7f855
Bug 713944 - Assert that a data descriptor referenced in the property cache was writable only if the property cache entry was a hit. If it wasn't, the descriptor might have been made writable in the interim -- and if the cache entry was for finding the property along the prototype chain, the shape key used for the entry lookup would be invariant across the data descriptor's mutation. This also fixes bug 643847. r=jorendorff
2011-12-29 05:44:10 -06:00
Jeff Walden
faef277f59
Bug 713944 - Move some declarations down to uses in fill(). r=sparky
...
--HG--
extra : rebase_source : f999d47ec439ff9311a8dabfb6e3e729dbc5a9f0
2011-12-29 05:44:08 -06:00
Jeff Walden
e0aea303a9
Bug 713944 -Convert PropertyCacheEntry::vindex into two separate, private fields, and add some accessors for them. r=jorendorff
...
--HG--
extra : rebase_source : f7efae003a443e5381900b95273370ff3baa8a62
2011-12-29 05:43:57 -06:00
Bobby Holley
3d280d317c
Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz
2011-12-30 09:35:38 -08:00
Jeff Walden
13c3958262
Bug 713755 - Convert all |a[...] parsing to use constructors that don't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : 7b51c30ea52744535195d10d4502a1ee86754e13
2011-12-23 00:11:13 -05:00
Jeff Walden
35a64c3f7e
Bug 713755 - Convert all |a.<stuff>| parsing to use constructors that don't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : c64a37e810c201df6fa2e5124f115ecc9c2e9b43
2011-12-21 18:43:20 -05:00
Jeff Walden
be9a24ff19
Bug 713755 - Rename parse node variables in memberExpr, and shorten lifetimes where possible. r=jorendorff
...
--HG--
extra : rebase_source : ff143bd6bd50bd9036c47edb06c02eb01ff2f6cd
2011-12-21 18:22:34 -05:00
Luke Wagner
c32001ccb3
Bug 711273 - rm cruft: JS_REQUIRES_STACK, find-child.py, jsstack.js, fallibility of ClonedBlockObject::put/UnwindScope (r=waldo)
2011-12-20 17:31:28 -08:00
Luke Wagner
6e9feca701
Bug 713311 - give the remaining scope objects typed interfaces (r=waldo)
...
--HG--
rename : js/src/vm/CallObject-inl.h => js/src/vm/ScopeObject-inl.h
rename : js/src/vm/CallObject.cpp => js/src/vm/ScopeObject.cpp
rename : js/src/vm/CallObject.h => js/src/vm/ScopeObject.h
extra : rebase_source : 0efa6c9ac4ceb10f48fe7ee7b199333da2b54cd9
2012-01-02 15:02:05 -08:00
Jeff Walden
c9f5077db7
Bug 714264 - Move declarations around such that it's possible to include jsprvtd.h before Vector.h or HashTable.h. r=luke
...
--HG--
extra : rebase_source : e981944be5edf5c772df986d0898494b9bc53a3e
2012-01-02 16:34:25 -06:00
Jeff Walden
527c0cdf82
Make vm/Unicode.h not include jsstr.h just for jschar and a couple <stdint.h> types. No bug, r=mozbot
...
--HG--
extra : rebase_source : acc00e217e99e33c92fa36832844ceb8550664c2
2012-01-02 14:22:54 -06:00
Jan de Mooij
44a3c189aa
Bug 714607 - Make jit-test/tests/basic/bug680217.js run faster. r=bhackett
2012-01-02 22:41:49 +01:00
Jeff Walden
980a03000d
Bug 710941 - Simplify |a.<here>| parsing by having it not reuse primaryExpr parsing. r=jorendorff
...
--HG--
extra : rebase_source : f4fdb7376ed8a6e2e59419052e14eae3243018f6
2011-12-14 20:08:02 -05:00
Nicholas Nethercote
13e0ce90ef
Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent.
2011-12-12 19:04:12 -08:00
Jeff Walden
4bf5ae7e06
Bug 710932 - Create true/false/this/null parse nodes with a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : 29dc590794dd36409a5a171f8043aad1546b7b9a
2011-12-14 20:03:35 -05:00
Jeff Walden
9c35360fd5
Bug 710932 - Create defsharp/usesharp expressions with a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : e93396c31f7593b9698549f02a9b4aecda134340
2011-12-13 15:53:30 -05:00
Jeff Walden
132d7ea40c
Bug 710932 - Create ?: conditional expressions using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : cf8d22e47436d543a46115171460a4bfeae10971
2011-12-13 15:53:30 -05:00
Jeff Walden
6b254278bf
Bug 710932 - Create <?target data?> expressions using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : f3b8ca1065e7694cb411d14800052e7cef48f853
2011-12-09 23:28:59 -05:00
Jeff Walden
aa2a8c2603
Bug 710932 - Create debugger statements using a constructor that doesn't examine the token stream. r=jorendorff
...
--HG--
extra : rebase_source : eb913a09cc70398e252c1c8914104c60f79073ab
2011-12-09 20:26:12 -05:00
Igor Bukanov
ac8ad79e00
bug 713916 - JS API to shrink GC buffers. r=wmccloskey
2011-12-28 21:08:44 +01:00
Igor Bukanov
bda4eab49a
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-30 00:33:44 +01:00
Steve Fink
361e2ce7f9
No bug. Fix --disable-methodjit build breakage from 23936f566781 (bug 710032). r=woof!
2011-12-29 15:19:26 -08:00
Jeff Walden
ede1252065
Use < rather than != when comparing a bunch of pointers to sentinel end-pointer values, as a small hedge against things going awry and skipping past the sentinel. No bug, r=firebot
...
--HG--
extra : rebase_source : 567f70397ec9ef006c55c01f3acde305ab527b56
2011-12-29 15:50:33 -06:00
Hub Figuière
f340716015
Bug 714169 - Fix warning in HashTable.h by using |continue;| instead of |;|. r=jwalden
...
--HG--
extra : rebase_source : 176f652ee0e2c23b2c995b51814e4e1fd1ae0149
2011-12-29 13:37:04 -08:00
Robert O'Callahan
25b80fb67b
Back out c245807aad3a for bug 714066 to fix Linux make check orange
2011-12-30 11:10:59 +13:00
Robert O'Callahan
ee50f7c199
Backed out changeset c245807aad3a for bug 714066
2011-12-30 11:09:16 +13:00
Igor Bukanov
ae74a2fe3c
bug 714066 - Missed FreeChunkList call in JSRuntime::onOutOfMemory. r=wmccloskey
2011-12-29 22:22:21 +01:00
Steve Fink
f2e873d41c
Bug 710414 - Split out the conservative testing for a GCThing from marking it. r=billm
...
Testing an arbitrary pointer for valid GCThing-ness is useful for things other tan the GC
--HG--
extra : rebase_source : 93098ac37970970feaea4440f89f01a501326e3f
2011-12-13 16:09:02 -08:00
Kyle Huey
535386a8e6
Back out Bug 711895 for breaking l10n builds.
2011-12-29 15:45:51 -05:00
Cameron Kaiser
7095a39b99
Bug 713463 - Support JM+TI for architectures without native square root. r=dmandelin
2011-12-29 12:36:22 +01:00
Bill McCloskey
e5d3979392
Bug 709885 - Simplify read barriers for shapes and types (r=bhackett)
2011-12-28 23:56:55 -08:00
Nicholas Nethercote
cc36bb0b51
Bug 711895 - Tweak the warning options used for GCC builds. r=waldo, derf.
...
--HG--
extra : rebase_source : bbe982c5feceac25fb4c0ccd03ced3a874205c38
2011-12-28 19:59:19 -08:00
Terrence Cole
f04a6879b1
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 6bc9926441a1cd3f66fa9ade74022e13a5f7e758
2011-12-28 15:02:23 -08:00
Terrence Cole
6aaa46386e
Bug 712828 - Mark slow tests as slow; r=dmandelin
...
In the jstest suite, four tests cause the suite to run for 120+ seconds, where
without these, the suite runs in ~30 seconds. We should mark these as slow, to
make the jstests suite more useful.
2011-12-28 14:49:30 -08:00
Terrence Cole
a4e42003e9
Bug 711626 - More missing barriers around object properties; r=billm
...
This adds post barriers in several locations where they are needed inside of
object manipulation.
--HG--
extra : rebase_source : ce956417a74d70551c1f9258ef7587d0563c0157
2011-12-28 14:06:21 -08:00
Boris Zbarsky
5ea84e0dfe
Backing out bug 707717 because it seems to be a perf hit, not a perf win.
2011-12-28 16:22:05 -05:00
Jan de Mooij
213c97e8c8
Bug 713867 - Move arrayPrototypeHasIndexedProperty from JM to jsinfer. r=bhackett
2011-12-28 20:44:27 +01:00
Matt Brubeck
442a1b085f
Merge mozilla-central and mozilla-inbound
2011-12-28 11:17:19 -08:00
Matt Brubeck
5ce45e1ce4
Merge from mozilla-inbound to mozilla-central
2011-12-28 11:02:59 -08:00
Josh Matthews
a18ebbe4ab
Bug 463122 - Propagate mozJSComponentLoader exceptions that occur while executing the script. r=mrbkap
2011-12-28 11:55:11 -05:00
Mike Hommey
6e62c747d6
Backout 45820730dfa7 and 860035a3c04a (bug 701371) and 8ac6f34b44ff (bug 709776) because of Android random oranges.
...
--HG--
rename : mozglue/build/Makefile.in => memory/mozutils/Makefile.in
rename : mozglue/build/dummy.cpp => memory/mozutils/dummy.cpp
rename : mozglue/build/fixcrt.py => memory/mozutils/fixcrt.py
rename : mozglue/build/mozglue.def.in => memory/mozutils/mozutils.def.in
rename : mozglue/android/APKOpen.cpp => other-licenses/android/APKOpen.cpp
rename : mozglue/android/APKOpen.h => other-licenses/android/APKOpen.h
rename : mozglue/android/nsGeckoUtils.cpp => other-licenses/android/nsGeckoUtils.cpp
2011-12-28 12:12:09 +01:00
Ms2ger
08d1075fb2
Bug 713550 - Move Base64 code on nsXPConnect to XPCOM / xpcpublic.h; r=bholley+khuey
2011-12-28 09:13:38 +01:00
Ms2ger
bf9d539b9d
Bug 713340 - Fix jsShell_ErrorFormatString array lengths; r=luke
2011-12-28 09:13:37 +01:00
Ms2ger
285970686c
Bug 713553 - Remove GetRTStringByIndex; r=bholley
2011-12-28 09:13:37 +01:00
Ms2ger
3b98653c7b
Bug 713554 - Remove xpc_SameScope declaration; r=bholley
2011-12-28 09:13:37 +01:00
Phil Ringnalda
9636dfa481
Bug 713756 - Remove js/src/tests/src/jstests.jar, r=bc
...
--HG--
extra : rebase_source : 15eec29090974a1f423e9bcbc8e350381c358b41
2011-12-27 22:41:49 -08:00
Igor Bukanov
188ae5dc61
bug 702251 - Decommit unused arenas in the background. r=wmccloskey
...
--HG--
extra : rebase_source : 6d3c092d14163c71cfb5bf0eec12a7900fcb8ff3
2011-12-16 21:36:34 +01:00
Igor Bukanov
ed1408b4b1
bug 702251 - free GC chunks in background outside the GC lock. r=wmccloskey
...
--HG--
extra : rebase_source : 40aaadef1af1a2cefcfeefd178096e5c51e32873
2011-12-25 02:45:22 +01:00
Brian Hackett
a86e1ad802
Fix register allocation around inline returns, bug 713209.
2011-12-28 08:00:24 -07:00
Jeff Walden
5aeba45a34
Mark a bunch more copy-construction, assignment, default-construction, etc. operators and methods as deleted in the JS engine. No bug, r=bhackett over IRC
...
--HG--
extra : rebase_source : c238c0f7230a2e43705f6069309ff0475724bee4
2011-12-28 08:09:07 -06:00
Jeff Walden
948f33f97b
Bug 713183 - Remove the global-property-finding code from stats() in the shell. It doesn't work now, and it's trying to look up a name that could be an index, when by definition a name is not an index. r=bhackett
...
--HG--
extra : rebase_source : f64725e47010264b098ccce525479f6b29991086
2011-12-27 16:45:49 -06:00
Jeff Walden
9d6ecc50ba
Bug 713183 - Don't generate JSOP_INITPROP for index properties of object literals. r=bhackett
...
--HG--
extra : rebase_source : 876bc52923df1d2ceaaae34699770b9a933ec05a
2011-12-27 16:40:21 -06:00
Jeff Walden
b89737cc2d
Bug 713759 - Split PNK_INC and PNK_DEC into pre- and post- variants. r=bhackett
...
--HG--
extra : rebase_source : a429d9cc2d7095e06e54c48c3ae53e1c16076405
2011-12-23 21:19:52 -05:00
Mike Hommey
00bf052883
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozutils.def.in
2011-12-28 08:24:02 +01:00
Bill McCloskey
a5c6a574f5
Bug 713773 - Ensure GC statistics counters are initialized (r=igor)
2011-12-27 18:42:31 -08:00
Matt Brubeck
5de13ee52d
Merge from mozilla-inbound to mozilla-central
2011-12-27 11:04:58 -08:00
Olli Pettay
c2e7d2b30f
Bug 710380 - IndexedDB could use the dictionary reader, r=khuey
2011-12-27 20:01:28 +02:00
Steve Fink
0154995bbb
Bug 710055 - Merge SetVMFrameRegs into PushActiveVMFrame. r=bhackett
...
--HG--
extra : rebase_source : 7c4f8dde05533a082a7139077d6c983b610925fc
2011-11-21 16:17:49 -08:00
Oleg Romashin
d7705e8ae7
Bug 703434 - Add support for Qt resource files (qrc) which possible to pre-compile with rcc compiler. r=glandium
2011-11-17 01:28:33 -05:00
Terrence Cole
55edc93868
Backed out changeset d354ab9ac1f4
2011-12-26 11:20:04 -08:00
Terrence Cole
7455acd193
Bug 712460 - Add missing barriers in jsexn; r=billm
...
When we create an exception object, we copy Values into a custom exception
privates struct that we pass around. If any of the Values copied to this
struct are gcthings in the nursery, this external array needs to root them.
--HG--
extra : rebase_source : 8d31ffd349bcbaca3f2bbbcd0c4b5a099d57ec21
2011-12-20 14:51:25 -08:00
Terrence Cole
66ead12f39
Bug 712837 - Remove flakey test js1_5/extensions/regress-371636.js; r=dmandelin
...
In the test js1_5/extensions/regress-371636.js, we time a loop over an Array
using Numbers as keys, then do the same loop again using Strings as keys. The
test asserts that the time using Strings is less than 3 times as large as the
time using Numbers. Naturally, when running the tests with high parallelism,
this tends to fail at random. Since losing this optimization would be an
extremely serious perf bug, we would notice this immediately from our perf
tests. There is no reason to keep this as a correctness test.
--HG--
extra : rebase_source : 1b24b3326154c2f34b0bc0e7cba51ad7e5924c97
2011-12-22 09:51:50 -08:00
Terrence Cole
6acd5fefeb
Bug 712519 - Update test file encodings; r=rwalden
...
Since we switched to using JS_CompileUTF8File in the shell, all of our tests
that include comments with non-UTF-8 encoded characters fail. This patch
replaces these characters with their UTF-8 equivalents.
--HG--
extra : rebase_source : 4090e824320a329e989cffb61b3eb3c421a1bbd7
2011-12-21 18:20:17 -08:00
Boris Zbarsky
5e4f813534
Bug 707717. Don't dynamically mutate the proto chains of DOM prototypes. r=peterv
2011-12-26 11:31:07 -05:00
Jacek Caban
d4824b98b0
Backout ff350b65a616 due to Android build failure
2011-12-27 11:11:00 +01:00
Jacek Caban
2e48d58fae
Bug 712584 - Properly use .def files on mingw builds r=khuey
2011-12-27 10:51:53 +01:00
Jacek Caban
3c8af6b9ac
Bug 712594 - libffi fails to build on mingw-w64 r=bsmedberg
...
--HG--
extra : rebase_source : 498652c35d8f628d276a938f2c526e2a44a6eb07
2011-12-23 13:22:48 +01:00
Tom Schuster
aaddf20287
Backout b85379036da2 because of test failures
2011-12-25 15:47:27 +01:00
Tom Schuster
6228f33762
Bug 582841 use false instead of JS_FALSE. DONTBUILD
2011-12-25 15:32:35 +01:00
Tom Schuster
949887e280
Bug 622348 - JavaScript Math.round incorrect for (2^53)-1. r=luke
2011-12-25 15:16:12 +01:00
Phil Ringnalda
30796bb59b
Merge m-i <-> m-c
2011-12-24 21:50:23 -08:00
Ms2ger
3483b813ea
Bug 711859 - Add an IsObjectInContextCompartment API; seems-better-than-the-alternative-all-things-considered=Waldo
2011-12-24 09:28:55 +01:00
Ms2ger
6aaac66913
Bug 711748 - Remove FIT_U32 from XPCConvert; r=bholley
2011-12-24 09:28:39 +01:00
Ms2ger
8ab0c6de34
Bug 712055 - Remove xpc_qsInt32ToJsval/xpc_qsUint32ToJsval; r=jorendorff
2011-12-24 09:28:14 +01:00
Ms2ger
d78a953c36
Bug 711826 - Remove nsJSRuntimeServiceImpl declaration; r=bholley
2011-12-24 09:28:03 +01:00
Ms2ger
ebb23ed2ef
Bug 692277 - Part b: Remove js/src from xpconnect LOCAL_INCLUDES; r=luke
2011-12-24 09:27:51 +01:00
Ms2ger
474f03a4a7
Bug 692277 - Part a: Introduce an unstable public API for JS memory measurements to be used in XPCJSRuntime; r=njn sr=dmandelin
2011-12-24 09:27:39 +01:00
Ms2ger
99e36e1123
Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley
2011-12-24 09:27:04 +01:00
Ms2ger
2a9fde8d7d
Bug 711240 - Part a: Expose BAD_TLS_INDEX in xpcpublic.h; r=bholley
2011-12-24 09:26:34 +01:00
Ms2ger
86227c89ab
Bug 711404 - Part b: Remove xpc_qsDoubleToUint64; r=bholley
2011-12-24 09:26:18 +01:00
Makoto Kato
e75b93afae
Bug 711404 - Part a: Correctly handle unsigned long long as PRUint64 instead of PRInt64; r=bholley
2011-12-24 09:25:54 +01:00
Ms2ger
4ab7e65f42
Bug 711838 - Remove the jetpack service; r=bsmedberg
...
Change to toolkit-makefiles.sh r=edmorley
2011-12-24 09:25:52 +01:00
Ms2ger
e2dcfa6ed5
Bug 712649 - Components.utils.getWeakReference(null) should fail silently; r=bholley
2011-12-24 09:20:04 +01:00
Ed Morley
93f0052ffb
Merge last PGO-green changeset from mozilla-inbound to mozilla-central
2011-12-23 23:54:24 +00:00