Commit Graph

33687 Commits

Author SHA1 Message Date
Bobby Holley
518f1c8a2b Bug 1021312 - Followup to fix incorrect test. r=me 2014-06-06 13:49:38 -07:00
Luke Wagner
1dc2f20bd4 Bug 1021229 - hoist enoughMemory_ into AssemblerShared (r=jandem)
--HG--
extra : rebase_source : 2f04773c01e3bf3850cede67243a3508349ed38a
2014-06-06 15:45:04 -05:00
Trevor Saunders
d40aea2c07 bug 1021171 - don't return nulllptr in functions returning bool r=bz,waldo 2014-06-06 15:31:30 -04:00
Jason Orendorff
e3c62c6bb9 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)
ac1619bf5e 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
a244c38c00 Backout rev b221cb63e559 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 14:02:00 -04:00
Jason Orendorff
978fba0922 Backout rev 0c9ff69d4263 to re-land with proper credit. Bug 904723, no_r=me. 2014-06-06 13:59:46 -04:00
Luke Wagner
aff06146d3 Bug 1021251 - OdinMonkey: simplify AsmJSFrameIter a bit (r=bbouvier)
--HG--
extra : rebase_source : 0ee29c3ace29a1f93d3fc56d0ec07b44108ee995
2014-06-06 12:37:09 -05:00
Jim Chen
97cad3c08e Bug 1021277 - Use copy flag for JIT pseudostack frames; r=djvj 2014-06-06 12:12:43 -04:00
Dan Gohman
f696ac037c Bug 733353 - IonMonkey: Queueless, worklistless LICM r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
e4faa9e7c2 Bug 733353 - IonMonkey: Factor out and optimize loop marking and unmarking. r=jandem 2014-06-06 08:21:49 -07:00
Dan Gohman
7fb5b20e0b 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
f769c20789 Bug 844779 - IonMonkey: Make loops contiguous. r=h4writer 2014-06-06 08:21:48 -07:00
Dan Gohman
8c2c420224 Bug 1020474 - IonMonkey: Pass CodePosition by value r=jandem 2014-06-06 08:21:48 -07:00
Hannes Verschore
1351054365 Bug 844779 - Part 1: Remove inline function tracking in ionmonkey, r=djvj 2014-06-02 23:28:44 +02:00
Jason Orendorff
f16da11307 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
ecc114204a Bug 904723, part 3 - Implement Array.from. r=till. 2014-06-06 11:15:22 -04:00
Jason Orendorff
8114af1ff0 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
5cfc6174a8 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
f737cd9258 Bug 1008441 - Make Object.defineProperty(proxy, desc) only parse desc once. r=efaust. 2014-06-06 11:15:21 -04:00
Jason Orendorff
fcd755c578 Bug 1017079 - Fix obsolete comment in AtomizeAndCopyChars. r=bhackett. 2014-06-05 13:23:40 -04:00
Jason Orendorff
736717218a Bug 1017067 - Merge deleteProperty/deleteElement ops back into a single deleteGeneric op. r=bhackett. 2014-06-05 13:19:23 -04:00
Jason Orendorff
fbe9865b64 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
ee6d7d98d7 Bug 1021001 - Fix some GCC warnings. r=terrence. 2014-06-05 13:18:40 -04:00
Carsten "Tomcat" Book
056689a934 Backed out changeset d15632d88126 (bug 933313) for cppunit testfailures on a CLOSED TREE 2014-06-06 15:49:45 +02:00
Lars T Hansen
432f0db8de 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
ceedb2c411 Bug 1021258 - Restore the __proto__ mutation warning for __proto__ sets. r=luke 2014-06-06 12:21:36 +01:00
Jan de Mooij
b94d500021 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
c65dce560c Bug 1020420 part 4 - Make StringToNumber work with Latin1 strings. r=njn 2014-06-06 11:17:52 +02:00
Jan de Mooij
dc65798b7e Bug 1020420 part 3 - Make parseFloat work with Latin1 strings. r=njn 2014-06-06 11:17:51 +02:00
Jan de Mooij
0ac5a3d6b6 Bug 1020420 part 2 - Refactor js_strtod. r=njn 2014-06-06 11:17:49 +02:00
Jan de Mooij
99c534bc82 Bug 1020420 part 1 - Make parseInt work with Latin1 strings. r=njn 2014-06-06 11:17:47 +02:00
Jan de Mooij
c152e45b7d Bug 1020892 - Quell some GCC warnings. r=luke 2014-06-06 11:17:45 +02:00
Carsten "Tomcat" Book
8cd3bb75dc Backed out changeset d89d4281fd8d (bug 933313) for bustage on a CLOSED TREE 2014-06-06 10:18:04 +02:00
Lars T Hansen
314ad612f7 Bug 933313 - Per-worker generational GC for PJS. r=jandem, r=shu, r=terrence 2014-06-06 09:21:52 +02:00
Eric Faust
7c8f83ef81 Bug 978238 - Part 2: Implement Proxy.[[GetOwnProperty]] to new ES6 standard. (r=jorendorff) 2014-06-03 13:23:03 -07:00
Eric Faust
899cfeb046 Bug 978238 - Part 1: Clean up PropDesc<->PropertyDescriptor conversions. (r=jorendorff) 2014-06-03 13:23:02 -07:00
Bobby Holley
833a04ca14 Bug 987111 - Tests. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
2dd36aaba5 Bug 987111 - Flip on Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
234abbdd81 Bug 987111 - Implement delete_ for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
3ac6c898b0 Bug 987111 - Implement defineProperty for Object Xrays. r=gabor 2014-06-05 22:32:39 -07:00
Bobby Holley
25b181048a Bug 987111 - Implement resolveOwnProperty and enumerateNames for Object instances. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
009fd1d137 Bug 987111 - Make JSProto_Object COWs take precedence over Xrays. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
366781bbb9 Bug 987111 - Handle the Object.prototype case in Xray getPrototypeOf. r=gabor 2014-06-05 22:32:38 -07:00
Bobby Holley
71a3504f8c 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
eb617d939d 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
eb1adb7e90 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
7c9af7115d 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
2645fdf613 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
66bc41a41a Bug 1021312 - Tests. r=mccr8 2014-06-05 22:32:36 -07:00