Commit Graph

868 Commits

Author SHA1 Message Date
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
Jason Orendorff
a2b2d14935 Back out rev 5d35dc039af7 (bug 875433) due to Web compatibility issues (bug 881782, bug 883914). rs=Waldo on IRC. 2013-06-18 15:35:22 -05:00
Brian Hackett
c199407440 Bug 883661 - Fix and document numeric comparator invariants. 2013-06-17 10:51:16 -06:00
Brian Hackett
a3616fe0d3 Bug 883661 - Handle lazy functions when doing higher order fast invokes and in numeric comparator pattern matching, r=luke. 2013-06-17 10:14:33 -06:00
Nicholas Nethercote
f27d4f199a Bug 880041 (part 2) - Use JSObject::{is,as} for {Normal,Strict,}ArgumentsObjects. r=luke.
--HG--
extra : rebase_source : 1648dd8eae1d1fdcc28644b9865960560ba301f8
2013-06-16 17:06:04 -07:00
Nicholas Nethercote
f2854337c3 Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00
Benjamin Peterson
defbf4358c Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 34f95fc6017d3f3f4f091083debacbd466b51bf6
2013-06-11 12:49:11 -07:00
Ryan VanderMeulen
48564710fc Backed out changeset 1df122edcf0d (bug 823978) for bustage (again).
CLOSED TREE (again)
2013-06-11 15:27:46 -04:00
Benjamin Peterson
859ae9d3b2 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Ryan VanderMeulen
a580723853 Backed out changeset 7e69e102a432 (bug 823978) for bustage.
CLOSED TREE
2013-06-11 14:28:17 -04:00
Benjamin Peterson
6a8ee25998 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Jeff Walden
6c380ca721 Bug 880920 - Simplify some absolute-value-computing code in lexicographic sorts of numeric arrays. r=luke
--HG--
extra : rebase_source : f7b164d212bdf2d94a80064c7d5575ef0cd31e88
2013-06-10 12:13:38 -07:00
Brian Hackett
327a300d21 Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Sankha Narayan Guria
7b2aff4ced Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
--HG--
extra : rebase_source : 0b9b93bd796ba2c528b89c377b8aac922631ec98
2013-06-05 14:17:35 -05:00
Terrence Cole
92c0bf02c4 Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Benjamin Peterson
2d0a00f459 Bug 778948 - Move jsinterp.cpp/h to the vm/ dir. r=luke
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2013-06-02 15:30:43 -07:00