Commit Graph

38760 Commits

Author SHA1 Message Date
Brian Hackett
0f8f4f21c5 Bug 1138199. r=billm 2015-03-08 22:10:01 -04:00
Phil Ringnalda
aafe5c8706 Merge m-c to m-i 2015-03-07 19:39:49 -08:00
Phil Ringnalda
12408373d5 Merge f-t to m-c, a=merge 2015-03-07 19:38:53 -08:00
Paolo Amadini
70e5ec26ad Bug 1140435 - Part 2 - Allow JS code to provide an async stack when calling a function. r=bz 2015-03-07 13:30:34 +00:00
Brian Hackett
da177f4bdd Bug 1138912 - Watch for MNewObject instructions without a template object when recovering, r=jandem. 2015-03-07 17:11:02 -06:00
Brian Hackett
3518a2cac1 Bug 1139474 - Watch for unboxed object properties when attaching Ion SETPROP ICs, r=jandem. 2015-03-07 17:05:21 -06:00
Ryan VanderMeulen
9df25bfc88 Merge inbound to m-c. a=merge
CLOSED TREE
2015-03-06 16:18:04 -05:00
Paolo Amadini
b86edfa586 Bug 1083359 - Part 2 - Allow C++ code to provide an async stack when calling a JS function. r=jimb 2015-03-06 15:50:28 +00:00
Jason Orendorff
e90961650b Fix JSErr_Limit, broken by rev 41df9affe00f. No bug, r=red. 2015-03-06 20:24:39 -06:00
Boris Zbarsky
51deb3a194 Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo 2015-03-06 16:33:31 -05:00
Boris Zbarsky
a94ca36434 Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv 2015-03-06 16:33:31 -05:00
Boris Zbarsky
50c7447b70 Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence 2015-03-06 16:33:30 -05:00
Benjamin Bouvier
0cc342bdc7 Bug 1140336: Remove init() method in VMFunction (and dubious assert); r=h4writer 2015-03-06 11:19:45 +01:00
Jon Coppeard
623227aaec Bug 1139832 - Restrict compacting GC zealousness to zeal collections r=terrence 2015-03-06 10:19:07 +00:00
Jon Coppeard
dc04a20f73 Bug 1138874 - Generalise assertion that source object has a preserved wrapper r=bholley 2015-03-06 10:19:07 +00:00
Boris Zbarsky
458e969f4e Bug 1139964 part 1. Factor out the guts of BackstagePass::Resolve and BackstagePass::Enumerate to allow reuse for other globals that want to opt in to Exposed=System WebIDL annotations. r=smaug 2015-03-06 01:08:06 -05:00
Paolo Amadini
861e0237ae Bug 1083359 - Part 1 - Add the asyncCause and asyncParent properties to the native SavedFrame object. r=jimb 2015-02-21 11:56:00 +00:00
Brian Hackett
bec8e1f9a5 Bug 1138740 - Notify Ion when changing a typed array's data pointer due to making a lazy buffer for it, r=sfink. 2015-03-07 09:46:27 -06:00
Jason Orendorff
e218a3988f Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-05 16:36:50 -06:00
Jason Orendorff
3322381e4f Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-04 12:01:01 -06:00
Jason Orendorff
d1204e0adb Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-04 10:20:04 -06:00
Jason Orendorff
e065e5cceb Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect. 2015-02-03 19:51:40 -06:00
Jason Orendorff
f43c96af4d Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.
2015-01-30 11:37:07 -06:00
Jason Orendorff
143ed465ec Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo. 2015-01-29 23:02:26 -06:00
Jason Orendorff
de1c1c9fb9 Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo. 2015-02-18 18:49:17 -06:00
Jason Orendorff
d7beadeba1 Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").
2015-02-02 17:06:47 -06:00
Jason Orendorff
1c7d0cb2b3 Bug 1138059 - Tweak XPCOMUtils.defineLazyGetter behavior to avoid weird behavior in weird cases. r=mak. 2015-02-28 09:17:43 -06:00
Jason Orendorff
155abd81e7 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust. 2015-01-30 13:56:15 -06:00
Shu-yu Guo
6882fefbde Bug 1140180 - Stop leaking TypeLists when tracking optimizations. (r=djvj) 2015-03-06 17:58:26 -08:00
Jeff Walden
4250c0166a Bug 1140196. r=jorendorff 2015-03-05 18:03:56 -08:00
L. David Baron
6d3ce826c6 Back out bug 1131802 (changesets 80e90f586329 and 35c268f162db) and patch 2 from bug 1131805 (changeset 4139522bf814) on a CLOSED TREE for assertion failures.
Assertion failure: (ptrBits & 1) == 0, at ../../dist/include/js/Value.h
:871
called from XrayCreateFunction
2015-03-06 15:14:52 -08:00
Jim Blandy
98dc527088 Bug 1140182: JS GDB pretty-printers: Implement pretty-printer for js::AbstractFramePtr. r=sfink 2015-03-04 17:34:49 -08:00
Boris Zbarsky
01957edaef Bug 1131805 part 2. Remove remaining js::GetObjectParent and JS_GetParent uses in SpiderMonkey. r=waldo 2015-03-06 16:33:31 -05:00
Boris Zbarsky
57f6535651 Bug 1131805 part 1. Remove remaining JS_GetParent and js::GetObjectParent uses in Gecko. r=bholley 2015-03-06 16:33:31 -05:00
Boris Zbarsky
76179d5e5e Bug 1131802 part 2. Allocate functions with reserved slots for DOM Xrays so we can store the Xray wrapper reference in those slots instead of as the function parent. r=peterv 2015-03-06 16:33:31 -05:00
Boris Zbarsky
4997daa8b5 Bug 1131802 part 1. Add JS friend API to test whether a given function object has extended slots. r=terrence 2015-03-06 16:33:30 -05:00
Boris Zbarsky
5d6bc44366 Bug 1140399. Add friend API to check whether a given function object has a JSNative and to get that JSNative as needed. r=jandem 2015-03-06 16:33:30 -05:00
Jeff Walden
894e42cf7b Bug 1139769 - Self-host %TypedArray%.prototype.subarray. r=till 2015-03-03 11:29:49 -08:00
Jeff Walden
311179ef78 Bug 1139769 - Add TypedArrayBuffer, TypedArrayByteOffset, and TypedArrayElementShift intrinsics to safely get the relevant information for a typed array. r=till 2015-03-03 11:29:45 -08:00
Jeff Walden
e40dae4a4c Bug 1139759 - Self-host %TypedArray%.prototype.copyWithin. r=till 2015-03-03 11:29:02 -08:00
Jeff Walden
8a79499588 Bug 1127012. r=jorendorff 2015-03-02 17:06:46 -08:00
Jim Blandy
4aae8d92a0 Bug 1139570: JS GDB pretty-printer: Add a pretty-printer for js::InterpreterRegs. DONTBUILD r=ttromey 2015-03-04 11:40:47 -08:00
Jim Blandy
b6a4446f8b Bug 1140179: Adapt to new JSObject structure, which indirects through the ObjectGroup. DONTBUILD r=sfink 2015-03-05 15:00:13 -08:00
Jim Blandy
aec334ce0d Bug 1139535: In js/src/gdb: Remove workaround for 2012 GDB bug. DONTBUILD r=sfink 2015-03-04 10:33:44 -08:00
Steve Fink
78b3d91140 Bug 1136309 - Rename the spidermonkey build variants, r=terrence 2015-02-24 11:27:45 -08:00
Guillaume Maudoux
e0d3eee0e6 Bug 1136189 - SIMD: inline SIMD constructors with missing arguments. r=bbouvier 2015-03-05 16:38:40 -08:00
Shu-yu Guo
60209c024c Bug 1140077 - Don't invoke read barriers inside IsTypeMarkedFromAnyThread. (r=terrence) 2015-03-05 16:23:17 -08:00
Terrence Cole
3cc9a2ea49 Backout a0844d972d08 (Bug 1133140) for OOM bustage on TBPL test machines on a CLOSED TREE. 2015-03-05 11:31:57 -08:00
Terrence Cole
0af3e9a222 Bug 1139983 - Fail the alloc if the nursery is full in NoGC; r=bhackett 2015-03-05 08:57:34 -08:00
Terrence Cole
a7554d6cda Bug 1133140 - Move runtime heap size limit checks up to GCIfNeeded; r=sfink 2015-03-05 08:57:32 -08:00