Commit Graph

24652 Commits

Author SHA1 Message Date
Brian Hackett
bf696262ab Bug 843937 - Specialize on eval(name + "()"), r=jandem. 2013-02-22 17:01:23 -07:00
Brian Hackett
cecb8d89e3 Bug 843875 - Don't use converted value for result of array assigns that require double conversion, r=jandem. 2013-02-22 16:58:31 -07:00
David Anderson
72ea6ca837 Revert previous change to YARR (bug 824856, r=sstangl). 2013-02-21 14:52:20 -08:00
Ryan VanderMeulen
298dff9e7a Merge m-c to inbound. 2013-02-22 12:45:21 -05:00
Ryan VanderMeulen
dc58f5de55 Merge the last PGO-green inbound changeset to m-c. 2013-02-22 12:42:58 -05:00
Gregory Szorc
203a04d17e Merge mozilla-central into build-system 2013-02-22 08:15:12 -08:00
Gregory Szorc
3086699a36 Bug 784841 - Part 13: Properly normalize topsrcdir in config.status; r=glandium 2013-02-21 10:55:55 -08:00
Chuck Lee
e329997fd6 Bug 835719 - 0003. Rename JSAutoByteString.encode() to encodeLatin1(). r=terrence 2013-02-21 17:48:17 +08:00
Chuck Lee
198c348330 Bug 835719 - 0001. Support encode string to UTF-8 byte array. r=terrence 2013-02-22 10:58:52 +08:00
Jonathan Kew
5219b8ae03 backout cset 4ede352670cd (bug 759585) on a CLOSED TREE on suspicion of making windows reftests so slow that they timeout and burn 2013-02-22 09:36:41 +00:00
Bill McCloskey
bbc0638161 Bug 816033 - Disable ecma_5/extensions/JSON-string-replacer-overflow.js on Windows debug builds 2013-02-21 21:54:35 -08:00
Nicholas Nethercote
7bcdd779d0 Bug 842419 (part 8) - Reduce the arity of SRC_CATCH from 1 to 0. r=jorendorff.
--HG--
extra : rebase_source : 25b167dbbe39c673b9b7b66ef09b2d33e923c2a7
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
5fc341c874 Bug 842419 (part 7) - Split SRC_SWITCH in two. r=jorendorff.
--HG--
extra : rebase_source : c91557416354c9d8003ce9f1b481c09d7eca867b
2013-02-20 17:42:22 -08:00
Nicholas Nethercote
cae8df76c2 Bug 842419 (part 6) - Reduce the arity of three loop-related srcnotes, and remove another. r=jorendorff.
--HG--
extra : rebase_source : 1bd7092dd1bd116752c2817844e7351448b91d4d
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
15fd3e3d12 Bug 842419 (part 5) - Reduce the arity of SRC_IF_ELSE from 2 to 1. r=jorendorff.
--HG--
extra : rebase_source : f892b0ca7e18f48332156f6c541a3bc6696b7332
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
04adad35a5 Bug 842419 (part 4) - Clean up srcnote constants and js_SrcNoteSpec. r=jorendorff.
--HG--
extra : rebase_source : 2340657e4bdd1a0c47151ffdc0b6ad55f6b99792
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
bbaa114131 Bug 842419 (part 3) - Remove dead JOF_* constants, and kill off JSOP_BACKPATCH_POP. r=jorendorff.
--HG--
extra : rebase_source : 5b478653eee7113cf8a5c7574febbaabf63a7d70
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
dc67ecb627 Bug 842419 (part 2) - Remove unnecessary SRC_CONTINUE notes, and kill off PNX_ENDCOMMA. r=jorendorff.
--HG--
extra : rebase_source : bd8c6665824d428aa7a01ff2d77ae872abaac282
2013-02-20 17:42:21 -08:00
Nicholas Nethercote
60cfd7d91a Bug 842419 (part 1) - Remove unnecessary JSOp arg from EmitBackPatchOp(). r=jorendorff.
--HG--
extra : rebase_source : 1066edf46cc5c34cd79a9b021b0e5cd36dfd2403
2013-02-20 17:42:21 -08:00
Bill McCloskey
c330d96d13 Bug 759585 - Change the granularity of collection from compartment to zone (r=jonco,bhackett,njn,dvander,mccr8,bz,luke,bholley) 2013-02-21 18:23:47 -08:00
Phil Ringnalda
f4baf01ffc Back out b831500ca4be (bug 837714) for bustage
CLOSED TREE
2013-02-21 14:26:04 -08:00
Nicolas B. Pierron
43bfa7c9eb Bug 796114 - Inline with type-checked arguments. r=h4writer 2013-02-21 14:04:49 -08:00
David Anderson
9ac1a2b54c Prevent GC from occuring during IC linking (bug 837714, r=bhackett). 2013-02-21 13:52:09 -08:00
Bobby Holley
dd7512ef63 Bug 842940 - Remove another instance of cx->isExceptionPending(). r=jorendorff 2013-02-21 13:32:14 -08:00
Bobby Holley
f1af2a1a1a Bug 842940 - Don't squelch exceptions in Proxy::get. r=jorendorff 2013-02-21 13:32:13 -08:00
Nicholas D. Matsakis
bedf9bc6a2 Bug 842723 - Remove incorrect inlines.h include r=dvander 2013-02-19 09:18:43 -05:00
Phil Ringnalda
f3f16b4069 Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
8a81455c46 Bug 844048 - Track uses of 'var arguments' within eval scripts, always make arguments objects for generators, r=luke. 2013-02-22 09:29:28 -07:00
Bobby Holley
c1bc13e0dd Bug 836301 - Hoist some assertions, remove a bunch of no-op trap overrides, and add assertions that we've entered our policy. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
1b08378825 Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap 2013-02-22 08:14:34 -08:00
Bobby Holley
c9d462848e Bug 836301 - Introduce an RAII class for entering policies. r=mrbkap
This will allow us to make some hard assertions that a given policy has been
entered exactly once.
2013-02-22 08:14:33 -08:00
Bobby Holley
6fd640a029 Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
6599e1d10f Bug 836301 - Add tracking for whether we have a non-trivial enter() trap. r=mrbkap
This will allow us to skip the virtual function call for non-security-wrapper
proxies, which are the cases where we care most about performance.
2013-02-22 08:14:33 -08:00
Bobby Holley
ad7ec801bd Bug 836301 - Stop enter()ing with CALL for nativeCall. r=mrbkap
This is kind of nonsensical, because CALL means "the wrapped object is being
called", whereas nativeCall means "the wrapped object is being unwrapped to
have a JSNative invoked on it", which are two very different things.

