Benjamin Peterson
9cbf495384
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-28 15:18:33 -07:00
Ed Morley
4d7bcc30d0
Backout a5b21cffeebf (bug 743112) for intermittent but severe leaks; a=whatafunwaytospendtheday on a CLOSED TREE
2012-07-28 18:46:27 +01:00
Benjamin Peterson
f523fe4914
Bug 778268 - Allow definitions with no uses to be removed. r=luke
2012-07-27 21:56:46 -07:00
Benjamin Peterson
9cf9ce0742
Backout 4cdd23569371 (Bug 777776) for more bustage
2012-07-27 19:35:01 -07:00
Terrence Cole
cb966c448c
Bug 744675 - Make jstest suite default parallelism match cpu count; r=sfink
...
--HG--
extra : rebase_source : 41dab7c1354f31c27cb019a622b8602e7fc521c5
2012-07-27 17:51:12 -07:00
Benjamin Peterson
c738966823
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-27 17:51:49 -07:00
Bill McCloskey
be5d8b9861
Bug 778370 - Track individual sweep phases in GC statistics (r=terrence)
2012-07-27 17:37:21 -07:00
David Mandelin
b5527a44f5
Bug 778347: fix some MSVC warnings, r=luke
...
--HG--
extra : rebase_source : 859cdd689d4aa794ab8c25d39fb9f9cd7817a92c
2012-07-27 16:32:37 -07:00
Eric Faust
dc82c3601d
Bug 747288 - Reland renaming jitinfo to MJITinfo. (r=bhackett)
2012-07-27 16:20:48 -07:00
David Mandelin
65121c26cf
Backout changeset 8bd9d81db80a which landed without a bug
...
--HG--
extra : rebase_source : 69b0afc5aab63afeea06919db9c2e635e7c6f1dc
2012-07-27 15:49:11 -07:00
Benjamin Peterson
08ca5c0b52
Backout b69f5004fde8 (Bug 777776) for bustage
2012-07-27 15:22:13 -07:00
Benjamin Peterson
1b3e9b3054
Bug 777776 - Properly barrier JSScript::scriptSource_. r=terrence
2012-07-27 14:42:56 -07:00
Steve Fink
a152b2b167
Bug 777956 - With CPG, AutoCompartment no longer needs to store the target object. r=luke
2012-07-26 18:27:08 -07:00
Terrence Cole
eec1e4d739
Bug 777992 - Move array slowification barrier closer to update; r=billm
...
--HG--
extra : rebase_source : c7bb1cb451877282e6d8a1bc2b1e971cbbfad2a7
2012-07-27 12:32:16 -07:00
David Mandelin
fd7a203660
Bug 776704: allow shell to build without zlib, r=bpeterson
2012-07-25 16:47:16 -07:00
Bill McCloskey
7a352d77b6
Bug 743112 - Incremental release of C++ objects during GC (r=smaug,jonco)
2012-07-27 11:27:51 -07:00
Bobby Holley
b52dbb1296
Bug 760109 - Tests. rs=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
14f5762294
Bug 760109 - Override traps in ChromeObjectWrapper to bounce lookups to the local prototype chain. r=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
a65cd6284e
Bug 760109 - Introduce an explicit ChromeObjectWrapper. r=mrbkap
...
For now it's identical to ChromeObjectWrapperBase. Custom behavior comes in the next patch.
2012-07-27 12:15:46 +02:00
Bobby Holley
36a18e3366
Bug 760109 - When COWing objects with standard prototypes, use the prototype in the home compartment instead. r=mrbkap
2012-07-27 12:15:46 +02:00
Bobby Holley
4ed1de47e1
Bug 760109 - Add an API to lookup proto key via standard prototype objects and vice-versa.
2012-07-27 12:15:46 +02:00
Bobby Holley
015088cb14
Bug 760109 - Don't force wrappers to use the wrapped proto if they decide to use something different. r=mrbkap
2012-07-27 12:15:46 +02:00
Eric Faust
1134b570b4
No bug - Rename JitInfo mJITInfo. (r=bhackett)
2012-07-26 19:44:52 -07:00
Ehsan Akhgari
9d3ed71408
Backout changeset 0589b96414e6 which landed without a bug and broke the builds
2012-07-26 22:56:23 -04:00
Eric Faust
156a3f24c4
No bug - Rename JitInfo mJITInfo. (r=bhackett)
2012-07-26 19:44:52 -07:00
Terrence Cole
a07e601418
Bug 777999 - Fix JSRefTest shell progressbar brokeness in windows; r=dmandelin DONTBUILD
...
--HG--
extra : rebase_source : e6170427c1d56de503c71157234ca2b1a52fe9aa
2012-07-26 18:07:17 -07:00
Bill McCloskey
12d1c09c85
Bug 777919 - Free LifoAlloc chunks on background thread (r=luke)
2012-07-26 18:05:31 -07:00
Luke Wagner
acd0471e40
Bug 777643 - re-enable arguments.length fast path in JM (r=bhackett)
2012-07-26 16:08:26 -07:00
Eric Faust
5639fdfe7b
Bug 777618 - Remove VALUE_TO_BOOLEAN and POP_BOOLEAN from interpreter. (r=luke)
2012-07-26 15:24:28 -07:00
Aryeh Gregor
fd148cf57d
Bug 779122 - nsXPCComponents_Utils::RecomputeWrappers should return nsresult, not bool; r=bholley
2012-07-31 18:24:38 +03:00
Boris Zbarsky
7170b6f706
Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey
2012-07-26 12:38:03 -04:00
Ed Morley
2b16adb841
Backout 137efb901fc9 (bug 777627) for bustage
2012-07-26 17:48:00 +01:00
Boris Zbarsky
461a44b5d8
Bug 777627. Make sure we can't accidentally turn off mochitests for a directory by reordering the Makefile.in. r=khuey
2012-07-26 12:38:03 -04:00
Jan de Mooij
bf8e50560f
Backout 72bd41f8ca61 (bug 777383) to see if it fixes a sunspider regression on 64-bit.
2012-07-26 17:37:09 +02:00
Ed Morley
68761b3c9a
Merge mozilla-central to mozilla-inbound
2012-07-26 13:25:04 +01:00
Ed Morley
f527443623
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-26 13:04:00 +01:00
Olli Pettay
ca22625ff8
Bug 776986 - Implement MozApplicationEvent using codegenerator, r=fabrice
2012-07-26 13:23:22 +03:00
Olli Pettay
46e6a4eab4
Bug 776971 - codegen DeviceLightEvent impl, r=dougt
2012-07-26 00:26:51 +03:00
Olli Pettay
2c8046a80a
Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt
2012-07-26 00:17:14 +03:00
Olli Pettay
26e6fedf00
Bug 777074 - dictionary_helper_gen.py doesn't handle 'unsigned long' types, r=khuey
2012-07-25 01:59:22 +03:00
Ed Morley
3d60969c38
Backout eecd3aa199e6 (bug 776305), 62facd5b3da9, c6a0ac7d47d2 & 2d56621abfee (bug 776035), e4e68cf2bd40 (bug 776016), 0853a4d49b4e & 31de6ffdedcb (bug 770426), 43a69b4981f5 (bug 756786) for Windows mochitest crashes
2012-07-25 09:35:32 +01:00
Eric Faust
912ab7d080
Bug 749536 - Implement JS::ToBoolean to fastpath Value to Boolean unwrappings. (r=luke)
2012-07-24 22:59:55 -07:00
Mike Hommey
c9713a939a
Bug 776305 - Fix building spidermonkey with system zlib after bug 761723. r=khuey
2012-07-25 07:44:08 +02:00
Mike Hommey
987cbfa2e1
Bug 776016 - Avoid Preprocessor.py warning when no commands are processed, but filters are. r=ted
2012-07-25 07:44:08 +02:00
Jan de Mooij
9c807a6130
Bug 777383 - Don't add undefined type to property reads before test ops. r=bhackett
2012-07-26 13:40:46 +02:00
Jon Coppeard
c327796c41
Bug 729760 - GC: Incremental sweeping of shapes and types r=billm
...
--HG--
extra : rebase_source : c3bdffe5b4093d774f8f5a7bdf42c9e734763326
2012-07-26 09:31:52 +01:00
Mike Hommey
c70f2d98fa
Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey
2012-07-23 07:42:22 +02:00
Benjamin Peterson
656e24cfa0
Bug 777181 - Breaking out of a for-let-in loop needs SRC_HIDDEN. r=luke
...
--HG--
extra : rebase_source : b71d4e1983d9e83f9392ff62fbff280cb3fb3295
2012-07-24 19:15:37 -07:00
Ryan VanderMeulen
812003ca27
Merge
2012-07-24 22:06:27 -04:00
Benjamin Peterson
bc1ef10d25
Bug 777083 - Don't leak when ownSource is true. r=luke
2012-07-24 19:01:38 -07:00
Benjamin Peterson
63b232b071
Bug 776332 - Fix the rooting of Function's toSource/toString. r=terrence
2012-07-24 14:23:36 -07:00
Chao-ying Fu
5aa3794297
Bug 774760 - Fix unaligned PCCounts double access (r=luke)
...
--HG--
extra : rebase_source : ac9c1d9cb21611a5c23ca92a187b7f3e0e422cf4
2012-07-24 11:11:44 -07:00
Ryan VanderMeulen
15565e885f
Merge m-c to inbound.
2012-07-24 22:00:07 -04:00
Olli Pettay
adf35f6898
Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner
2012-07-24 22:28:26 +03:00
Benjamin Peterson
b4f0c450b3
Bug 776314 - Stub out genexp toSource. r=luke
2012-07-24 11:19:18 -07:00
Benjamin Peterson
da8f1d7883
Bug 776314 - Add a script flag indicating if the script is a generator expression. r=luke
2012-07-24 11:19:08 -07:00
Gregory Szorc
96140f4c0f
Bug 776805 - Remove unused NO_GEN_XPT from rules.mk; r=glandium
2012-07-24 10:57:13 -07:00
Benjamin Peterson
5b841e0c17
Bug 776430 - Use the rightmost URI to account for possible multiple prefixing. r=bz
...
--HG--
extra : rebase_source : 00d3a825d0743dc5ba61a0dbe69c6f8a75b4b208
2012-07-23 19:13:18 -07:00
Benjamin Peterson
4cd03908be
Bug 776317 - Separate the body of a constructed function from its braces with newlines. r=luke
2012-07-23 17:03:41 -07:00
Sean DuBois
c4c18a9031
Bug 769908 - Switch DIR_INSTALL to INSTALL. r=ted
2012-07-23 20:02:20 -04:00
Benjamin Peterson
a5553db86c
Bug 776388 - Create global threads. r=terrence
2012-07-23 15:05:03 -07:00
David Mandelin
a8f7a07eaf
Merge for backout of changeset d6531ef05a6f
2012-07-23 14:34:24 -07:00
David Mandelin
caefa71c84
Backed out changeset d6531ef05a6f
2012-07-23 14:33:14 -07:00
Benjamin Peterson
81b4c510e0
Bug 776700 - completely disable compression until Sunspider is sorted out. r=dmandelin
...
--HG--
extra : rebase_source : e7d40b7c9a01bdb90288911f908c65c185f335e6
2012-07-23 14:23:19 -07:00
Luke Wagner
b1a8d6ab25
Bug 776191 - Add missing case of 'with' deoptimization, r=dvander
2012-07-23 13:39:18 -07:00
Gary Kwong
3d4182f4e1
Backed out changeset 4ee96b33d289, r=wrongAuthor
2012-07-23 14:00:36 -07:00
Gary Kwong
e0de3d8739
Bug 776191 - Add missing case of 'with' deoptimization, r=dvander
2012-07-23 13:39:18 -07:00
Andrew McCreight
e66fb39e3a
Bug 773533 - import Element.h into XPConnect the right way. rs=Ms2ger
2012-07-23 15:38:30 -07:00
Steve Fink
5fc63bf34b
Bug 776732 - Add more things to getBuildConfiguration(), r=luke
2012-07-23 15:30:21 -07:00
Brian Hackett
4ca65cbc22
Fix rooting hazard in eval cache, no bug. r=billm
2012-07-13 14:03:52 -06:00
Brian Hackett
41acc2836d
Add more rooting for --enable-rootanalysis tbpl builds, bug 772303. r=terrence
2012-07-13 10:13:50 -06:00
Jan de Mooij
02c0826c25
Bug 773586 - Initialize PICGenInfo::pc and clean up ICs a bit. r=bhackett
2012-07-13 15:32:25 +02:00
Bobby Holley
95fef51c28
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Joshua Cranmer
a1186c1020
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Steve Fink
6f2dea22ee
Bug 776635 - Allow use of JSRootedObject using only external headers. r=billm
...
Currently, JS::Rooted<JSObject*> requires the full definition of JSObject to be available (due to RootMethods<JSObject*>::kind() calling JSObject::rootKind()). This patch switches to using a RootKind<T> template that is explicitly specialized in jspubtd.h for externally-visible pointer types, but still falls back on T::rootKind() for other pointer types so that we don't need to explicitly specialize on eg all subclasses of JSString or JSObject.
--HG--
extra : rebase_source : 138a859babc1aac60e61fe6f08089d8dbb4995d2
2012-07-18 14:32:39 -07:00
Steve Fink
6ed1505aa3
Bug 776632 - Implement testing function getBuildConfiguration. r=luke
...
The fuzzers currently infer the build configuration based on the presence or absence of various flags, and gkw noted that this will not work with JSGC_ROOT_ANALYSIS, so I thought it'd be nice to add something more direct. This is a stub set for now.
--HG--
extra : rebase_source : 0f1625a3d1c3e8cead17cd58e9f2cb0bc95817bd
2012-07-23 13:37:06 -07:00
Ehsan Akhgari
9a6ac3a438
Bug 776660 - Return null from EnsureExpandoObject instead of false; r=bholley
2012-07-23 15:58:41 -04:00
Luke Wagner
d08031fe5d
Bug 775684 - rm PND_TOPLEVEL (r=ejpbruel)
...
--HG--
extra : rebase_source : 90fed1498fc1e34d721afa5a3a4ba518ad0cf3c9
2012-07-23 11:09:59 -07:00
Luke Wagner
a4d97b7caf
Bug 775647 - rm PND_INITIALIZED (r=ejpbruel)
...
--HG--
extra : rebase_source : 214c973cbe96c290cabe17ca987886991a975c0e
2012-07-23 11:09:57 -07:00
Luke Wagner
2380a1cb6b
Bug 775647 - simplify control flow in BindVarOrConst (r=ejpbruel)
...
--HG--
extra : rebase_source : f3e2cc1047c38cc26c99cccec7c3f128c74cb708
2012-07-23 11:09:10 -07:00
Bobby Holley
d3085662ed
Bug 773962 - Fix windows linkage bustage. r=me
2012-07-23 17:57:39 +02:00
Bobby Holley
8c8fbbde29
Bug 772288 - Waive Xray for target objects in Cu.import. r=mrbkap
2012-07-23 16:47:18 +02:00
Matthew Noorenberghe
99a07d6d64
Bug 772288 - Tests. r=bholley
2012-07-23 16:47:18 +02:00
Bobby Holley
9a11ba2635
Bug 773962 - Tests. r=mrbkap
2012-07-23 15:51:19 +02:00
Bobby Holley
f747c53f93
Bug 773962 - Introduce Cu.recomputeWrappers. r=mrbkap
...
It's sort of annoying to add this API just for tests, but there's not another
great way to trigger a compartment-wide transplant with Xray waivers
(since setting document.domain doesn't recompute wrappers to/from chrome, and
Xray waivers will stop being accessible to content entirely in bug 742444).
2012-07-23 15:51:18 +02:00
Bobby Holley
3cf16c36ad
Bug 773962 - Fix up waivers after transplanting. r=mrbkap
2012-07-23 15:51:18 +02:00
Bobby Holley
8c1b8fbc4b
Bug 773962 - Refactor Xray waiving logic to allow simple lookups in the waiver map without creating a waiver. r=mrbkap
2012-07-23 15:51:18 +02:00
Bobby Holley
982b82b516
Bug 773962 - Add some asserts in the brain transplant code. r=billm
...
This catches the crash when the naughtiness happens, rather than later on.
2012-07-23 15:51:18 +02:00
Ed Morley
b270bbc902
Backout deb1e2c80f84 (bug 770426) for causing bug 776503 on a CLOSED TREE
2012-07-23 14:28:32 +01:00
Ms2ger
fa5bf4cd95
Bug 761510 - Followup: remove unused variable in opt builds.
2012-07-23 12:41:57 +02:00
Mike Hommey
bb8a2b201b
Bug 775424 - Make cycle collection vtables rodata. r=smaug
2012-07-23 07:42:23 +02:00
Mike Hommey
7cd0a9092a
Bug 770426 - Replace double colon rules with dependency chains for preprocessing rules. r=khuey
2012-07-23 07:42:22 +02:00
Makoto Kato
8cbbd5d19a
Bug 775410 - Remove nsinstall.exe.manifest. r=khuey
2012-07-23 14:40:12 +09:00
Benjamin Peterson
323dca3e0d
Bug 776389 - Find the source of scripts from the subscript loader correctly. r=bz
2012-07-22 15:14:47 -07:00
Benjamin Peterson
99aa02e215
Bug 776283 - Decode sources properly before handing them to the JS engine. r=bz
2012-07-22 09:00:45 -07:00
Benjamin Peterson
417eef5aea
Bug 776200 - Reduce compression level as temporary fix for SunSpider regression. r=pierron
...
--HG--
extra : rebase_source : 7516bb18a5bbceca411d2053a5ff546cf0de27ec
2012-07-22 01:07:29 -07:00
Boris Zbarsky
baaa12ace9
Bug 775317. Add a test for the JSOPTION_VAROBJFIX behavior of JS_EvaluateScript. r=jorendorff
2012-07-21 22:37:43 -04:00
Boris Zbarsky
20f40425e5
Bug 765163 followup. Don't write DictionaryHelpers.h while generating DictionaryHelpers.cpp. r=build-bustage for checkin to CLOSED TREE
2012-07-22 01:17:38 -04:00
Jason Duell
380d2ba82c
Backout f142f32a98a3 (Bug 775317) and ef14686c31d0 (Bug 761278). r=bustage
2012-07-21 20:05:37 -07:00
Boris Zbarsky
0bb06f3e45
Bug 775317. Add a test for the JSOPTION_VAROBJFIX behavior of JS_EvaluateScript. r=jorendorff
2012-07-21 22:37:43 -04:00