Commit Graph

24475 Commits

Author SHA1 Message Date
Nicolas B. Pierron
ca0778b23c Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander 2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
7aef909002 Bug 840696 part 1 - Enable GetElem IC if typed arrays & arrays are mix-up. r=dvander 2013-02-18 22:14:25 -08:00
Nicolas B. Pierron
adedaf3e35 Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-18 21:29:55 -08:00
Hannes Verschore
9ee59669be Bug 839315: IonMonkey: Fix fault in TypePolicy of MCompare for CompareType_Boolean and CompareType_String, r=jandem 2013-02-18 18:32:10 +01:00
Andrea Marchesini
d98c0993bb Bug 839447 - Rename nsHTMLOptionElement to HTMLOptionElement, r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLOptionElement.cpp => content/html/content/src/HTMLOptionElement.cpp
rename : content/html/content/src/nsHTMLOptionElement.h => content/html/content/src/HTMLOptionElement.h
2013-02-18 13:24:58 +01:00
Andrea Marchesini
fe3cb4351c Bug 838559 - Rename nsHTMLMenuElement to HTMLMenuElement. r=Ms2ger
--HG--
rename : content/html/content/src/nsHTMLMenuElement.cpp => content/html/content/src/HTMLMenuElement.cpp
rename : content/html/content/src/nsHTMLMenuElement.h => content/html/content/src/HTMLMenuElement.h
2013-02-18 06:59:08 -05:00
Jacek Caban
3189657162 Bug 841695 - Fixed ToPropertyKeySlow redeclared without dllimport warning r=Waldo
--HG--
extra : rebase_source : 5999cdc037b856707969b059739d35fec23428c5
2013-02-18 12:29:51 +01:00
Jon Coppeard
0f53be0e33 Bug 841356 - GC: Some minor rooting fixes r=sfink 2013-02-15 17:54:01 +00:00
Landry Breuil
78bac09dbb Bug 842131 - Use egrep to detect clang version, fixes build without GNU grep. r=glandium 2013-02-18 10:42:22 +01:00
Randy Lin
90902b6a5b Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
d9c0a39dc8 Bug 563195: Fix -Wshadow warnings in public JS API headers (those used from layout/style/). r=njn 2013-02-17 22:56:32 -08:00
Jeff Walden
3265481090 Bug 664528 - [].sort misbehaves when the array being sorted starts with at least one hole and otherwise contains only holes and |undefined| as its elements. r=jandem 2013-02-13 15:47:25 -08:00
Tom Schuster
7aa49904f6 Bug 508061 - INITELEM behavior differs with -j. rs=Ms2ger 2013-02-17 22:25:07 +01:00
Jim Blandy
f0929a3045 Bug 840723: Print js::Rooted<jsid> and related classes correctly in non-DEBUG builds. r=sfink 2013-02-15 21:27:44 -08:00
Jim Blandy
bfdfc16b12 Bug 840689: JS GDB support: Don't confuse typedefs with concrete types. r=sfink 2013-02-15 21:27:44 -08:00
Boris Zbarsky
213f724948 Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Luke Wagner
45e2eae59e Bug 841619 - Factor out an ArrayBufferObject::changeContents from uninlineData (r=sfink)
--HG--
extra : rebase_source : 0f3828f1cd07e447540b28ba38f02e2bdd75aa04
2013-02-14 15:08:15 -08:00
Till Schneidereit
c322ae06f7 Bug 822080 - use defineProperty instead of setGeneric during cloning of object properties for self-hosting. r=jwalden 2013-02-15 23:32:52 +01:00
Masatoshi Kimura
e34e3f60a9 Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking 2013-02-20 20:54:19 +09:00
Brian Hackett
daa38c2983 Bug 842522 - Don't force construction of arguments objects in the presence of dynamic name accesses, r=luke. 2013-02-20 04:54:13 -07:00
Nicolas B. Pierron
29aeb56046 Bug 840696 part 4 - Avoid boxing the index for GetElement ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
4ac34b17a1 Bug 840696 part 3 - Specialize the return type of GetElem ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
2b74fc9686 Bug 840696 part 2 - IonMonkey: Add typed array support to GetElem ICs. r=dvander 2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
496e7712ff Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
129f8f3baf Bug 840696 part 1 - Enable GetElem IC if typed arrays & arrays are mix-up. r=dvander 2013-02-20 00:49:55 -08:00
Joey Armstrong
3e5212c327 bug 746277: replace hg commands with functions 2013-02-15 17:00:12 -05:00
Till Schneidereit
90ea1b7f27 Bug 841467 - Fix assert to properly handle requests to allocate 0 bytes. r=n.nethercote
--HG--
extra : rebase_source : 96f4ca364285904c7b1580cfa6097399134788c6
2013-02-15 21:39:36 +01:00
Jan de Mooij
d8346f48d3 Bug 684384 - Ion-compile break-to-labeled-scope. r=dvander 2013-02-15 14:52:29 +01:00
Nicholas Nethercote
5aa9f64aba Bug 838014 (follow-up) - Bustage fix for 19857f43d44b on a CLOSED TREE. r=me. 2013-02-14 21:16:04 -08:00
Nicholas Nethercote
a97f3d62be Bug 685783 - Avoid slop in js::Vector when the element size is not a power of two. r=luke.
--HG--
extra : rebase_source : cd7633073f3765b635f08f948044ff109d196ce8
2013-02-10 13:56:22 -08:00
Steve Fink
2a42a7a9fb Bug 838014 - More rooting in Debugger, plus some minor rooting in JSD and xpconnect for some should-be-private JSAPI changes. r=terrence
--HG--
extra : rebase_source : 46febe5421f6e1901f0d5ac2707fb3fdde1894db
2013-02-12 12:27:02 -08:00
Nicholas Nethercote
7592a76c58 Bug 839376 (part 13) - Fix ten easy rooting hazards in vm/Debugger.cpp. r=terrence.
--HG--
extra : rebase_source : 0cc515f0f423d8794dd42eff70b6056cf8d6919f
2013-02-14 18:55:24 -08:00
Nicholas Nethercote
f81dfbe4f0 Bug 839376 (part 12) - Fix two easy rooting hazards in shell/js.cpp. r=terrence.
--HG--
extra : rebase_source : f542f9d056b956463ddf474efa538ea9a20d970d
2013-02-14 18:54:39 -08:00
Nicholas Nethercote
00df65ece0 Bug 839376 (part 11) - Fix two more easy rooting hazards. r=terrence.
--HG--
extra : rebase_source : 37e7f5748b62018ab8ba8010f64d2c84f14578fa
2013-02-14 18:54:04 -08:00
Nicholas Nethercote
fcb28b3b94 Bug 839376 (part 10) - Fix five rooting hazards in jsproxy.cpp. r=terrence.
--HG--
extra : rebase_source : 3a6220485cff14cca365a866dbcc21fda701b5b4
2013-02-14 18:49:33 -08:00
Nicholas Nethercote
a586f64944 Bug 839376 (part 9) - Fix six rooting hazards in methodjit/PolyIC.cpp. r=terrence.
--HG--
extra : rebase_source : efcf013c9593f14958499165bc9b2941695056a8
2013-02-14 18:49:21 -08:00
Benjamin Peterson
196614d554 Bug 841549 - Fix sizeOfIncludingThis() during compression. r=njn 2013-02-14 23:25:17 -05:00
Bill McCloskey
366f7e0751 Bug 832812 - Don't use off-thread Ion compilation while profiling (r=dvander)
--HG--
extra : rebase_source : 0bcb79b0d8c1d6d2c0f23efdb0698a27a02f3d45
2013-02-14 17:13:38 -08:00
Nicholas Nethercote
e0221ba264 Bug 839973 - Reduce chunk size for JSCompartment::typeLifoAlloc. r=billm.
--HG--
extra : rebase_source : 2b85704f2ba25698df1b93ed02e43629e2d333d4
2013-02-14 16:20:15 -08:00
Christian Holler
a933aec5ad Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett 2013-02-15 00:50:11 +01:00
Kannan Vijayan
1a214bd9e8 Bug 841499 - Allow calling SetObjectElementOperation with explicit script and pc arguments. r=jimb 2013-02-14 18:27:49 -05:00
Terrence Cole
defe5624ca Bug 841054 - Remove a dead script_ from SnapshotReader; r=nbp
--HG--
extra : rebase_source : d0b0052c3e0ba3f43173130487eb53a69d03b267
2013-02-13 18:32:14 -08:00
Nicholas Nethercote
d6984b03b9 Bug 840809 (part 3) - Shrink initial size of some per-compartment tables. r=billm.
--HG--
extra : rebase_source : 70b534a4e16306d161228a640b3eb5cdf9a6b478
2013-02-14 11:12:25 -08:00
Nicholas Nethercote
bcfb0eadfd Bug 840809 (part 2) - Measure RegExpCompartment::inUse_. r=sstangl.
--HG--
extra : rebase_source : 6eb3e6d42f0dd09eb62ffc887b0e6243de2f7202
2013-02-14 11:11:46 -08:00
Nicholas Nethercote
c5e9482c20 Bug 840809 (part 1) - Fix a comment and rename a constant in HashTable.h. r=luke.
--HG--
rename : content/svg/content/src/SVGComponentTransferFunctionElement.h => content/svg/content/src/nsSVGFilters.cpp
extra : rebase_source : 98370c5137aa67a3f2cedb7fc81668bb80b559bb
2013-02-14 11:11:15 -08:00
Brian Hackett
c7d4781710 Bug 841403 - Add --ion-uses-before-compile option to shell, r=jandem. 2013-02-14 10:38:02 -07:00
Brian Hackett
3a2fc8c816 Bug 824249 - Fix bustage on a CLOSED TREE 2013-02-14 09:41:36 -07:00
Brian Hackett
34786c60ff Bug 824249 - Relax use count checks when inlining functions in Ion, r=dvander. 2013-02-14 09:24:01 -07:00
Marty Rosenberg
b9b1e87f5c bug 837347: re-enable typed arrays in JM on ARM (very necessary for mandreel) (r=jbramley) 2013-02-14 10:02:00 -05:00
Brian Hackett
2571f42179 Bug 840278 - Mark the presence of sparse indexes in type information for object initializers, r=jandem. 2013-02-14 07:29:35 -07:00
Bobby Holley
0cff91747e Bug 834697 - Enable XBL scopes, and disable assertion. r=bz,me 2013-02-14 15:15:59 +01:00
Felix S. Klock II
3af2c6afc5 Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Ed Morley
623e4f4253 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
53d135515b Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Mike Hommey
a23539c17e Bug 840661 - Fix ExpandArgsMore._getFoldedSections. r=ted 2013-02-14 08:18:34 +01:00
Nicholas Nethercote
84e657b2d1 Bug 839376 (part 8) - Fix another seven rooting hazards. r=sfink.
--HG--
extra : rebase_source : 9863790dd2ad0cf043609986d046b84046527962
2013-02-13 17:24:00 -08:00
Jon Coppeard
9770fa35b9 Bug 840581 - GC: jsapitests crash with rooting analysis enabled r=terrence 2013-02-12 17:44:31 +00:00
Jon Coppeard
b291c55a71 Bug 840548 - GC: rooting hazards in the parser r=sfink 2013-02-12 17:19:05 +00:00
Jon Coppeard
21192b519e Bug 840477 - GC: Rooting hazards in the shell r=sfink 2013-02-12 17:19:03 +00:00
Ryan VanderMeulen
0e981ca346 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
2ec1828036 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
94d1dcaadf 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
22b9a13778 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
f946ae9e15 Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
9c9b132652 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
e9d5a91d21 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
5a1f2c3927 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
863479340f 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
0c51d1bac2 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
782f7024e2 Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence 2013-02-12 22:29:29 +01:00
Nicholas Cameron
e90c83b2f8 Bug 822077; specialise PushRegs for ARM using STM; r=mjrosenb
--HG--
extra : rebase_source : f5eeb006a70ed9ef09adc0382943d6c0932615dc
2013-02-03 13:40:05 +13:00
Mike Hommey
b93146bd04 Bug 837665 - Show command line and response file contents when expandlibs_exec'ed command fails. r=ted 2013-02-14 08:23:49 +01:00
Makoto Kato
8d2aa4329c Bug 834645 - move -STACK parameter to config.mk. r=ted 2013-02-14 15:22:00 +09:00
David Anderson
518d6183da Implement JSOP_CALLEE in JM (bug 794427, r=bhackett).
--HG--
extra : rebase_source : 6aa85c3434a70d93fcf409bdb4cc2baaf024896e
2013-02-13 17:24:50 -08:00
Jeff Walden
1cd84ae245 Bug 840400 - Add an IsObject helper to Utilities.js, to centralize all workarounds for |typeof| brokenness. r=Norbert 2013-02-12 09:49:18 -08:00
Daniel Holbert
64920f7e29 Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis 2013-02-13 16:27:13 -08:00
Daniel Holbert
60e0afc687 Bug 841132: Remove unused variable 'notes' from js::XDRScript(). r=njn,till 2013-02-13 16:26:02 -08:00
Bobby Holley
b340ba14ec Bug 819158 - Introduce stopAtOuter for UnwrapObjectChecked. r=mrbkap
We need to simultaneously stop marking outers as unsafe to unwrap, otherwise
we'll end up with paradoxical behavior whereby stopAtOuter=true returns null
but stopAtOuter=false returns an object. This is fine, because we're now
handling outer explicitly.
2013-02-14 01:11:32 +01:00
Ting-Yuan Huang
880124df25 Bug 715419 - Specializing Array.prototype.sort when given the comparator is "return arg1 - arg2". Patch includes some minor tweaks/comment adjustments from jwalden. r=luke, r=jwalden 2012-10-29 16:05:51 +08:00
Norbert Lindenberg
9bc59bf085 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 4). r=jwalden
--HG--
extra : rebase_source : a51e36f6ebd1a51239982177c3e7e31019a87e6b
2013-02-13 12:20:06 -08:00
Jeff Walden
8466cebe90 Bug 835551 - Add a new header consolidating non-configure-generated #defines that we require in order to build. r=ted
--HG--
extra : rebase_source : 58c101eeff26cd8060d76a60f6a9b8241b5c9cdb
2013-02-06 19:09:59 -08:00
Rico Tzschichholz
107c8bc1f2 Bug 831552 - Install all SpiderMonkey headers when |make install| happens. The ones in INSTALLED_HEADERS have additional dependencies which must be copied into place as well for the whole thing to work correctly. r=jimb, r=ted
--HG--
extra : rebase_source : c98894717ab94044e800a73f3c91dec1129e3d5f
2013-01-17 01:07:01 +01:00
Kannan Vijayan
ab16b7d3b6 Bug 840162 - Fix loadValue/storeValue with BaseIndex arguments. r=mjrosenb 2013-02-13 16:11:21 -05:00
Kannan Vijayan
c4ead28b17 Bug 840162 - Fix toggled call branch tracing on ARM. r=mjrosenb 2013-02-13 14:38:24 -05:00
Terrence Cole
73758e7baa Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke 2013-02-12 17:48:10 -08:00
Terrence Cole
a47b673796 Back out changeset 0d285589f47a (Bug 839673) - Broken Merge 2013-02-13 11:04:25 -08:00
Terrence Cole
b31a322526 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
--HG--
extra : rebase_source : 8880f66b823b58b8d723fbf2bca4848cc1173ce9
2013-02-12 17:48:10 -08:00
Till Schneidereit
22ae6134ff Bug 679940 - Share bytecode, source notes and atoms of functions in a runtime wherever possible. r=bhackett
--HG--
extra : rebase_source : 1518f7830a5640a2216c2d828859b8660d3fff60
2013-02-02 00:02:08 +01:00
Jim Blandy
f32a41d7c9 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
a2d95150b3 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
e49b79325e 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
e53042d665 Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb 2013-02-12 13:21:48 -05:00
Andrew McCreight
0694a9d260 Bug 784730 - Add missing comment. r=bholley DONTBUILD 2013-02-12 09:46:34 -08:00
Terrence Cole
72bdf543e1 Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo 2013-02-05 14:22:27 -08:00
Ed Morley
eb46e572da Merge mozilla-central to mozilla-inbound 2013-02-12 14:57:45 +00:00
Ed Morley
6735c60a03 Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ms2ger
74cd2ae5e4 Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff 2013-02-12 11:14:01 +01:00
Nicholas Nethercote
7e89fc2121 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
b9967ecbd5 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
5ac8600a70 Bug 840339 - Include inlined JSScript definitions to fix warnings. r=dholbert 2013-02-11 18:08:21 -08:00