Commit Graph

54350 Commits

Author SHA1 Message Date
Jon Coppeard
da4bbe510f Bug 1263881 - Check the the number of body level lexicals doesn't exceed that which we can store in Bindings r=shu
--HG--
extra : rebase_source : 639ae9e661e6605709ad2dcc09918391dd6b61c1
2016-04-13 14:06:21 +01:00
Jon Coppeard
c6b5b97275 Bug 1263871 - Fix OOM handling in while resolving function name r=shu
--HG--
extra : rebase_source : 8c4e2537c6661748036e267c855806c80aed1f7c
2016-04-13 14:06:21 +01:00
Tom Schuster
e5356af969 Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust 2016-04-13 13:43:43 +02:00
Tom Schuster
c5870592c8 Bug 1041586 - Autogenerate symbol names. r=jorendorff 2016-04-13 13:43:43 +02:00
Greg Weng
775e4ae3c1 Bug 1198701 - ArrayIterator gets length property after iteration has finished. r=till 2016-04-12 18:29:00 +02:00
Jon Coppeard
a49aa74ce1 Bug 1259180 - Compact arenas containing scripts r=terrence 2016-04-13 10:03:44 +01:00
Mike Hommey
19f78b2dd2 Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted 2016-04-13 17:11:36 +09:00
Jan de Mooij
3fd0587905 Bug 1262936 - Add missing OOM check to RegExpStack::reset. r=bhackett 2016-04-13 09:31:06 +02:00
Jan de Mooij
0ffeacf985 Bug 1263886 - Don't call makeConstructorCode if the group has unknown properties. r=bhackett 2016-04-13 09:29:57 +02:00
Jan de Mooij
f2d88a73fb Bug 1124397 - Add more crash diagnostics. r=efaust 2016-04-13 09:28:16 +02:00
Chris Peterson
13ac2212dd Bug 1103588 - Part 5: Remove deprecated String#contains function; use String#includes instead. r=till 2016-04-09 16:01:03 -07:00
Chris Peterson
3aeba200ca Bug 1103588 - Part 4: Replace deprecated String#contains in js tests. r=till
- Remove sudoku.js test's unnecessary String#contains and Array#contains polyfill functions.
- Replace warning.js test's String#contains warning with an expression closure warning.
2016-04-09 16:03:00 -07:00
Mike Hommey
eb64e3f2f7 Followup for bug 1264129 - Give the executable bit to configure. r=me
Also touch old-configure.in and js/src/old-configure.in to force
configure and js/src/configure to be updated.
2016-04-13 10:43:06 +09:00
Nicholas Nethercote
60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Nicholas Nethercote
754dc0bd49 Bug 1261723 (part 1) - Rename js::Class::ops as oOps. r=efaust.
|oOps| is short for "objectOps", which will contrast with the |cOps| "classOps"
field that the next patch will introduce.

--HG--
extra : rebase_source : 920662674e1f672d923cb9060de23c85dfc903bf
2016-04-01 10:59:59 +11:00
Tooru Fujisawa
6ffa2e7e92 Bug 1263851 - Check lastIndex after loop in RegExp.prototype[@@split]. r=till 2016-04-13 08:48:49 +09:00
Tooru Fujisawa
639c0b6ab2 Bug 1263532 - Do not make RegExpPrototypeOptimizable and RegExpInstanceOptimizable movable. r=h4writer 2016-04-13 08:48:49 +09:00
Tooru Fujisawa
6dfcfa5d46 Bug 1263549 - Fix inlined RegExpPrototypeOptimizable and RegExpInstanceOptimizable. r=h4writer 2016-04-13 08:48:49 +09:00
Wes Kocher
49a18c7639 Backed out changeset 716d75c8abc2 (bug 1263040) for jsreftest failures
MozReview-Commit-ID: 56VXkA9zl5p
2016-04-12 12:31:41 -07:00
Zibi Braniecki
a60474e645 Bug 1263040 - Add Intl.getCanonicalLocales. r=waldo 2016-04-12 10:36:43 -07:00
Shu-yu Guo
ead3b0f847 Bug 1261324 - Fix bogus return address for star generators' .throw being observed by the profiler in Debugger's onExceptionUnwind in Baseline. (r=jandem) 2016-04-12 10:21:25 -07:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
Jon Coppeard
c20538fdb8 Bug 1263218 - Fix possbile race under oomTest involving background threads r=terrence
--HG--
extra : rebase_source : 89e57d0d85029caf301f63e8409bffbbd9fd9073
2016-04-12 09:44:11 +01:00
Jon Coppeard
1ab12b024b Bug 1262203 - Skip shape table tracing where possible r=terrence
--HG--
extra : rebase_source : 75b2a9bc58f83bf3c59f93cb7d2e1d1cf932d813
2016-04-12 09:44:11 +01:00
Tooru Fujisawa
1fd48d7c01 Bug 1263558 - Part 4: Call initBuiltinConstructor after defining properties in InitStringClass. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa
52722e54e7 Bug 1263558 - Part 3: Remove JSFUN_GENERIC_NATIVE. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa
8a3276cbb8 Bug 1263558 - Part 2: Self-host String generics. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa
8d58721548 Bug 1263558 - Part 1: Self-host Array generics. r=till,bholley 2016-04-15 12:32:36 +09:00
Steve Fink
0ed02abbd7 No bug. Helper tool to partially autogenerate portions of the release notes.
DONTBUILD

