Commit Graph

24351 Commits

Author SHA1 Message Date
Jon Coppeard
417d600028 Bug 840581 - GC: jsapitests crash with rooting analysis enabled r=terrence 2013-02-12 17:44:31 +00:00
Jon Coppeard
75eecf7479 Bug 840548 - GC: rooting hazards in the parser r=sfink 2013-02-12 17:19:05 +00:00
Jon Coppeard
b46ebdeeda Bug 840477 - GC: Rooting hazards in the shell r=sfink 2013-02-12 17:19:03 +00:00
Ryan VanderMeulen
1568f7d987 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Nicholas Nethercote
f4e6fa899d Bug 839376 (part 7) - Fix seven more easy rooting hazards. r=sfink.
--HG--
extra : rebase_source : 71a098b809d06bcb0c8a61c7960d9607f81441d4
2013-02-12 14:59:33 -08:00
Nicholas Nethercote
396b1cc895 Bug 839376 (part 6) - Fix five more easy rooting hazards. r=sfink.
--HG--
extra : rebase_source : 8b430a1de5dcbfecd4799b31a5e30ab35cd53fd7
2013-02-12 14:57:20 -08:00
Nicholas Nethercote
063cbac3ef Bug 839376 (part 5) - Make ObjectClassIs take a HandleObject. r=sfink.
--HG--
extra : rebase_source : 2a2f9863a2e2ef2419e28a9167cde8a255003cd0
2013-02-11 21:01:45 -08:00
Bobby Holley
97fd619f30 Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
a097df7c72 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
363a88b529 Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
70a369794a Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
b55e2ecc2b Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Steve Fink
8979aa7655 Bug 668583 - Detect rope corruption earlier in opt builds. r=billm
--HG--
extra : rebase_source : 646e143f453f36c72c379dae521cc59b24fc5584
2013-02-12 11:07:26 -08:00
Landry Breuil
5fbb00b7b4 Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence 2013-02-12 22:29:29 +01:00
Jim Blandy
e68d359ea4 Bug 840319: Keep js/src/gdb/gdb-tests.cpp's 'breakpoint' function from being unified with other functions in SM. r=sfink 2013-02-12 11:55:00 -08:00
Jim Blandy
b0b3bb4944 Bug 839791: Update JS GDB support for JS_ARRAY_HOLE -> JS_ELEMENTS_HOLE change. r=sfink 2013-02-12 11:55:00 -08:00
Terrence Cole
9fa38d1c0d Bug 839215 - Make large typedarrays singletons more aggressively; r=bhackett
--HG--
extra : rebase_source : df0ea62ae25f7c106de01e38fb8ac729b0148f63
2013-02-12 11:50:49 -08:00
Kannan Vijayan
dbafe5f382 Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb 2013-02-12 13:21:48 -05:00
Andrew McCreight
eeca77775f Bug 784730 - Add missing comment. r=bholley DONTBUILD 2013-02-12 09:46:34 -08:00
Terrence Cole
7cd779f640 Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo 2013-02-05 14:22:27 -08:00
Ed Morley
f6a91a3669 Merge mozilla-central to mozilla-inbound 2013-02-12 14:57:45 +00:00
Ed Morley
fb6aef7abd Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
dd830da456 Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff 2013-02-12 11:14:01 +01:00
Nicholas Nethercote
d03526652d Bug 839376 (part 4) - Fix four or five more rooting hazards. r=sfink.
--HG--
extra : rebase_source : 4e4e844c48b5282b772845c87f56e2384cf68998
2013-02-11 19:35:22 -08:00
Norbert Lindenberg
9ec69e7ea2 Bug 839751 - "Assertion failure: i < argc_" with localeCompare. r=jwalden
--HG--
extra : rebase_source : 82f04b0635be8e2f408e37d33a2ba186d3810011
2013-02-11 19:04:36 -08:00
Sean Stangl
8fa72d6d4e Bug 840339 - Include inlined JSScript definitions to fix warnings. r=dholbert 2013-02-11 18:08:21 -08:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Ryan VanderMeulen
2861e3219f Merge m-c to inbound. 2013-02-11 13:51:32 -05:00
Mike Hommey
bbdbb106d3 Bug 790115 - Create .purgecaches in $(DIST)/bin and $(DIST)/bin/webapprt, and allow to override $(DIST)/bin. r=ted 2013-02-11 14:10:10 +01:00
Bobby Holley
778e86b208 Bug 839867 - Align gecko with the spec on cross-origin access to Location.hash. r=bz
We update the tests to cover this case. There was also a bug in the tests where
we were accidentally testing non-writable Location properties against window
rather than window.location. :-(
2013-02-11 00:05:17 +01:00
Jan de Mooij
9cebed1b28 Bug 839982 part 6 - Create |this| before creating the resume point when inlining NEW. r=djvj 2013-02-12 13:11:28 +01:00
Jon Coppeard
facc490a0e Bug 839471 - GC: Sweep type objects on the background thread r=billm 2013-02-08 08:40:39 +00:00
Mike Hommey
54c80967b1 Bug 839824 - Fix build error with gcc 4.4 in MIR.h. r=dvander 2013-02-12 11:02:53 +01:00
Ryan VanderMeulen
4d36c69250 Merge m-c to inbound. 2013-02-11 20:49:31 -05:00
Jeff Walden
0e302a5094 Bug 826009 - Move locale callback info, default locale, etc. data and APIs to be JSRuntime-centered. f=bholley, r=jorendorff
--HG--
extra : rebase_source : 35317f4c29e9dd70e7d4fd1292027cfd51ce2675
2013-02-07 18:04:11 -08:00
Tom Schuster
fa440a8a6f Bug 840172 - Rooting fixes for Wrapper and wrap. r=terrence 2013-02-12 01:31:10 +01:00
Andrew McCreight
f5cee347e2 Bug 784730 - Crash in ReparentWrapperIfFound if wrapper already in scope. r=bholley 2013-02-06 12:18:54 +00:00
Nicholas Nethercote
4ede79f464 Bug 839376 (part 3) - Some low-hanging exact rooting fruit. sfink.
--HG--
extra : rebase_source : 1d236895915f9474fd8e50c399bf2cd8139a6b5f
2013-02-11 14:04:25 -08:00
Nicholas Nethercote
bf0a2be76d Bug 839376 (part 2) - Add some easy exact roots for jsinfer.cpp. r=sfink.
--HG--
extra : rebase_source : 38732b05549e2f322b33ce4728ae2e38f5b82e56
2013-02-11 14:04:02 -08:00
Nicholas Nethercote
d720d841a1 Bug 839376 (part 1) - Add an exact root for jstypedarray.cpp. r=sfink.
--HG--
extra : rebase_source : fb5dd6bbd53ac0949070f574a636ec480131741b
2013-02-11 14:03:02 -08:00
Sean Stangl
633c83b2d8 Bug 839727 - Minor cleanups around polymorphic inlining. r=djvj 2013-02-11 13:16:53 -08:00
Tom Schuster
9887b27276 Bug 838558 and Bug 839027: checkin lost changsets in XPC. CLOSED TREE 2013-02-11 22:07:35 +01:00
Tom Schuster
28a26799a2 Bug 838558 - Kill object equality hook. r=jorendorff 2013-02-11 21:06:05 +01:00
Tom Schuster
649be0b299 Bug 839027 - Kill object typeof hook. r=jorendorff 2013-02-11 21:05:13 +01:00
Jim Blandy
dcd5a03e42 Bug 828078: JS GDB support: Add dummy type lookup to work around GDB bug (fixed in present GDB sources). r=sfink 2013-02-09 09:14:13 -08:00
Jan de Mooij
0771bdc2ff Bug 839420 - Refactor ReportIsNotFunction to not use spIndexOf and remove spIndexOf. r=bhackett 2013-02-09 13:51:48 +01:00
Jan de Mooij
22678ea715 Bug 836742 part 2 - Move EnsureExitFrame to IonFrames.cpp, rename IonFrame_Bailed_*. r=nbp 2013-02-09 13:49:07 +01:00
Jeff Walden
15f60ef632 Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo 2013-02-08 22:59:54 -08:00
Luke Wagner
aea3439c1f Bug 839582 - IonMonkey: assume high word of 64-bit registers are zero (r=sstangl)
--HG--
extra : rebase_source : d5079610c41e0fcbbe1dbd28f2eeadd2a22b148b
2013-02-08 16:50:33 -08:00