Commit Graph

19347 Commits

Author SHA1 Message Date
Nicholas Nethercote
4747c639a1 Bug 764714 (part 3) - Remove BytecodeEmitter::GlobalScope. r=jorendorff. 2012-06-13 23:29:04 -07:00
Nicholas Nethercote
97aa494461 Bug 764714 (part 2) - Move Parser::callerFrame to BytecodeEmitter. r=jorendorff. 2012-06-13 23:28:04 -07:00
Nicholas Nethercote
44499374d0 Bug 764714 (part 1) - Only set JSScript::savedCallerFun when appropriate. r=jorendorff. 2012-06-13 17:26:31 -07:00
Nicholas Nethercote
6b90428d43 Bug 766821 - Clear dead wood from Bindings. r=luke.
--HG--
extra : rebase_source : 88a769b7cc17ba4c850208e5c59916c1f7b2bde8
2012-06-20 19:14:35 -07:00
Jeff Walden
fdc16c2d6a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Bobby Holley
34bf2a92a6 Bug 755255 - Rename XPCThreadContext.cpp to XPCJSContextStack.cpp, since that's all that's left. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCThreadContext.cpp => js/xpconnect/src/XPCJSContextStack.cpp
2012-06-21 16:14:49 +02:00
Bobby Holley
db2c1b417f Bug 755255 - Remove XPCPerThreadData. r=mrbkap
\o/
2012-06-21 16:14:49 +02:00
Bobby Holley
25a83a9ffb Bug 755255 - Remove thread iteration in XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
dbfd454b32 Bug 755255 - Remove mThreadData from XPCCallContext. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
6e85f24e95 Bug 755255 - Remove threadsafety checking machinery. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
7fbbe863c9 Bug 755255 - Hoist Resolving* machinery into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
d12bcc07cc Bug 755255 - Remove Usage of XPCPerThreadData::IsMainThread. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
2ac86947b8 Bug 755255 - Hoist auto root list into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
e673afa8f2 Bug 755255 - Hoist pending exception junk into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
718b02a083 Bug 755255 - Make consumers of mCallContext go through XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
1b1b37d7aa Bug 755255 - Hoist mCallContext into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:49 +02:00
Bobby Holley
d2e4d37f1e Bug 755255 - Make consumers of GetJSContextStack go through XPCJSRuntime. r=mrbkap 2012-06-21 16:14:48 +02:00
Bobby Holley
e5ccf7ea31 Bug 755255 - Add a convenience function to grab the JS runtime. r=mrbkap
I started getting sick of typing nsXPConnect::GetXPConnect()->GetRuntime().
2012-06-21 16:14:48 +02:00
Bobby Holley
83f0362c53 Bug 755255 - Hoist mJSContextStack into XPCJSRuntime. r=mrbkap 2012-06-21 16:14:48 +02:00
Bobby Holley
824551c799 Bug 766018 - Null out the XPCWrappedNativeScope slot when scopes are deleted on shutdown. r=peterv 2012-06-21 16:14:48 +02:00
Mike Hommey
61c2f7921a Fixup for pymake after bug 763987. r=ted 2012-06-21 14:50:42 +02:00
Randell Jesup
435602cf1a Bug 757637: Rollup makesystem changes for webrtc r=khuey r=ted f=glandium 2012-06-20 07:27:43 -04:00
Ed Morley
976e703db3 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
1c82d6223a Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Bobby Holley
199645d62c Bug 732870 - Have nsDOMStringMapSH::PreCreate use the element as its parent, rather than the window. r=peterv 2012-06-21 10:02:36 +02:00
Bobby Holley
6ca66fb5a5 Bug 753162 - Don't assume that we end up in the same compartment as we started in CrossCompartmentWrapper. r=mrbkap 2012-06-21 09:53:49 +02:00
Mike Hommey
13388d7565 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Jim Blandy
bdae02798a Bug 757400: When we change a compartment's debug mode, ensure we throw away all the outdated analyses. r=billm
Always do a cleansing GC when we turn debug mode off, as well as when we
turn it on. If we don't, it's possible to have stale analyses (generated in
the wrong debug mode state) stick around, and we'll assert in JM.

