Nicholas D. Matsakis
d6b722e0fb
Bug 842723 - Remove incorrect inlines.h include r=dvander
2013-02-19 09:18:43 -05:00
Phil Ringnalda
7529e0b16b
Back out 4d301b2bcad0:e0632e639097 (bug 836301) for Windows build bustage
...
CLOSED TREE
2013-02-22 08:41:37 -08:00
Brian Hackett
340aa3c8b1
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
510ba5b448
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
bdcb37109c
Bug 836301 - Hoist enter() calls from {Xray,}Wrapper::foo into Proxy::foo. r=mrbkap
2013-02-22 08:14:34 -08:00
Bobby Holley
2c74bb15cf
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
428bacbd55
Bug 836301 - Hoist enter() into BaseProxyHandler. r=mrbkap
2013-02-22 08:14:33 -08:00
Bobby Holley
0418ad061b
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
f27050fcfb
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
3e3a4e08c3
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
79dd453af9
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
4f504ff426
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
9462fcb184
Bug 843231 - Compute whether to use an XBL scope exactly once. r=bz
2013-02-22 07:56:03 -08:00
Bobby Holley
863901e6cd
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
35df7de8e1
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
d131fb1949
No bug: IonMonkey: Improve debugging spew, r=evilpie
2013-02-21 16:09:39 +01:00
Hannes Verschore
1368cd4884
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
7b4eae0612
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
3a7fc27a9c
Bug 842424 - Remove assertion.
2013-02-21 07:02:41 -07:00
Brian Hackett
79c242d45e
Bug 743394 - Ion compile JSOP_EVAL, r=jandem.
2013-02-21 06:56:54 -07:00
Brian Hackett
477e909b9d
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
43253beb47
Bug 842424 - Add missing newKind, r=terrence.
2013-02-21 06:46:46 -07:00
Brian Hackett
aaff83af89
Bug 842305 - Don't try to cleanup values in global frames.
2013-02-21 06:02:45 -07:00
Brian Hackett
0374fe6458
Bug 842305 - Watch for null payloads flowing into Ion, r=jandem.
2013-02-21 05:38:44 -07:00
Brian Hackett
e269e4b2aa
Bug 841367 - Check for suppressed GC before verifying barriers, fix OOM crash, r=billm.
2013-02-21 05:26:57 -07:00
Chuck Lee
3bb80e66a1
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
ff74fa1c7c
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
8d5a87bac8
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
9eba6cb516
Bug 842192 - Self-host Array.map. r=jorendorff
2013-02-19 21:36:37 +01:00
Benjamin Peterson
6c9cb2b56d
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
c8ce3140c7
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
0de65d896a
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
b17c86c836
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
8e8ec2a116
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
f54d765736
Bug 568953 - Parser support for module declarations; r=jorendorff
2013-02-20 20:49:41 +01:00
Eddy Bruel
18862b2df8
Bug 568953 - Refactor FunctionNode; r=jorendorff
2013-02-20 20:15:15 +01:00
Ryan VanderMeulen
ce761bdc9d
Merge m-c to inbound.
2013-02-20 12:52:59 -05:00
Gregory Szorc
a9616cce11
Backout 4682ed369545 (bug 841713) for reftest make target bustage
...
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00
Benjamin Smedberg
98326b9c16
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
c945fc05f1
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
787467a938
Bug 841713 - Add objdir paths to virtualenv; r=ted
2013-02-19 15:23:21 -08:00
Eddy Bruel
b645cb8c05
CLOSED TREE. (Bug 568593) Backed out changeset e0aa698192b7
2013-02-19 23:51:40 +01:00
Eddy Bruel
f21fcc86b9
Bug 568953 - Refactor FunctionNode; r=jorendorff
2013-02-19 23:06:14 +01:00
Luke Wagner
b233d5c3ea
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
bce0a6fdc3
Fix a bug in typed array speculation (bug 841462, r=jandem).
2013-02-19 13:23:29 -08:00
Gavin Sharp
f7d3d91a63
Bug 841359 - Always log error originating from windows with chrome principals. r=bz
2013-02-16 17:01:59 -08:00
Ryan VanderMeulen
b59ad2d831
Merge m-c to inbound.
2013-02-19 12:46:19 -05:00
Lukas Blakk
96a4d23df2
Merging in version bump NO BUG CLOSED TREE
2013-02-19 09:35:19 -08:00
Eddy Bruel
91f2effc81
Bug 568593 - Refactor ModuleBox; r=jorendorff
2013-02-19 16:43:42 +01:00
Eddy Bruel
f082919185
Bug 757188 - Refactor FlowGraphSummary; r=jorendorff
2013-02-19 16:05:15 +01:00
Hannes Verschore
0ea4bcce63
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
5b201e8b6f
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
934ee65385
Bug 840696 part 2 - Add typed array support to GetElem ICs. r=dvander
2013-02-18 22:15:30 -08:00
Nicolas B. Pierron
69deea834b
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
e4d4c659d7
Bug 814823 - Clean-up Ion cache mechanism. r=dvander
2013-02-18 21:29:55 -08:00
Hannes Verschore
cd8dd057b0
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
60b0525214
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
71614f79e4
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
e271b976c7
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
df72b4070f
Bug 841356 - GC: Some minor rooting fixes r=sfink
2013-02-15 17:54:01 +00:00
Landry Breuil
5f2a0e8a19
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
adf4ce2388
Bug 834165 - Implement BlobEvent. r=smaug
...
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
143b119b96
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
e5acb9f3e7
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
7eb2fee062
Bug 508061 - INITELEM behavior differs with -j. rs=Ms2ger
2013-02-17 22:25:07 +01:00
Jim Blandy
0387bb63a2
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
42d5f82914
Bug 840689: JS GDB support: Don't confuse typedefs with concrete types. r=sfink
2013-02-15 21:27:44 -08:00
Boris Zbarsky
0880803e2f
Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending
2013-02-15 22:41:31 -05:00
Luke Wagner
3825531912
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
99b043d50d
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
b8ccef0bfd
Bug 842730 - Remove nsIJSNativeInitializer from nsXMLHttpRequest. r=sicking
2013-02-20 20:54:19 +09:00
Brian Hackett
a91b61f55c
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
3113c97bdd
Bug 840696 part 4 - Avoid boxing the index for GetElement ICs. r=dvander
2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
9b61cda09a
Bug 840696 part 3 - Specialize the return type of GetElem ICs. r=dvander
2013-02-20 00:49:56 -08:00
Nicolas B. Pierron
4617b0f1e7
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
b01ce5597c
Bug 814823 - Clean-up Ion cache mechanism. r=dvander
2013-02-20 00:49:55 -08:00
Nicolas B. Pierron
c8cfe015cf
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
fa3323d7f6
bug 746277: replace hg commands with functions
2013-02-15 17:00:12 -05:00
Till Schneidereit
45adfb6a5a
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
653b0a892c
Bug 684384 - Ion-compile break-to-labeled-scope. r=dvander
2013-02-15 14:52:29 +01:00
Nicholas Nethercote
314deff263
Bug 838014 (follow-up) - Bustage fix for 19857f43d44b on a CLOSED TREE. r=me.
2013-02-14 21:16:04 -08:00
Nicholas Nethercote
8289f97ec6
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
a8bee749c4
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
a3a8daff7a
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
02bd075401
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
24b24b5cdf
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
67a647ce1c
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
a7c0b97935
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
22e7b59e28
Bug 841549 - Fix sizeOfIncludingThis() during compression. r=njn
2013-02-14 23:25:17 -05:00
Bill McCloskey
53986fdda7
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
0cfd8fcabb
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
8080e238c0
Bug 838557 - Create a common interface for ASan/Valgrind functions. r=mats,bhackett
2013-02-15 00:50:11 +01:00
Kannan Vijayan
2c32a2ae98
Bug 841499 - Allow calling SetObjectElementOperation with explicit script and pc arguments. r=jimb
2013-02-14 18:27:49 -05:00
Terrence Cole
737a3362d2
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
1616604a27
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
842b00101e
Bug 840809 (part 2) - Measure RegExpCompartment::inUse_. r=sstangl.
...
--HG--
extra : rebase_source : 6eb3e6d42f0dd09eb62ffc887b0e6243de2f7202
2013-02-14 11:11:46 -08:00
Nicholas Nethercote
59c79bf4e2
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
f379a0f654
Bug 841403 - Add --ion-uses-before-compile option to shell, r=jandem.
2013-02-14 10:38:02 -07:00
Brian Hackett
9f193ec81d
Bug 824249 - Fix bustage on a CLOSED TREE
2013-02-14 09:41:36 -07:00
Brian Hackett
8841ef589e
Bug 824249 - Relax use count checks when inlining functions in Ion, r=dvander.
2013-02-14 09:24:01 -07:00
Marty Rosenberg
2be862d0ce
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
fe33c0763d
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
a56a907e29
Bug 834697 - Enable XBL scopes, and disable assertion. r=bz,me
2013-02-14 15:15:59 +01:00
Felix S. Klock II
9283a8f0e6
Bug 840512 - Generalize toolchain.m4 to match newer Apple clang version string. r=glandium
2013-02-13 11:24:09 +01:00
Ed Morley
9468e105e3
Merge mozilla-central to mozilla-inbound
2013-02-14 11:09:15 +00:00
Ed Morley
601b6ce42a
Merge latest green inbound changeset to mozilla-central
2013-02-14 10:44:41 +00:00
Mike Hommey
8218e2be3d
Bug 840661 - Fix ExpandArgsMore._getFoldedSections. r=ted
2013-02-14 08:18:34 +01:00
Nicholas Nethercote
461947a901
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
756294f525
Bug 840581 - GC: jsapitests crash with rooting analysis enabled r=terrence
2013-02-12 17:44:31 +00:00
Jon Coppeard
1140248ebb
Bug 840548 - GC: rooting hazards in the parser r=sfink
2013-02-12 17:19:05 +00:00
Jon Coppeard
37a52d8054
Bug 840477 - GC: Rooting hazards in the shell r=sfink
2013-02-12 17:19:03 +00:00
Ryan VanderMeulen
141f9389ce
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
fbab3745b6
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
18be94e5a9
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
d61924d4cc
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
17eaab9c51
Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
bb7512a1cd
Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap
2013-02-13 00:22:27 +01:00
Bobby Holley
00465dba63
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
8a446dd113
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
fbadb5c010
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
c1fe1f03be
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
2a67cb19b7
Bug 840611: Fix build on BE archs (ie ppc) after bug 834242. r=terrence
2013-02-12 22:29:29 +01:00
Nicholas Cameron
9792de05d5
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
26410382c6
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
d53fd4d9d0
Bug 834645 - move -STACK parameter to config.mk. r=ted
2013-02-14 15:22:00 +09:00
David Anderson
bcbf26128c
Implement JSOP_CALLEE in JM (bug 794427, r=bhackett).
...
--HG--
extra : rebase_source : 6aa85c3434a70d93fcf409bdb4cc2baaf024896e
2013-02-13 17:24:50 -08:00
Jeff Walden
0f8356be9f
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
6715823ce6
Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis
2013-02-13 16:27:13 -08:00
Daniel Holbert
1d1f3d16d5
Bug 841132: Remove unused variable 'notes' from js::XDRScript(). r=njn,till
2013-02-13 16:26:02 -08:00
Bobby Holley
424b997531
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
1fde28f321
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
a6cc82755a
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
5a947aca57
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
dd565346db
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
76146d4a63
Bug 840162 - Fix loadValue/storeValue with BaseIndex arguments. r=mjrosenb
2013-02-13 16:11:21 -05:00
Kannan Vijayan
d8a85e60fa
Bug 840162 - Fix toggled call branch tracing on ARM. r=mjrosenb
2013-02-13 14:38:24 -05:00
Terrence Cole
0d9b56a753
Bug 839673 - Do not access the ArenaHeader of already-finalized GCThings; r=luke
2013-02-12 17:48:10 -08:00
Terrence Cole
21e9690848
Back out changeset 0d285589f47a (Bug 839673) - Broken Merge
2013-02-13 11:04:25 -08:00
Terrence Cole
e344448996
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
aaaa38004a
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
df2818344b
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
30fa5dfcaa
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
b34103932c
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
27f2bf4374
Bug 840162 - Add subPtr for registers to ARM masm. r=mjrosenb
2013-02-12 13:21:48 -05:00
Andrew McCreight
0d610e97de
Bug 784730 - Add missing comment. r=bholley DONTBUILD
2013-02-12 09:46:34 -08:00
Terrence Cole
b4b207561d
Bug 837845 - Manually backout the largest memory users from bug 798624; r=Waldo
2013-02-05 14:22:27 -08:00
Ed Morley
d561628a63
Merge mozilla-central to mozilla-inbound
2013-02-12 14:57:45 +00:00
Ed Morley
6838b640f5
Merge latest green inbound changeset to mozilla-central
2013-02-12 14:43:06 +00:00
Ms2ger
8eb9c85444
Bug 837176 - Simplify code flow in CheckSideEffects; r=jorendorff
2013-02-12 11:14:01 +01:00
Nicholas Nethercote
c0bafe9236
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