MozReview-Commit-ID: JjKuNqmhBLY

--HG--
extra : rebase_source : 6642218ee3dcc6bd00e11b75a47063705def84f5
2016-04-14 16:04:28 -07:00
Mike Hommey
cb8bf91611 Bug 1257448 - Move MOZ_MEMORY_* defines to moz.configure. r=nalexander 2016-04-15 08:14:05 +09:00
Mike Hommey
d685556de0 Bug 1257448 - Move --enable-jemalloc and MOZ_JEMALLOC4 to moz.configure. r=nalexander
At the same time, allow to enable jemalloc 4 with --enable-jemalloc=4.
MOZ_JEMALLOC4 will be deprecated later.

This also changes the semantics for freebsd, where the system jemalloc
is used, relying on MOZ_MEMORY being unset (default on freebsd) and
MOZ_JEMALLOC4 to be set. In this new setup, MOZ_JEMALLOC4 implies
--enable-jemalloc=4, which still works because of the corresponding
changes to old-configure.
2016-04-15 08:14:05 +09:00
Jeff Gilbert
0b554f96bd Bug 982928 - Remove mozconfig.vs2010. - r=gps,sfink sr=ted.mielczarek 2016-04-14 13:37:27 -07:00
Terrence Cole
6512b60963 Bug 1263777 - Use WeakCache to sweep the InitialShapeTable; r=jonco
--HG--
extra : rebase_source : fc5c69abc683e09cf57ffa1ddb61d63d62e74e89
2016-04-12 17:06:57 -07:00
Terrence Cole
321ad1873e Bug 1263772 - Use WeakCache wrapper to sweep BaseShape table; r=jonco
--HG--
extra : rebase_source : a698230ef1f38bfd549417ed2256603ab94bd49e
2016-04-12 17:05:15 -07:00
Terrence Cole
a00f81eba6 Bug 1263771 - Sweep the InnerViewTable with WeakCache; r=sfink
--HG--
extra : rebase_source : 8e592dd88662d97a1901ffdc2aec4f9b0668c021
2015-12-21 16:20:42 -08:00
Terrence Cole
4e3ff61f39 Bug 1263769 - Sweep WeakCaches in parallel; r=sfink
--HG--
extra : rebase_source : 2aa5b5a256a5428f2b7aa5d2e10f84592bb3f9ab
2016-04-12 11:02:48 -07:00
Terrence Cole
b7c56d9cba Bug 1233862 - Add a WeakCache builtin to automatically manage sweeping; r=sfink
--HG--
extra : rebase_source : 5731194b652a17fdcbc666d965690949f28b3ada
2015-12-18 14:50:20 -08:00
Boris Zbarsky
911713a99f Bug 1264377. Get rid of some unnecessary custom JSClass hook functions in xpconnect sandboxes and DOM simple globals. r=bholley 2016-04-14 14:54:01 -04:00
Tom Schuster
c10d9494c7 Bug 1041586 - Fold away property accesses to not-defined properties. r=jandem 2016-04-14 18:09:56 +02:00
Jan de Mooij
67e655e4bf Bug 1261361 - Make Vector::infallibleGrowByUninitialized check mReserved instead of mCapacity. r=Waldo
--HG--
extra : rebase_source : 2b6cdfae61946505b83748c016ef0b112ecf4780
2016-04-14 17:32:48 +02:00
Tooru Fujisawa
12599436b1 Bug 1264561 - Fix ClassOps::call and ClassOps::construct address calculation in visitIsCallable and visitIsConstructor. r=efaust
--HG--
extra : amend_source : ccd8d65ee7622b071fb90c46d53c6ffcfaf2613a
2016-04-14 19:00:17 +09:00
Tooru Fujisawa
251a87be0b Bug 1264085 - Use not-non-release-only warning in js/src/tests/shell/warning.js. r=shu 2016-04-14 16:41:37 +09:00
Tooru Fujisawa
c3fd8d9ace Bug 1263857 - Initialize the slots of the match result object before creating properties in generateRegExpMatcherStub. r=h4writer 2016-04-14 16:41:37 +09:00
Tooru Fujisawa
1cef247687 Bug 1263879 - Check the return value of AtomizeString in str_replace_string_raw. r=h4writer 2016-04-14 16:41:37 +09:00
Tooru Fujisawa
b3b67413d6 Bug 1263888 - Push TypeBarrier after ArraySlice. r=jandem 2016-04-14 16:41:36 +09:00
Mike Hommey
341ebd8679 Bug 1259382 - Move CC/CXX/HOST_CC/HOST_CXX to moz.configure. r=ted
At the same time, we improve things slightly by deriving HOST_CC from CC
in a smarter way, as well as CXX from CC, which we weren't doing
previously.

