Ryan VanderMeulen
08f594ec2a
Backed out changeset 0dad16fe66b2 (bug 517765) for Linux PGO bustage.
2013-08-23 13:17:07 -04:00
Terrence Cole
49c80c8448
Bug 908483 - Fix some exact rooting hazards in jsd; r=jonco
2013-08-22 15:43:47 -07:00
Jon Coppeard
03edd99023
Bug 907135 - Disable verification of OSI point registers in rooting analysis builds r=nbp
2013-08-23 16:43:38 +01:00
Andy Wingo
bb8edee39e
Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
...
Add a Generator constructor, like the Function constructor.
Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.
When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.
Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype. That prototype does not have
a ".constructor" link.
If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.
Prototypes of generator objects are no longer made with
GeneratorObject::class_. This allows us to elide some "null" checks
from bug 352885. Instead calling a generator on a method now signals a
typeerror.
Make the "send" generator method a simple alias to "next".
2013-08-23 11:07:10 -04:00
Ian Stakenvicius
6922532fd3
Bug 517765 - Add 'make source-package' support into js/src. r=sstangl
2013-08-22 12:38:18 -04:00
Gabor Krizsanits
73d41a24b4
Bug 886237 - follow-up part2: Comment formatting in sandbox.cpp. r=bholley
2013-08-23 09:56:03 +02:00
Gabor Krizsanits
be6a2be548
Bug 886237 - follow-up part1: Moving Sandbox/XPCComponents helpers into namespace xpc. r=bholley
2013-08-23 09:55:47 +02:00
Kyle Huey
450b0c5f42
Bug 903772: Part 9 - Use a different class in the weakmap test now that the implementation of TextDecoder has changed. r=peterv
2013-08-22 22:17:10 -07:00
Kyle Huey
8edf4de9ad
Bug 903772: Part 4 - Harmonize main thread and worker dictionary implementations. r=peterv
2013-08-22 22:17:09 -07:00
Kyle Huey
de0ee30e74
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Brian Hackett
d5fe5f02fa
Bug 908294 - Additional fixes for ExclusiveContext zones with TI enabled, r=billm.
2013-08-22 21:42:20 -06:00
Luke Wagner
cec964ccec
Bug 908255 - tidy up 'non-destructive' functions, give StringHashPolicy a scarier name (r=terrence)
...
--HG--
extra : rebase_source : 84bbc6c0416190a9dae8c758262def530a591219
2013-08-22 13:54:34 -05:00
Luke Wagner
5a24677ba5
Bug 907118 - Fix bug in JSRope::getCharsNonDestructiveInternal (r=bhackett)
...
--HG--
extra : rebase_source : 30a52611309ba474653bd547cde3eb4af77dd578
2013-08-22 11:47:55 -05:00
Nicholas Nethercote
d208a00ee8
Bug 905017 (part 3, attempt 2) - Move profiling stack stuff from jsapi.h to js/ProfilingStack.h. r=billm.
...
--HG--
extra : rebase_source : 8226a31c4f2a286ba843da616b1061ca034a5d41
2013-08-19 23:45:26 -07:00
Nicholas Nethercote
9ce6c39a8f
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Brian Hackett
d3df5f7c56
Bug 905544 - Fix assertion failure in threadsafe builds with --disable-ion, r=billm.
2013-08-22 18:02:28 -06:00
Terrence Cole
83b46d17ec
Bug 907973 - Suppress an exact rooting non-hazard in ShellObjectMetadataCallback; r=bhackett
...
--HG--
extra : rebase_source : 3c2911f67d14375bc98580fc483cf61498ed8be3
2013-08-21 12:44:00 -07:00
Terrence Cole
0bf4aef42a
Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett,luke
...
--HG--
extra : rebase_source : 9acbb597415c4bf08c978c480262ce5e5dd9c452
2013-08-21 12:43:22 -07:00
Mike Hommey
3e16a0d1dd
Bug 904743 - Use makefile creation helper in BindingGen.py, cl.py and xpidl-process.py. r=gps
...
While at it, fix dependencies generated by BindingGen.py
2013-08-23 08:09:17 +09:00
Mike Hommey
26234441d3
Bug 908052 - Use GetShortPathName/GetLongPathName to canonicalize paths for dependency files generated by cl.py. r=gps
2013-08-23 08:08:05 +09:00
Benjamin Bouvier
354c49842b
Bug 906860: Ignore segfaults handled by AsmJSFaultHandler in gdb; r=jimb,gps
2013-08-22 15:54:12 -07:00
Bobby Holley
4e5093e6fa
Bug 903891 - Default the iid to nsISupports in NativeInterface2JSObject, and assert |Interface| when getting an XPCWrappedNative. r=mrbkap
2013-08-22 15:51:35 -07:00
Bobby Holley
52d40c8a87
Bug 907937 - Followup comment fixes. r=billm DONTBUILD
2013-08-22 13:39:20 -07:00
Bobby Holley
62306e6427
Bug 907937 - Followup fix for review-nit bustage. r=me CLOSED TREE
2013-08-22 12:54:05 -07:00
Bobby Holley
eb213192a7
Bug 907937 - Address review nits. r=billm
...
I normally roll these into the appropriate patches, but this queue moves a lot
of code around, and I'm afraid of a mismerge.
2013-08-22 12:40:31 -07:00
Bobby Holley
6a67707c4e
Bug 907937 - Optimistically check the CCW cache early in opt-build value wrapping. r=billm
2013-08-22 12:40:31 -07:00
Bobby Holley
e6a0bd3c95
Bug 907937 - Inline jsval wrapping overload. r=billm
...
This thing is small enough now that it can be inlined. This is already a significant
win because primitive jsval wrapping is now entirely inlined.
2013-08-22 12:40:31 -07:00
Bobby Holley
1e989152b6
Bug 907937 - Move object wrapping into the object-overloaded wrap() function. r=billm
...
There are a couple of changes to the wrap code, so it probably needs to be
looked over.
2013-08-22 12:40:31 -07:00
Bobby Holley
bb79bca070
Bug 907937 - Whitespace change. r=billm
2013-08-22 12:40:30 -07:00
Bobby Holley
20bb98f1a6
Bug 907937 - Remove isObject() checks, and stop using |vp| as an intermediary. r=billm
...
We can do this now that we're not trying to deal with strings at the same time.
Whitespace change in the next patch.
2013-08-22 12:40:30 -07:00
Bobby Holley
9d3feb41a1
Bug 907937 - Move string wrapping into the actual string wrapping method. r=billm
...
The current string->value->string setup is kind of silly. This also moves work
out of the jsval overload, which will be helpful when we inline the first part.
2013-08-22 12:40:30 -07:00
Bobby Holley
222832d3b4
Bug 891891 - Print diagnostics when an XPCWrappedJS is QI-ed off-main-thread. r=mrbkap
...
Let's try to figure out which XPCWrappedJS is causing this. I've filed a reminder
for myself to back this out by sept 3.
2013-08-22 12:40:29 -07:00
Terrence Cole
809798ceb1
Backout 09bdab645185 (Bug 907791) as it will not work with off-main-thread parsing.
...
--HG--
extra : rebase_source : 9b9cdc95fac77232e204fcdccb1bd5a2e827041b
2013-08-22 11:48:28 -07:00
Terrence Cole
45241f280a
Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
...
--HG--
extra : rebase_source : f1eff0c5910373220ddabf61fe907528cdcec19f
2013-08-20 13:13:21 -07:00
Terrence Cole
fc4d7f6a34
Bug 907791 - Suppress some AsmJS rooting non-hazards in the static analysis; r=bhackett
...
--HG--
extra : rebase_source : edd1c5544b791c258d31ec5d64334f52bbd5aed1
2013-08-21 12:43:22 -07:00
Terrence Cole
04ac3d218a
Bug 906241 - Trigger post barriers for writes to tenured call objects; r=bhackett
...
--HG--
extra : rebase_source : db28a9eb27ba8d002b48359a30a0343d651f6e60
2013-08-21 14:20:15 -07:00
Terrence Cole
0a1e88b45d
Bug 908253 - Fix jit-tests's -g command after Bug 858622; r=dminor
...
--HG--
extra : rebase_source : 6c6a02b63e653d7f87671b1e9b80ab9d4161bb91
2013-08-22 11:21:30 -07:00
Benjamin Peterson
b7ae48e5e4
Bug 777060 - Allow parameters without defaults after default parameters. r=jorendorff
2013-08-22 11:28:14 -05:00
Jon Coppeard
48afbcd755
Bug 893184 - Call constructors for HeapPtrAtoms allocated as part of shared script data r=till
2013-08-20 16:40:27 +01:00
Ed Morley
50edc993c1
Backed out changeset 6a182052fafe (bug 904701) for warnings as errors failures on a CLOSED TREE
2013-08-22 16:14:40 +01:00
Daniele Bonetta
f46d319c0c
Bug 906773 - More efficient ComputeSliceBounds function. r=nmatsakis
2013-08-19 14:51:34 -07:00
Andy Wingo
6f3144c4e8
Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
...
Add a Generator constructor, like the Function constructor.
Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.
When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.
Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype. That prototype does not have
a ".constructor" link.
If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.
Prototypes of generator objects are no longer made with
GeneratorObject::class_. This allows us to elide some "null" checks
from bug 352885. Instead calling a generator on a method now signals a
typeerror.
Make the "send" generator method a simple alias to "next".
2013-08-22 10:16:07 -04:00
Brian Hackett
930150cc7b
Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm.
2013-08-22 07:22:33 -06:00
Brian Hackett
8ddf4c3484
Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm.
2013-08-22 07:13:18 -06:00
Gabor Krizsanits
56184ed022
Bug 886237 - Splitting up XPCComponents. r=bholley
2013-08-22 08:26:37 +02:00
Jon Coppeard
a157aa79f0
Bug 907147 - Add SkipRoot to stop rooting analysis poinsoning hash in getNewType() r=terrence
2013-08-21 09:58:25 +01:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
f79ae70d10
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
d62e2c8439
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00