Have ShouldCleanUpEverything recognize gcreason::DEBUG_MODE_GC as a reason
to discard all jit code and analyses.
2012-06-20 19:14:44 -07:00
Benjamin Peterson
3d0373f154 Bug 764508 - Remove header if it is no longer needed, r=jorendorff 2012-06-20 16:33:19 -07:00
Jeff Walden
b8d624d78f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
cd9ccb6f57 Fix a NULL-to-bool conversion warning. No bug, trivial, r=themaid 2012-06-20 15:30:14 -07:00
Jeff Walden
db39c5b92b Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Aki Sasaki
ccbb1b957f bug 765808 - fix bare 'dn' typo. r=glandium 2012-06-20 13:59:23 -07:00
Benjamin Peterson
c8d1f2b3b2 Bug 765280 - Fake stack depth, so various opcodes that depend on absolute stack depth are not confused, r=jorendorff 2012-06-20 12:03:04 -07:00
Luke Wagner
969c90af65 Bug 764401 - Fix the debugger not to assume the arguments object has been created if needsArgsObj (r=jimb)
--HG--
extra : rebase_source : 7fec2830eb639c5a702685a023d1a6d20cfe2500
2012-06-20 08:56:12 -07:00
Ehsan Akhgari
79476e0c44 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpconnect parts); r=bholley 2012-06-19 23:33:46 -04:00
Ed Morley
a65198a62d Merge mozilla-central to mozilla-inbound 2012-06-20 11:03:50 +01:00
Mike Hommey
2c40a7fa85 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
e1f994d15f Merge last PGO green changeset from mozilla-inbound to mozilla-central 2012-06-20 10:53:31 +02:00
Mike Hommey
3beac338fb Bug 734125 - Fail configure when acoutputfast.pl fails to find one of the input files. r=ted 2012-06-20 09:45:45 +02:00
Nicholas Nethercote
540d4de6c6 Bug 766004 - Remove LookupCompileTimeConstant(). r=bhackett.
--HG--
extra : rebase_source : 27e505a79158eb87fd38adf700bc21a666415733
2012-06-19 18:05:43 -07:00
Nicholas Nethercote
8fd90f055f Bug 765976 - Simplify CompileFunctionBody's control flow. r=sfink.
--HG--
extra : rebase_source : 4d5e88fdae064f5a68c0938ee5cbc6e619d02c85
2012-06-18 16:54:55 -07:00
Fabrice Desré
7a73ff8ad0 Bug 766378 - adds a createArrayIn() call to create JS arrays in a given scope [r=mrbkap] 2012-06-19 16:54:46 -07:00
Masatoshi Kimura
0a16a56d7f Bug 764916 - Replace nsDOMClassInfo::ThrowJSException with xpc::Throw. r=mrbkap 2012-06-19 19:01:10 -04:00
Andrew McCreight
e84af3afd0 Bug 763776 - refactor nsXPConnect::Traverse. r=billm 2012-06-19 11:33:00 -07:00
Andreas Gal
e33f6ca94b Bug 637014 - use the right global in MakeFinalizeObserver (r=luke) 2012-06-19 11:13:42 -07:00
Benjamin Smedberg
ed825e08a8 Bug 755724 part A - add makefile variable DIST_SUBDIR to ship code to a subdirectory of dist/bin, r=ted
--HG--
extra : rebase_source : ef52dff3c4f42b99148e99335ee82d9a207faf46
2012-06-19 10:45:24 -04:00
Mike Hommey
95bbba592a Backout changeset efc2f07a829b (bug 734125) because of bustage 2012-06-20 09:23:41 +02:00
Mike Hommey
dc16dcec90 Re-sync config/config.mk after bug 763987. r=me 2012-06-20 09:14:05 +02:00
Mike Hommey
028b759dbf Bug 764286 - Remove unused AC_SUBSTs. r=ted 2012-06-20 09:00:48 +02:00