Many related things are not moved at the same time to keep the patch
somehow "small".
2016-04-14 13:21:29 +09:00
Terrence Cole
2177cca5cd Bug 1232686 - Use decltype to infer Variant::match return type; r=fitzgen 2015-12-15 07:45:22 -08:00
Brad Lassey
41992def18 bug 1264651 - remove dom.max_child_script_run_time pref r=billm 2016-04-14 11:23:03 -04:00
Carsten "Tomcat" Book
036485d4d3 Merge mozilla-central to mozilla-inbound 2016-04-15 13:59:07 +02:00
Carsten "Tomcat" Book
8801f025b6 Backed out changeset 889ea0524ad2 (bug 1264420) for turning into a perma fail testfailure 2016-04-15 13:56:50 +02:00
Jon Coppeard
2e96d42cf8 Bug 1264420 - Speed up bug-1259306.js test so it doesn't time out r=terrence 2016-04-15 10:04:06 +01:00
Jon Coppeard
126492d6cf Bug 1264429 - Trace script pointers in IonCache r=terrence 2016-04-15 10:03:40 +01:00
Benjamin Bouvier
d9d48e8f8b Bug 1263618: Adapt assertions in RegExp*Raw functions for int32_t; r=arai
MozReview-Commit-ID: ItCAUIEmR9r

--HG--
extra : rebase_source : 7fdfe283511f8f3623063094a2402a661c5f7619
extra : amend_source : c07faffd297115ae74abe003812058fe653bb2fe
2016-04-11 16:38:03 +02:00
Terrence Cole
64b12b1c09 Bug 1257810 - ReleaseAcquire should be adequate for a counter; r=sfink
--HG--
extra : rebase_source : d7a5e7be5a85144573a43970848c1f2337a8c470
2016-04-07 11:28:34 -07:00
Benjamin Bouvier
cd2b8610c4 Bug 1262208: update test case; r=me 2016-04-11 12:44:46 +02:00
Benjamin Bouvier
9126d25abe Bug 1262208: Generalize the disabled compilation mode message for asm.js; r=luke
MozReview-Commit-ID: ERdr7xy6DeO

