Jason Orendorff
c9849998cf
Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till. DONTBUILD.
2014-06-06 14:13:16 -04:00
William Golden ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
b46fcd6a7c
Bug 904723, part 3 - Implement Array.from. r=till. Thanks also to André Bargull for his very close review of this code.
2014-06-06 14:13:13 -04:00
Jason Orendorff
b5523b956e
Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 14:02:00 -04:00
Jason Orendorff
6fb6a7f490
Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me.
2014-06-06 13:59:46 -04:00
Luke Wagner
47e1ae4b61
Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
...
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
fa91e67f32
Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj
2014-06-06 12:12:43 -04:00
Dan Gohman
f9b5501491
Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
ceefca5536
Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem
2014-06-06 08:21:49 -07:00
Dan Gohman
90ab68958a
Bug 733353 - IonMonkey: Don't allocate new instruction IDs when moving existing instructions. r=jandem
2014-06-06 08:21:48 -07:00
Dan Gohman
b742624f66
Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer
2014-06-06 08:21:48 -07:00
Dan Gohman
165806f342
Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem
2014-06-06 08:21:48 -07:00
Hannes Verschore
e77a061800
Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj
2014-06-02 23:28:44 +02:00
Jason Orendorff
752d49f525
Bug 904723, part 4 - In Array.from, only fetch the @@iterator property once. r=till.
2014-06-06 11:15:22 -04:00
Jason Orendorff
559aacf9df
Bug 904723, part 3 - Implement Array.from. r=till.
2014-06-06 11:15:22 -04:00
Jason Orendorff
3a9fd0f200
Bug 904723, part 2 - Changes to _DefineDataProperty semantics. r=till.
...
Rename the _DefineValueProperty intrinsic to _DefineDataProperty and change
it to call js::DefineProperty rather than JSObject::defineProperty. The
difference is that the former is ES5-compliant in terms of interactions with
already-existing properties and the latter is not. The new behavior is safe
to expose via Array.from as a capability anyone can use to define any element
on any object (it's just what Object.defineProperty already does).
2014-06-06 11:15:21 -04:00
Jason Orendorff
56cb95f6ad
Bug 904723, part 1 - Add new IsConstructor intrinsic for self-hosting. r=till.
...
This also renames js_IsCallable to js::IsCallable and does some related light
cleaning work.
2014-06-06 11:15:21 -04:00
Jason Orendorff
0d1a9cf9ff
Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust.
2014-06-06 11:15:21 -04:00
Jason Orendorff
90ecffe365
Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett.
2014-06-05 13:23:40 -04:00
Jason Orendorff
3362b05761
Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett.
2014-06-05 13:19:23 -04:00
Jason Orendorff
5ba799558c
Bug 1017292 - Make jstests.py start much faster when running only a few tests. r=terrence.
2014-06-05 13:18:52 -04:00
Jason Orendorff
4bf4d6023c
Bug 1021001
- Fix some GCC warnings. r=terrence.
2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
7ec9b3199d
Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE
2014-06-06 15:49:45 +02:00
Lars T Hansen
df0eb6e634
Bug 933313: Per-worker generational GC for PJS. Take 2. r=jandem, r=shu, r=terrence, r=jonco
2014-06-06 11:42:10 +02:00
Bobby Holley
32a5b36c8a
Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke
2014-06-06 12:21:36 +01:00
Jan de Mooij
76a44ec4a5
Bug 1020420 followup - Add explicit template instantiations to fix b2g opt compile errors on a CLOSED TREE. r=bustage
2014-06-06 12:00:48 +02:00
Jan de Mooij
89492f5b1a
Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn
2014-06-06 11:17:52 +02:00
Jan de Mooij
041e159bf3
Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn
2014-06-06 11:17:51 +02:00
Jan de Mooij
33cc3f8d4d
Bug 1020420 part 2 - Refactor js_strtod. r=njn
2014-06-06 11:17:49 +02:00
Jan de Mooij
c61da03628
Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn
2014-06-06 11:17:47 +02:00
Jan de Mooij
b9f6381291
Bug 1020892 - Quell some GCC warnings. r=luke
2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
352f40fc4e
Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE
2014-06-06 10:18:04 +02:00
Lars T Hansen
3bb7337386
Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence
2014-06-06 09:21:52 +02:00
Eric Faust
169c1a117d
Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff)
2014-06-03 13:23:03 -07:00
Eric Faust
aafd528d5d
Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff)
2014-06-03 13:23:02 -07:00
Bobby Holley
22f18674b7
Bug 987111 - Tests. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
9db935d49b
Bug 987111 - Flip on Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
42f7024f5e
Bug 987111 - Implement delete_ for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
cad5e8f936
Bug 987111 - Implement defineProperty for Object Xrays. r=gabor
2014-06-05 22:32:39 -07:00
Bobby Holley
88e63325ae
Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
a2ee510ecb
Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
bbc449149e
Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor
2014-06-05 22:32:38 -07:00
Bobby Holley
6bb5e95a97
Bug 987111 - Fill out existing_desc with all properties, not just |own| ones. r=gabor
...
This gives us strictly more information than we had before, which turns out to
be useful. We can still get the old behavior by testing the identity of
desc.object(), which I've done in one of the two existing uses for existing_desc.
The other (in DOMXrayTraits::defineProperty) is actually more correct with the
full (non-own) lookup.
2014-06-05 22:32:38 -07:00
Bobby Holley
560951f0fa
Bug 987111 - Proxy::set should create enumerable properties. r=efaust
...
Properties are supposed to be enumerable by default. It's unfortunate that
the default is reversed in SpiderMonkey.
2014-06-05 22:32:38 -07:00
Bobby Holley
1951af9fcf
Bug 987111 - Add test coverage to make sure we don't add new Xrayable functionality without auditing it. r=gabor
2014-06-05 22:32:37 -07:00
Bobby Holley
eb814054e3
Bug 987111 - Introduce a method to determine whether a given PropertyDescriptor is an accessor prop. r=terrence
2014-06-05 22:32:37 -07:00
Bobby Holley
725a10496b
Bug 987111 - Add an assign() method to MutablePropertyDescriptorOperations. r=terrence
...
It's unfortunate the we need to operate on the raw JSPropertyDescriptor for
|other|, but the specialization that makes Handle<JSPropertyDescriptor> work is
declared later in the file, which isn't kosher.
2014-06-05 22:32:37 -07:00
Bobby Holley
6cdd30ff08
Bug 1021312 - Tests. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
1a478c5c5d
Bug 1021312 - use a fresh zone for xpcshell. r=mccr8
2014-06-05 22:32:36 -07:00
Bobby Holley
5122cdb7ff
Bug 1021312 - Wrap strings in CloneNonReflectors. r=mccr8
2014-06-05 22:32:36 -07:00
Wes Kocher
ac2eeb8a93
Backed out changeset 8b809afd1cea (bug 1021258) for Android m8 bustage on a CLOSED TREE
2014-06-05 18:23:22 -07:00