Commit Graph

883 Commits

Author SHA1 Message Date
Terrence Cole
9352d36b34 Bug 688852 - Rewrite Array.prototype.concat to use spec steps; r=Waldo
--HG--
extra : rebase_source : b82607aabd4f959e7c204073a440225c6a12da6c
2013-01-03 17:34:34 -08:00
Shu-yu Guo
8175bc3b2a Bug 921325 - Return bool from PJS VM functions and use the fatal bit on ForkJoinSlice to signal fatal vs retry. (r=nmatsakis) 2013-10-10 20:02:32 -07:00
Dan Gohman
c862ace034 Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn 2013-10-10 05:18:01 -07:00
Shu-yu Guo
02f9f448e5 Bug 903193 - Part 6: Add ParallelExecution path to ArraySetLength. (r=bhackett) 2013-10-08 15:14:04 -07:00
Shu-yu Guo
5a7ffd2976 Bug 903193 - Part 5: Refactor SetPropertyHelper and friends to have a thread local variant. (r=bhackett) 2013-10-08 15:14:04 -07:00
Birunthan Mohanathas
7eed164102 Bug 784739 - Switch from NULL to nullptr in js/src/ (2/9); r=ehsan
--HG--
extra : rebase_source : 7592571554a847499941ea8c5b86c0af1cbedb3f
2013-10-07 12:43:08 -04:00
Andy Wingo
53ce73ba77 Bug 907077: Change for-of to conform to latest ES6 specification. r=jwalden 2013-10-03 13:37:57 +01:00
Brian Hackett
c0e0c49be0 Bug 920689 - Only include types for 'own' properties in heap type sets, r=jandem. 2013-09-27 11:29:35 -06:00
Andy Wingo
c535958dc3 Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz 2013-09-26 10:11:38 -04:00
Dan Gohman
4d985209ed Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Ryan VanderMeulen
fe96ecc1e3 Backed out changeset 2c3d1c9241d7 (bug 918023) for Windows debug TestEndian failures.
CLOSED TREE
2013-09-24 14:09:15 -04:00
Dan Gohman
69a7a0d34e Bug 918023 - SpiderMonkey: Const-qualify various static variables. r=njn 2013-09-24 08:21:22 -07:00
Jan de Mooij
2313b873cb Bug 918808 part 4 - Refactor Array.prototype.join to use the fast path in more cases. r=luke 2013-09-24 17:00:22 +02:00
Jeff Walden
659091681b Bug 909602 - Don't blow away most/all elements above the purported "length" of a non-Array object passed to Array.prototype.pop. r=bhackett 2013-09-16 18:44:45 -07:00
Dan Gohman
a50084b38d Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Nicholas Nethercote
ad507345be Bug 914508 (attempt 2) - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : abf63fa6f680266c8c53a630174989f33be06a32
2013-09-11 09:23:22 +10:00
Wes Kocher
b12ca31fd4 Backed out changeset 45975a811207 (bug 914508) for Android 2.2 NoIon build bustage 2013-09-10 23:00:06 -07:00
Nicholas Nethercote
67b05683bd Bug 914508 - Move more stuff out of inlines.h/-inl.h files, and remove some unnecessary #include statements. r=terrence.
--HG--
extra : rebase_source : 547936b30f4436af6471eaaa7e459db03196e363
2013-09-11 09:23:22 +10:00
Jeff Walden
ad2c8f9a98 Bug 905947 - Don't assert when redefining an array's length to be configurable via the JSAPI. r=jorendorff
--HG--
extra : rebase_source : 4729e0aca6ea7addb56fd12a280eb2b1b4469ad7
2013-08-20 17:06:51 -07:00
Terrence Cole
10b7023904 Bug 907358 - Exactly root internal pointers in Array.join; r=Waldo
--HG--
extra : rebase_source : f1eff0c5910373220ddabf61fe907528cdcec19f
2013-08-20 13:13:21 -07:00
Brian Hackett
6495e92bc1 Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm. 2013-08-22 07:13:18 -06:00
Terrence Cole
0c6524464d Bug 906940 - Exactly root the IsAcceptableThis callback; r=jonco,smaug
--HG--
extra : rebase_source : 3b629611a07fc52a532a05c1b56e5aa40b6a67b6
2013-05-28 11:23:04 -07:00
Nicholas Nethercote
b433c53e70 Bug 904962 (part 4) - Don't #include jsautooplen.h in vm/Stack.h. r=luke.
--HG--
extra : rebase_source : 3983625a9fc20f6cc1116283505e30c454b92145
2013-08-13 18:37:33 -07:00
Nicholas Nethercote
d8f824e34e Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
9624be5713 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Shu-yu Guo
5d022e7114 Bug 898750 - Attach Array.build only if ENABLE_PARALLEL_JS. (r=shell bustage) 2013-07-27 21:39:02 +02:00
Nicholas Nethercote
9bf14957f9 Bug 897850 - Fix order of "construct" and "hasInstance" comments. r=evilpie. DONTBUILD
--HG--
extra : rebase_source : 0c7794045398db2e66d3ad1210b3b4b8b14947b0
2013-07-25 15:30:53 -07:00
Terrence Cole
28afcc4d1d Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Emanuel Hoogeveen
85e2863665 Bug 888088 (part 6) - Fix #include ordering in some of js/src/*.{h,cpp}. r=nnethercote.
--HG--
extra : rebase_source : bbf807155c1ed049a49cc2da73bbf55e0f334820
2013-07-23 17:34:18 -07:00
Ms2ger
ee1c4f9038 Bug 892225 - backout changeset b4426d926b31. 2013-07-23 17:34:57 +02:00
Shu-yu Guo
3dcd5913c7 Bug 860965 - Part 2: Add Array.build. (r=nmatsakis) 2013-07-22 16:12:07 -07:00
Shu-yu Guo
978e5b60b1 Bug 860965 - Part 1: Copy 1D ParallelArray operations to Array. (r=luke,nmatsakis) 2013-05-11 22:39:46 -07:00
Jeff Walden
9248a5e743 Bug 891177 - Move leading/trailing-zero-bit counting functions, ceiling/floor log2 functions, and round-up-pow2 functions into MathAlgorithms.h. r=terrence
--HG--
extra : rebase_source : 8cfbd68b8cd4a0e21185dd864c7e827ccfa6b751
2013-07-03 15:46:51 -07:00
Brian Hackett
9e2dee9332 Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Nicholas Nethercote
787eaffa54 Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Brian Hackett
aafb978437 Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Jason Orendorff
11c11d8f5b Bug 866849, part 2 - Implement Array.of. r=evilpie. 2013-07-10 08:14:02 -05:00
Nicholas Nethercote
9dcfbf0290 Bug 890784 (part 1) - Create a new vm/Runtime module and put JSRuntime in it. r=wmccloskey.
--HG--
rename : js/src/jscntxtinlines.h => js/src/vm/Runtime-inl.h
rename : js/src/jscntxt.cpp => js/src/vm/Runtime.cpp
rename : js/src/jscntxt.h => js/src/vm/Runtime.h
2013-07-07 23:18:48 -07:00
Sankha Narayan Guria
64daba3e69 date: Wed Jun 05 14:17:35 2013 -0500
Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
2013-07-03 15:49:18 -05:00
Jan de Mooij
140b09117d Bug 799122 - Eagerly allocate dense elements for small arrays. r=luke 2013-07-03 13:17:29 +02:00
Terrence Cole
68307928b7 Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Till Schneidereit
f78fd42a4c Bug 885553 - Implement ES6 Array.prototype.find and Array.prototype.findIndex. r=jwalden
--HG--
extra : rebase_source : ca717dae292897561f503ab2d5964f02915f5067
2013-06-26 18:47:41 +02:00
Terrence Cole
ebc01dfda0 Bug 879079 - Make ToNumber take a Handle to fix some static rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 048d46820baedeb593f85e0d445375d482d16050
2013-06-21 18:19:11 -07:00
Nicholas Nethercote
0de29d1125 Bug 884124 (part 7) - Move some methods from JSObject to ArrayObject. r=jwalden.
--HG--
extra : rebase_source : bbe97ebfd1ef026f8a3ee21ce1b75f8b4ed40311
2013-06-19 01:39:47 -07:00
Nicholas Nethercote
82d0cc84f8 Bug 884124 (part 6) - Add an ArrayObject class. r=jwalden.
--HG--
extra : rebase_source : 17a9703165cb665326ff94bc574450ba59ede7f7
2013-06-18 23:55:38 -07:00
Brian Hackett
f117e1e4b6 Bug 881102 - Propagate exceptions in object metadata callback, r=luke. 2013-06-24 10:55:28 -06:00
Jan de Mooij
f5b9908a45 Bug 881902 - Remove ContextStack and StackSpace. r=luke,njn 2013-06-21 08:28:06 +02:00
Nicholas Nethercote
435d36ff71 Bug 880041 (part 22) - Use JSObject::{is,as} for JSFunction. r=sfink.
--HG--
extra : rebase_source : 43c8c65c7d00edffde12c5b1ec8a1aff42acc7fe
2013-06-17 23:53:49 -07:00
Nicholas Nethercote
52908a1abe Bug 880041 (part 21) - Use JSObject::{is,as} for GlobalObject. r=sfink.
--HG--
extra : rebase_source : 676539d76be0aee1c5450aacefed27a4f45efc81
2013-06-17 16:23:11 -07:00
Nicholas Nethercote
549fd96b30 Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff.
--HG--
extra : rebase_source : 5d6a4d653160a9c4a9645b14bebbcfab71b50ef4
2013-06-12 22:20:27 -07:00