--HG--
extra : rebase_source : f893716bbf21b9026e893cc3c70e51d52aa91996
2016-04-07 13:56:24 +02:00
Nick Fitzgerald
03303bde0d Bug 1263270 - Sort census reports by smallest node ID counted, rather than number of nodes counted. r=jimb 2016-04-08 16:21:00 -04:00
Ryan VanderMeulen
445015283b Backed out changeset 7f1da255d058 (bug 1119537) for causing frequent SM(e) Memory-drainAllocationsLog-13.js timeouts. 2016-04-09 15:02:53 -04:00
Tooru Fujisawa
ef64174f6e Bug 1263341 - Check lastIndex in non-global replace. r=till 2016-04-09 23:22:53 +09:00
Tooru Fujisawa
f0791a344f Bug 1263139 followup: Mark String-match-flags.js shell only. r=bustage 2016-04-09 10:25:23 +09:00
Tooru Fujisawa
c1b2d5b90a Bug 1263139 - Apply ToString to non-standard flags argument of String.prototype.{match,search,replace}. r=till 2016-04-09 08:29:59 +09:00
Jonathan Watt
b4b32352f6 Bug 1263074 - Change the JavaScript syntax error message for the old octal literal notation to suggest the new notation. r=Waldo 2016-03-25 14:35:41 +00:00
Terrence Cole
ee336d6356 Bug 1119537 - Make decommit a proper GC phase; r=jonco
--HG--
extra : rebase_source : 0dc09a101b094ce9ccd5e39e3dd8a3f9aca08cea
2016-02-26 08:03:30 -08:00
Tom Schuster
4a02bfc0dc Bug 1204562 - GetMethod should not box the receiver argument. r=till 2016-04-08 17:11:11 +02:00
Heiher
a80468e17d Bug 1263094 - IonMonkey: MIPS: Change members to non-virtual in CodeGenerator. r=arai
---
 js/src/jit/mips32/CodeGenerator-mips32.h |  8 ++++----
 js/src/jit/mips64/CodeGenerator-mips64.h | 14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)
2016-04-08 22:32:16 +08:00
Heiher
a1f74d2efd Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpretFromI64/ToI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 16 ++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  2 ++
 2 files changed, 18 insertions(+)
2016-04-08 22:32:12 +08:00
Heiher
0bdc79ef7f Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpret. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 28 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 2 files changed, 29 insertions(+)
2016-04-08 22:32:08 +08:00
Tooru Fujisawa
41d71a39c9 Bug 1263118 - Fix replace substitution without any capture. r=till 2016-04-08 21:38:46 +09:00
Hannes Verschore
3c242b4de7 Bug 977966: Fix flags of testcase, r=me 2016-04-08 05:47:34 -04:00
Hannes Verschore
0e4e221a50 Bug 1262453 - IonMonkey: Remove Nops which try to decrease liveness of instructions, but fail, r=bhackett 2016-04-08 05:47:32 -04:00
Hannes Verschore
36c320bfc2 Bug 1259403 - Tracelogger: Always make sure there are 3 free slots for events, r=bbouvier 2016-04-08 05:47:30 -04:00
Hannes Verschore
d46e65855f Bug 1259403 - Tracelogger: Only increase capacity by multiples of 2, r=bbouvier 2016-04-08 05:47:28 -04:00
Hannes Verschore
3813a2138f Bug 1246552 - IonMonkey: Don't eliminate toString on objects and symbols, r=jandem 2016-04-08 05:47:26 -04:00
Hannes Verschore
99dfa87ea8 Bug 1254106 - IonMonkey: Disable assertion of incorrect labels on OOM on ARM, like on x86 and x64, r=jandem 2016-04-08 05:47:24 -04:00
Boris Zbarsky
1998448029 Bug 1256376. Fix forEach on typed arrays to work over Xrays from web extension sandboxes. r=till 2016-03-22 13:49:58 -04:00
Bill McCloskey
8b6c0ca54e Bug 1260945 - Add missing isSystem check (r=bholley) 2016-04-07 17:15:25 -07:00
Nicholas Nethercote
dbc9af380e Bug 1262731 - Add JS_InitWithFailureDiagnostic(). r=sfink.
This will help identify the cause of some Firefox start-up crashes when JS
initialization fails.

--HG--
extra : rebase_source : 3ed3c5e60f487e0ca11dc13bab93aa820ca8273f
2016-04-08 09:08:49 +10:00
Steve Fink
5d4511e5b1 Bug 1259848 - Various fixes for finding gcc in the correct location for spidermonkey TC builds and hazard shell builds, r=terrence
MozReview-Commit-ID: CIMSylw6JDr

--HG--
extra : rebase_source : 55eef7df6161f73e7dc903950766e9f0141aa79d
2016-03-22 14:04:45 -07:00
Steve Fink
a3c9c8db0c Bug 1259843 - Upgrade sixgill to fix destructor handling, r=terrence
MozReview-Commit-ID: I4hv33aVpBs

