Commit Graph

33687 Commits

Author SHA1 Message Date
Bobby Holley
906c4108c1 Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Luke Wagner
5de7bfa36b Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
833a69a7df bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo 2014-06-06 15:31:30 -04:00
Jason Orendorff
b3212f9f5f 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)
c982ca84c1 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
82ce758a00 Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 14:02:00 -04:00
Jason Orendorff
672efced61 Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 13:59:46 -04:00
Luke Wagner
b4128d546b Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
7189a9f2ab Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj 2014-06-06 12:12:43 -04:00
Dan Gohman
f4bd880816 Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
2da97d676f Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
e45de8398e 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
5ca79e4256 Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer 2014-06-06 08:21:48 -07:00
Dan Gohman
38fcb50369 Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem 2014-06-06 08:21:48 -07:00
Hannes Verschore
0bde66c326 Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj 2014-06-02 23:28:44 +02:00
Jason Orendorff
88fe7dbf67 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
052b79914e Bug 904723, part 3 - Implement Array.from. r=till. 2014-06-06 11:15:22 -04:00
Jason Orendorff
939f9d0dbf 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
ad184af108 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
e48c02c29e Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust. 2014-06-06 11:15:21 -04:00
Jason Orendorff
89f5b4b3cc Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett. 2014-06-05 13:23:40 -04:00
Jason Orendorff
feb5c344e3 Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Jason Orendorff
617916990c 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
c216f0178a Bug 1021001 - Fix some GCC warnings. r=terrence. 2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
3401eb8b0d Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE 2014-06-06 15:49:45 +02:00
Lars T Hansen
cb3a49ad4e 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
29a27a547e Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Jan de Mooij
09f077a98b 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
a4eee954a6 Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn 2014-06-06 11:17:52 +02:00
Jan de Mooij
66afe359e5 Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn 2014-06-06 11:17:51 +02:00
Jan de Mooij
7585ece26e Bug 1020420 part 2 - Refactor js_strtod. r=njn 2014-06-06 11:17:49 +02:00
Jan de Mooij
bf5026e75f Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn 2014-06-06 11:17:47 +02:00
Jan de Mooij
c5a77bbf50 Bug 1020892 - Quell some GCC warnings. r=luke 2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
1f3b65a7e2 Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE 2014-06-06 10:18:04 +02:00
Lars T Hansen
6eab9bb8a5 Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence 2014-06-06 09:21:52 +02:00
Eric Faust
9da3a7dfbb Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
997870d7ce Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Bobby Holley
39ad5659cd Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
011d301bcf Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
d8d9bb0da7 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
fe21607285 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
e068af9052 Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
bd1f06fe45 Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
23f82282b6 Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
c1024a1099 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
8b18cc3256 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
14943a03e1 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
1e02a0c208 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
d0c454279b 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
333e3921f1 Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00