Commit Graph

16082 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Cameron Kaiser
d87c8b605b Bug 712990: add missing big-endian code to Yarr JIT, r=dmandelin 2011-12-22 19:09:53 -08:00
Jeff Walden
74ca4e3407 Make various returns in jsopcode.cpp properly return NULL rather than false. Followup to bug 692274, r=themaid 2011-12-22 18:17:06 -05:00
Brian Hackett
31ab83ae8c Ensure consistency between an owned base shape and its unowned version, bug 712428. r=luke 2011-12-24 06:32:27 -08:00
Brian Hackett
6c8d06d2eb Generate SSA information for scripts containing switch and try blocks, bug 704387. r=dvander 2011-12-24 06:21:52 -08:00
Brian Hackett
ac059e50a2 Check return value of hashify() call, bug 712907. r=luke 2011-12-23 18:19:51 -08:00
Luke Wagner
c446ed63c7 Bug Bug 692274, part 4 - Rewrite parsing, emitting and decompiling of let to fix scoping properly (r=jorendorff) 2011-10-07 12:02:50 -07:00
Luke Wagner
ecf165621b Bug 692274, part 3 - Remove JSOP_BLOCKCHAIN and JSOP_NULLBLOCKCHAIN, which produces incorrect let scoping until the next patch (r=jorendorff) 2011-10-07 12:02:50 -07:00
Luke Wagner
bc3210a4fc Bug 692274, part 2 - Fix generator expression bug (r=waldo) 2011-11-22 11:37:57 -08:00
Luke Wagner
e1d658a24f Bug 692274, part 1 - Hoist SprintNormalFor (r=jorendorff) 2011-11-22 11:37:57 -08:00
Jeff Walden
841701c767 Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Terrence Cole
16a082b3fa Bug 712793 - Add browserIsRemote to test condition testing code; r=jwalden
In 6cff9824c2c1, a condition on browserIsRemote got added to a test in the js
testsuite.  This property is not defined by our harness, causing the js test
suite to fail before it even runs tests.

--HG--
extra : rebase_source : 398d21a438b807f632a596ee0e61cb651b4e8a43
2011-12-21 18:04:16 -08:00
Terrence Cole
18bc3f0f31 Bug 712488 - Add missing barrier in jsfunction clone; r=billm
When we clone a JSFunction, we need a post barrier after copying the contained
JSScript and JSObject pointers.
2011-12-21 17:17:03 -08:00
Makoto Kato
5e533e4d62 bug 693280 - Android DNS lookup port is incorrect usage for external function defines. r=glandium 2011-12-22 10:13:31 +09:00
David Mandelin
1e455f5ef8 Bug 711480: remove stray semicolon from conditional, rs=dvander 2011-12-21 17:04:32 -08:00
David Mandelin
ece925ae16 Bug 710970: remove never-failed null check found by PVS-Studio, r=dvander 2011-12-15 14:11:48 -08:00
Boris Zbarsky
1c3baac0ff Bug 711557. Expose js::ObjectClass via friendapi. r=waldo 2011-12-21 16:52:49 -05:00
Ed Morley
af477c6f5e Backout 1d0ec7fa8b96 (bug 702179) for PGO Linux build failures 2011-12-21 15:57:26 +00:00
Brian Hackett
748306a820 Remove JSObject::containsSlot, bug 710516. r=luke 2011-12-21 06:31:11 -08:00
Ed Morley
708c260982 Merge mozilla-central to mozilla-inbound 2011-12-21 12:15:42 +00:00
Ed Morley
6084e70492 Merge last PGO-green changeset from mozilla-inbound to mozilla-central 2011-12-21 12:11:14 +00:00
Ginn Chen
81d3d039c1 Bug 702179 dtrace probes are not installed on Solaris with static js lib r=glandium (reland with additional fix from Mike Hommey) 2011-12-21 19:25:31 +08:00
Phil Ringnalda
4b09411ee1 Bug 624621 - mark the test as failing on remote-jsreftests, where the message talks about the IP address and port rather than 'file://', r=mbrubeck
--HG--
extra : rebase_source : b47dba67a0c4325b3c8adb790d98891fea82639b
2011-12-20 21:58:43 -08:00
Christian Legnitto
f42e8695fa Bug 700000 - Version bump 2011-12-20 09:24:38 -08:00
Chris Leary
c78014a851 Bug 429241: Hex escape test. (TEST ONLY) 2011-12-20 16:49:17 -08:00