Commit Graph

17459 Commits

Author SHA1 Message Date
Bobby Holley
3d280d317c Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08: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