--HG--
extra : rebase_source : ac707808d41be363c05ef1869b1c75499eb09ff1
2016-04-07 11:33:16 -07:00
Nick Fitzgerald
4b153b389a Bug 1258535 - Check for the existence of a global before checking if its standard classes are resolved; r=jandem
MozReview-Commit-ID: K2YgqJvwF7j
2016-04-07 14:15:42 -07:00
Nicolas B. Pierron
5272f4ef64 Bug 1261426 - GDB Scripts: Prevent gdb Memory.error when dereferencing null pointers. r=tromey 2016-04-07 13:31:57 +00:00
Tooru Fujisawa
ae7d2914fe Bug 887016 - Part 17: Mark sunspider/check-string-unpack-code.js timeout on cgc jittest. r=till 2016-01-15 14:50:14 +09:00
Tooru Fujisawa
1e9b2aa06a Bug 887016 - Part 16: Use RegExpSearcher in RegExp.prototype[@@search] optimized path. r=till 2016-01-28 18:56:12 +09:00
Tooru Fujisawa
23739dcaa6 Bug 887016 - Part 15: Use RegExpSearcher in RegExp.prototype[@@replace] optimized path. r=till 2016-01-28 18:56:09 +09:00
Tooru Fujisawa
dc39863d18 Bug 887016 - Part 14: Add RegExpSearcher. r=h4writer 2016-01-28 18:56:02 +09:00
Tooru Fujisawa
dd2692b0e2 Bug 887016 - Part 13: Implement RegExp.prototype[@@split] and call it from String.prototype.split. r=h4writer,till 2015-09-05 22:01:43 +09:00
Tooru Fujisawa
c06f3481c2 Bug 887016 - Part 12: Implement RegExp[@@species] getter. r=evilpie,bholley 2015-10-25 02:19:03 +09:00
Tooru Fujisawa
7d12904dfe Bug 887016 - Part 11: Implement RegExp.prototype[@@replace] and call it from String.prototype.replace. r=h4writer,till 2015-09-05 22:01:41 +09:00
Tooru Fujisawa
78e5236cee Bug 887016 - Part 10: Implement RegExp.prototype[@@search] and call it from String.prototype.search. r=till 2015-09-05 22:01:40 +09:00
Tooru Fujisawa
4d74d76aa9 Bug 887016 - Part 9: Implement RegExp.prototype[@@match] and call it from String.prototype.match. r=till 2015-09-05 21:55:06 +09:00
Tooru Fujisawa
630208ba15 Bug 887016 - Part 8: Add ObjectHasPrototype. r=nbp 2016-01-27 23:43:04 +09:00
Tooru Fujisawa
ed2c803aeb Bug 887016 - Part 7: Add RegExpInstanceOptimizable. r=nbp 2016-01-28 18:55:24 +09:00
Tooru Fujisawa
6d7ce2b913 Bug 887016 - Part 6: Add RegExpPrototypeOptimizable. r=nbp 2015-11-22 03:07:36 +09:00
Tooru Fujisawa
e7ca3ed9eb Bug 887016 - Part 5: Add HasOwnDataPropertyPure. r=jandem 2015-11-22 03:01:42 +09:00
Tooru Fujisawa
0574e426ad Bug 887016 - Part 4: Add GetOwnNativeGetterPure. r=jandem 2015-11-22 03:01:02 +09:00
Tooru Fujisawa
17acc7cb94 Bug 887016 - Part 3: Add LookupOwnPropertyPure. r=jandem 2015-11-22 02:55:46 +09:00
Tooru Fujisawa
6e8ddee9e1 Bug 887016 - Part 2: Add self-hosting RegExpCreate intrinsic. r=till 2015-11-22 02:55:45 +09:00
Tooru Fujisawa
c4d9af3906 Bug 887016 - Part 1: Add native RegExpCreate. r=h4writer 2015-09-05 21:55:01 +09:00
Tooru Fujisawa
f13aacf9a1 Bug 1165052 - Part 13: Add tests for ArraySpeciesCreate. r=efaust 2015-08-07 08:02:32 +09:00
Tooru Fujisawa
f04b3eedc6 Bug 1165052 - Part 12: Use ArraySpeciesCreate in Array.prototype.splice. r=efaust,evilpie 2015-12-23 13:30:58 +09:00