We _could_ add a NATIVECALL enter() trap, but our current policy enforcement
around nativeCall involves overriding the trap itself, so we wouldn't use it
for anything. So let's just get rid of it.
2013-02-22 08:14:33 -08:00
Bobby Holley
bc476a22e1 Bug 836301 - Add Special handling to allow us to call enter() for defineProperty on Xrays. r=mrbkap 2013-02-22 08:14:33 -08:00
Bobby Holley
31e8680c22 Bug 836301 - Stop using JSRESOLVE_ASSIGNING to determine GET vs SET. r=mrbkap
This is just a heuristic, anyway, and some of the usage is downright broken.
There are two cases here:

1 - Deciding what to do for get{Own,}PropertyDescriptor. In these cases, we can
just enter with GET and rely on the filtering machinery to filter out dangerous
setters for security wrappers.

2 - Custom Xray props. None of these make sense in a |set| context. In fact,
    they generally have null setters anyway, so we can just assume GET.

The policy-entering code in XrayWrapper is super haphazard. We'll get rid of it
entirely later in these patches.
2013-02-22 08:14:32 -08:00
Bobby Holley
93807eff69 Bug 836301 - Assert against JSID_VOID in JSID wrapping. r=mrbkap
Luke explained to me that it should never get there.
2013-02-22 08:14:32 -08:00
Bobby Holley
722e4eafbb Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz 2013-02-22 07:56:03 -08:00
Bobby Holley
dbc130d113 Bug 843231 - Remove SetGlobal. r=bz
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
2013-02-22 07:56:03 -08:00
Bobby Holley
0352ac2f47 Bug 843231 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. r=bz
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
2013-02-22 07:56:02 -08:00
Hannes Verschore
a599450082 No bug: IonMonkey: Improve debugging spew, r=evilpie 2013-02-21 16:09:39 +01:00
Hannes Verschore
7d603bce3b Bug 843038: IonMonkey: Correct the definition of when an instruction is part of the loop, r=jandem 2013-02-21 15:56:49 +01:00
Hannes Verschore
8ae37d343f Bug 843518: IonMonkey: Run alias analysis when UCE removes dependency of an instruction, r=nmatsakis 2013-02-21 15:56:43 +01:00
Brian Hackett
b2370052db Bug 842424 - Remove assertion. 2013-02-21 07:02:41 -07:00
Brian Hackett
39be382442 Bug 743394 - Ion compile JSOP_EVAL, r=jandem. 2013-02-21 06:56:54 -07:00
Brian Hackett
f2ca6604a4 Bug 842425 - Watch for arrays that need elements converted to doubles when pushing elements, r=jandem. 2013-02-21 06:54:16 -07:00
Brian Hackett
22b027840c Bug 842424 - Add missing newKind, r=terrence. 2013-02-21 06:46:46 -07:00
Brian Hackett
d2234e4a36 Bug 842305 - Don't try to cleanup values in global frames. 2013-02-21 06:02:45 -07:00
Brian Hackett
e2794b4ee2 Bug 842305 - Watch for null payloads flowing into Ion, r=jandem. 2013-02-21 05:38:44 -07:00
Brian Hackett
08c8c1fa4d Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm. 2013-02-21 05:26:57 -07:00
Chuck Lee
ad8cb3fb02 Bug 828782 - 0002. Add new readString function for ctypes to use new inflate function. r=terrence 2013-02-20 11:20:56 +08:00
Chuck Lee
b5c62bbe77 Bug 828782 - 0001. Add inflate function for replacing invalid byte while decoding UTF-8 character. r=terrence 2013-02-20 11:20:54 +08:00
Jon Coppeard
ec46a9f3a3 Bug 843626 GC: Rooting analysis failures in parallel array jittests r=terrence
--HG--
extra : rebase_source : a671dd445040312bdd464555f18844c993357129
2013-02-21 15:50:50 +00:00
Till Schneidereit
46048fb061 Bug 842192 - Self-host Array.map. r=jorendorff 2013-02-19 21:36:37 +01:00
Benjamin Peterson
26c929722f Bug 842884 - Don't do array assignment optimizations when spread is involved. r=jorendorff
--HG--
extra : rebase_source : 70554fd3db325b39319199afbb6101bb6701846d
2013-02-20 14:48:59 -05:00
Nicholas D. Matsakis
55eba7043d Bug 842729 - Repair merge failures from bug 807853 in TypeOracle and MCallOptimize r=bhackett 2013-02-19 08:30:25 -05:00
Peter Van der Beken
953cadf9c4 Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz.
--HG--
extra : rebase_source : f48e0ded2374d84b89d585309309b1a42a95d868
2013-01-22 11:53:13 +01:00
Peter Van der Beken
c485f6afee Fix for bug 825628 (Implement NamedConstructor) - add codegen support for NamedConstructor. r=bz.
--HG--
extra : rebase_source : 8393995dca6f65cb49512874c1916ee745436638
2013-01-22 11:51:15 +01:00
Nicholas D. Matsakis
54a0e8fefd Bug 842745 - Modify timer in JS shell function to take an arbitrary JS function. r=dvander 2013-02-19 09:23:31 -05:00
Eddy Bruel
9d304409ab Bug 568953 - Parser support for module declarations; r=jorendorff 2013-02-20 20:49:41 +01:00
Eddy Bruel
79f329cefb Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
4fe28c9eb1 Merge m-c to inbound. 2013-02-20 12:52:59 -05:00
Gregory Szorc
6c3fa08eab Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
4f2e9aac20 Bug 791244 - Make the hangprocessor pref dependent on RELEASE_BUILD since deploying multidump hasn't happened yet, r=heycam
--HG--
extra : rebase_source : 145a4fd0f9cecc8835c56389c2403f8c15c97489
2013-02-20 10:52:16 -05:00
Daniel Holbert
0f13d53727 Bug 842886: Initialize & compare size_t variables to SIZE_MAX instead of -1 in Debugger.cpp. r=ejpbruel 2013-02-19 23:20:14 -08:00
Gregory Szorc
e689d22f2b Bug 841713 - Add objdir paths to virtualenv; r=ted 2013-02-19 15:23:21 -08:00
Eddy Bruel
2c3a35771d CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7 2013-02-19 23:51:40 +01:00
Eddy Bruel
5c5c324d7d Bug 568953 - Refactor FunctionNode; r=jorendorff 2013-02-19 23:06:14 +01:00
Luke Wagner
56936d2740 Bug 842411 - Fire operation callback before time is up so we can test the non-aborting case (r=terrence)
--HG--
extra : rebase_source : 9f23aa8fc1be361f55b2db3943d20d510730fb7a
2013-02-19 13:17:39 -08:00
David Anderson
6eb14a7f48 Fix a bug in typed array speculation (bug 841462, r=jandem). 2013-02-19 13:23:29 -08:00
Gavin Sharp
d8ddb05fec Bug 841359 - Always log error originating from windows with chrome principals. r=bz 2013-02-16 17:01:59 -08:00
Ryan VanderMeulen
9af6f0a1e3 Merge m-c to inbound. 2013-02-19 12:46:19 -05:00
Lukas Blakk
6f45ecd5cc Merging in version bump NO BUG CLOSED TREE 2013-02-19 09:35:19 -08:00
Eddy Bruel
aa3bf568b0 Bug 568593 - Refactor ModuleBox; r=jorendorff 2013-02-19 16:43:42 +01:00
Eddy Bruel
24695b4e50 Bug 757188 - Refactor FlowGraphSummary; r=jorendorff 2013-02-19 16:05:15 +01:00
Hannes Verschore
3f239a47f0 Bug 836274: Disable funapply inlining when typeset of callee is tighter than caller, r=nbp 2013-02-19 11:33:42 +01:00
Phil Ringnalda
f1edd2957f Back out 3de5ec9de48a:7a1ecef13ae9 (bug 840696) and 62fa6ee0a279 (bug 814823) for Android bustage
CLOSED TREE
2013-02-18 23:15:27 -08:00
Nicolas B. Pierron
3ab2c1ec44 Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander 2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
de9ec49d78 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
6aef5f39cd Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-18 21:29:55 -08:00
Hannes Verschore
eedbc2ed1e 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
8dfd16908c 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
8f44285b2e 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
b4c284022a 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
caba81f473 Bug 841356 - GC: Some minor rooting fixes r=sfink 2013-02-15 17:54:01 +00:00
Landry Breuil
70e82e413a 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
2887f23f47 Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
c0b261e3e4 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
1aeef44327 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
52c5e5ea7d Bug 508061 - INITELEM behavior differs with -j. rs=Ms2ger 2013-02-17 22:25:07 +01:00
Jim Blandy
913be66ecc 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
1fe8515306 Bug 840689: JS GDB support: Don't confuse typedefs with concrete types. r=sfink 2013-02-15 21:27:44 -08:00
Boris Zbarsky
7403aaff3d Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Luke Wagner
6dedd3a739 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
bb3bcff1e0 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
e28c9f3dcd Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking 2013-02-20 20:54:19 +09:00
Brian Hackett
a73f906e94 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
b7d8d77393 Bug 840696 part 4 - Avoid boxing the index for GetElement ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
968d133fdf Bug 840696 part 3 - Specialize the return type of GetElem ICs. r=dvander 2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
8e37d7ec25 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
ce8b68e312 Bug 814823 - Clean-up Ion cache mechanism. r=dvander 2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
f190618dad 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
f41e1b40f8 bug 746277: replace hg commands with functions 2013-02-15 17:00:12 -05:00
Till Schneidereit
a8257839dd 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
b6b10114d3 Bug 684384 - Ion-compile break-to-labeled-scope. r=dvander 2013-02-15 14:52:29 +01:00
Nicholas Nethercote
f749c4e8a6 Bug 838014 (follow-up) - Bustage fix for 19857f43d44b on a CLOSED TREE. r=me. 2013-02-14 21:16:04 -08:00
Nicholas Nethercote
544aa6ceec 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
231eada73a 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
eedf999d1f 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
88cafb4899 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
0cdb904fae 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
90debf9603 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
bceaf59849 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
8af073e21e Bug 841549 - Fix sizeOfIncludingThis() during compression. r=njn 2013-02-14 23:25:17 -05:00
Bill McCloskey
21c15bea2b 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
6da44d6bef 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
2f0c5d33a1 Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett 2013-02-15 00:50:11 +01:00
Kannan Vijayan
59ac0260e5 Bug 841499 - Allow calling SetObjectElementOperation with explicit script and pc arguments. r=jimb 2013-02-14 18:27:49 -05:00
Terrence Cole
949204faef 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
a866661b90 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
7126c6f594 Bug 840809 (part 2) - Measure RegExpCompartment::inUse_. r=sstangl.
--HG--
extra : rebase_source : 6eb3e6d42f0dd09eb62ffc887b0e6243de2f7202
2013-02-14 11:11:46 -08:00
Nicholas Nethercote
9fe308c74c 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
1737d24e50 Bug 841403 - Add --ion-uses-before-compile option to shell, r=jandem. 2013-02-14 10:38:02 -07:00
Brian Hackett
9f493e0af5 Bug 824249 - Fix bustage on a CLOSED TREE 2013-02-14 09:41:36 -07:00
Brian Hackett
10c5e796d4 Bug 824249 - Relax use count checks when inlining functions in Ion, r=dvander. 2013-02-14 09:24:01 -07:00
Marty Rosenberg
b4f4c6e727 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
6224889f8d 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
649c8cee47 Bug 834697 - Enable XBL scopes, and disable assertion. r=bz,me 2013-02-14 15:15:59 +01:00
Felix S. Klock II
77a41a0eec Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium 2013-02-13 11:24:09 +01:00
Ed Morley
990b056b39 Merge mozilla-central to mozilla-inbound 2013-02-14 11:09:15 +00:00
Ed Morley
47e1a3a3ef Merge latest green inbound changeset to mozilla-central 2013-02-14 10:44:41 +00:00
Mike Hommey
ce55bd14c1 Bug 840661 - Fix ExpandArgsMore._getFoldedSections. r=ted 2013-02-14 08:18:34 +01:00
Nicholas Nethercote
97612a4e65 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
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
Nicholas Cameron
2bdf68befb 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
72468a135b 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
eeac5d0163 Bug 834645 - move -STACK parameter to config.mk. r=ted 2013-02-14 15:22:00 +09:00
David Anderson
6e0f5a4a6d Implement JSOP_CALLEE in JM (bug 794427, r=bhackett).
--HG--
extra : rebase_source : 6aa85c3434a70d93fcf409bdb4cc2baaf024896e
2013-02-13 17:24:50 -08:00
Jeff Walden
dbc64fc28b 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
8eedf0e951 Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis 2013-02-13 16:27:13 -08:00
Daniel Holbert
3a0028390d Bug 841132: Remove unused variable 'notes' from js::XDRScript(). r=njn,till 2013-02-13 16:26:02 -08:00
Bobby Holley
8f7e048c1d 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
70bbd3a0c5 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
fd061cf017 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
ccc99791eb 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
420d55c0e7 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
d4c56c9e71 Bug 840162 - Fix loadValue/storeValue with BaseIndex arguments. r=mjrosenb 2013-02-13 16:11:21 -05:00
Kannan Vijayan
a0b4001cd0 Bug 840162 - Fix toggled call branch tracing on ARM. r=mjrosenb 2013-02-13 14:38:24 -05:00
Terrence Cole
b463fd6507 Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke 2013-02-12 17:48:10 -08:00
Terrence Cole
ae3a10829b Back out changeset 0d285589f47a (Bug 839673) - Broken Merge 2013-02-13 11:04:25 -08:00
Terrence Cole
884dec5816 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
9e993e5cc6 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
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