Граф коммитов

51263 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 65debbc7c9 Backed out changeset 8f99f32e4bfb (bug 1207863) for SM(e) failures 2015-09-30 15:16:37 -07:00
Shu-yu Guo 66e6e97e00 Bug 1207863 - Fix ScopeIter iterating a strict eval frame that errored out before its CallObject was allocated. (r=jorendorff) 2015-09-30 14:43:29 -07:00
Wes Kocher 3cfb7143e3 Backed out changeset 10db467779a0 (bug 1186982) for bug1186982.js failures CLOSED TREE 2015-09-30 10:16:08 -07:00
Wes Kocher a959ec14e5 Backed out changeset c9b612f67e7a (bug 1209001) for OOM exceptions in bug-1209001.js 2015-09-30 10:14:58 -07:00
Terrence Cole cc92078ad5 Bug 1209704 - Add a post-barrier to ReadBarriered; r=jonco 2015-09-29 13:03:52 -07:00
Tooru Fujisawa 0f0e5e7e28 Bug 1206980 - Separate MatchOrInsertSemicolon into 2 functions for after expression and non-expression. r=Waldo
--HG--
extra : commitid : AlfGCHRE7xf
extra : rebase_source : b02b3489c5bd737d1574580d1cdd2cfad90ed7c7
2015-09-25 22:01:27 +09:00
Tooru Fujisawa e754c63e1b Bug 1208442 - Simplify parser syntax test. r=Waldo
--HG--
extra : commitid : Cazbbh2jPkF
extra : rebase_source : e82593f3216fb7c5660deb040fdeb35e09294de3
2015-09-20 12:20:43 +09:00
Lars T Hansen f0330037ff Bug 1186982 - check for allocation failure. r=h4writer 2015-09-30 17:58:53 +02:00
Heiher 3ac55caceb Bug 1209962 - IonMonkey: MIPS: Memory barrier optimization. r=lth
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
2015-10-01 07:47:33 +08:00
Till Schneidereit 5ebe31a02f Bug 1209989 - Implicitly attach a PRThread to native threads when first used as a PRThread in the PosixNSPR implementation. r=terrence 2015-09-30 17:41:07 +02:00
Jason Orendorff ebc93772ac Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
--HG--
extra : commitid : IePcO0FF8By
extra : rebase_source : 74b0cc35acc8dbbde3e9d7d731d415b82f35a833
2015-09-18 12:26:48 -05:00
Jason Orendorff deb2270515 Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : 6KCxWrCseSZ
extra : rebase_source : 63f3cd6ec1ade43c732ffd9b661fe6f2dca9eb4b
2015-03-20 16:28:59 -05:00
Jason Orendorff e2eba49587 Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
--HG--
extra : commitid : 6Z8hk7yUjaS
extra : rebase_source : cc5bfa42ce5790b87681f254e15c0ec8c9ced98f
2015-03-20 14:03:24 -05:00
Jason Orendorff abd42d3ec5 Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.

The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.

--HG--
extra : commitid : B48u39i6pxl
extra : rebase_source : bddefbd7bc131007303a5a00dd9c0bb8fec1b122
2015-03-20 14:02:55 -05:00
Jason Orendorff 48632f6187 Bug 1054756, part 2 - Move ToPrimitive slow paths into a non-inline function. r=jandem.
--HG--
extra : commitid : 7pA0DFCqL2X
extra : rebase_source : 2d4eff8bf18bd9e51cd25055d1e4abf9fa5de410
2014-10-31 17:17:20 -05:00
Jason Orendorff cba3fb8913 Bug 1054756, part 1 - Support symbol-keyed properties in JSXrayTraits::resolveOwnProperty(). r=jandem.
--HG--
extra : commitid : Iw7k8V0s8vH
extra : rebase_source : 47344f609f8282df5cfe30ccb89792e3b26e5d3c
2015-07-07 19:22:20 -05:00
Jason Orendorff 15a26cce97 Bug 1177318 - Add Ion support for JSOP_TOSTRING, to make template strings faster. r=jandem.
--HG--
extra : commitid : 5sBn3j0Ttil
extra : rebase_source : fa44a4dfc7cab12600e6eb41a684cc6cf7fbc718
2015-08-12 11:12:07 -05:00
Jon Coppeard c9ccc5489c Bug 1209001 - Fix OOM handling when creating ModuleObject r=terrence 2015-09-29 10:14:56 +01:00
Steve Fink a2b1dd2c8d Bug 1197941 - Allow getline() to malloc its own buffer to avoid intermittent crashes, r=shu
--HG--
extra : commitid : 5ngylu1yKZE
extra : rebase_source : f854b2a1bcc876cd8495c2d19fa61a782e8cb4e7
2015-09-30 07:44:03 -07:00
Heiher 6eb5186f95 Bug 1209873 - IonMonkey; MIPS: Implement memory barrier. r=lth
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp   | 21 +++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h  |  3 +++
 2 files changed, 24 insertions(+)
2015-10-01 06:22:39 +08:00
Heiher c3e97841ce Bug 1209873 - IonMonkey: MIPS: Add AssemblerMIPSShared::as_sync. r=arai
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 7 +++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 2 ++
 2 files changed, 9 insertions(+)
2015-10-01 06:22:33 +08:00
Andrea Marchesini 7373ebaca0 Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Jon Coppeard 204777d13d Bug 1207519 - Prevent HashTable shrink from ignoring allocation failures that may have been reported r=Waldo 2015-09-30 11:34:49 +01:00
Jon Coppeard e189757ace Bug 1200642 - Fix some more OOM handling problems r=terrence 2015-09-30 11:34:49 +01:00
Jon Coppeard 3616fbd00c Bug 1200642 - Add OOM simulation to hastables r=terrence 2015-09-30 11:34:49 +01:00
Jon Coppeard 0b41e069f3 Bug 1200642 - Add checkSimulatedOOM() to AllocPolicy r=Waldo 2015-09-30 11:34:44 +01:00
Steve Singer 240ad955ab Bug 1208867 - Add xxx64 operations to MacroAssembler-none. r=sstangl
--HG--
extra : rebase_source : f810a26f19e132e65087f43db67601b3ecf76083
2015-09-27 12:17:00 +02:00
Heiher 0c053ea8e4 Bug 1209572 - IonMonkey: MIPS32: Goto done by short jump in convertUInt32ToFloat32. r=nbp
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-09-30 22:54:30 +08:00
Phil Ringnalda aae4eba8d2 Back out e69aaae67541 (bug 1197941) for being worse than the disease
CLOSED TREE
2015-09-29 19:19:22 -07:00
Steve Fink 48bb3e0096 Bug 1197941 - Allow getline() to malloc its own buffer to avoid intermittent crashes, r=shu
--HG--
extra : commitid : 1uyyLvURamj
extra : rebase_source : 3bf604d75b79c81d75931701c50f9d4088e7d568
2015-09-29 16:39:45 -07:00
Andrea Marchesini 83c3255308 Bug 1203920 - Get rid of JS_SetStructuredCloneCallbacks, r=sfink 2015-09-29 21:40:16 +01:00
Steve Fink ebe535b023 Bug 1209696 - Check the return value of fopen, r=terrence
--HG--
extra : commitid : JMaZOa1xurg
2015-09-29 13:29:12 -07:00
Tooru Fujisawa 219585f5ee Bug 1133191 - Part 1: Display JS stack trace on exception in js shell. r=jandem,jorendorff
--HG--
extra : commitid : HBJjkmUdxhe
extra : rebase_source : 63a5089da60d69b55c45ae6996ea5c2860049c81
2015-09-27 16:39:59 +09:00
Tooru Fujisawa e102e323df Bug 1133191 - Part 0: Add indentation variant to JS::BuildStackString. r=jandem
--HG--
extra : commitid : HOISGMqgvwC
extra : rebase_source : f517d82e3798407ba02f24adfc7da5643efd90a4
2015-08-07 08:14:05 +09:00
Terrence Cole fe83447e72 Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
--HG--
extra : rebase_source : 313662129f131a9249b73232c600f34c92738078
2015-08-26 14:51:43 -07:00
Terrence Cole a6855649ac Bug 1196847 - Part 2: Implement a cell hasher that uses unique id based hashes; r=jonco
--HG--
extra : rebase_source : 4d33add708a491e27492f9cdb63d98e76a7af94e
2015-08-26 14:51:35 -07:00
Terrence Cole 01fd1cc898 Bug 1196847 - Part 1: Allow storage of a unique id for a cell independent of address; r=jonco
* * *
imported patch rewrite_uid_on_ht_with_zone_sweeping

--HG--
extra : rebase_source : fc3a37b4ea6bbf32f8f55f56a1c4846be92c0164
2015-08-20 10:35:22 -07:00
Wes Kocher 392ffddb94 Backed out changeset b24fc518598d (bug 1209001) for bug-1209001.js failures 2015-09-29 09:37:39 -07:00
Nick Fitzgerald 042c2e2371 Bug 1204863 - Ignore frames from self-hosted scripts; r=shu 2015-09-29 09:03:14 -07:00
Wes Kocher 8631de9c2b Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Heiher 116d238f35 Bug 1209553 - IonMonkey: MIPS: Add suffix 'f' for constant float32. r=arai
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2015-09-30 07:26:59 +08:00
Heiher e4df89eeff Bug 1205566 - IonMonkey: MIPS: bailoutCmp32/Ptr optimization. r=nbp
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
2015-09-30 07:03:30 +08:00
Heiher 9ae9d645ed Bug 1205135 - IonMonkey: MIPS: Split shareable code to mips-shared in CodeGenerator-mips32. r=nbp
---
 .../CodeGenerator-mips-shared.cpp}                 |  440 +----
 .../CodeGenerator-mips-shared.h}                   |   55 +-
 js/src/jit/mips32/CodeGenerator-mips32.cpp         | 1887 +-------------------
 js/src/jit/mips32/CodeGenerator-mips32.h           |  236 +--
 js/src/moz.build                                   |    1 +
 5 files changed, 118 insertions(+), 2501 deletions(-)
 copy js/src/jit/{mips32/CodeGenerator-mips32.cpp => mips-shared/CodeGenerator-mips-shared.cpp} (81%)
 copy js/src/jit/{mips32/CodeGenerator-mips32.h => mips-shared/CodeGenerator-mips-shared.h} (81%)

--HG--
rename : js/src/jit/mips32/CodeGenerator-mips32.cpp => js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp
rename : js/src/jit/mips32/CodeGenerator-mips32.h => js/src/jit/mips-shared/CodeGenerator-mips-shared.h
2015-09-30 07:03:21 +08:00
Heiher b64039b81e Bug 1205232 - IonMonkey: MIPS32: Fix rounding of big negative float32 values in Ion. r=bbouvier
---
 js/src/jit/mips32/CodeGenerator-mips32.cpp | 32 ++++++++++++++++++++++--------
 1 file changed, 24 insertions(+), 8 deletions(-)
2015-09-30 07:03:10 +08:00
Heiher 80b101df19 Bug 1205229 - IonMonkey: MIPS32: Make more CodeGenerator functions can be shared. r=nbp
---
 js/src/jit/mips32/CodeGenerator-mips32.cpp | 9 +++++----
 js/src/jit/mips32/CodeGenerator-mips32.h   | 7 +++++--
 2 files changed, 10 insertions(+), 6 deletions(-)
2015-09-30 07:03:03 +08:00
Heiher 009f917c62 Bug 1209528 - IonMonkey: MIPS32: Add suffix 'f' for constant float32. r=arai
---
 js/src/jit/mips32/CodeGenerator-mips32.cpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
2015-09-30 07:02:57 +08:00
Benjamin Bouvier 26ee0d3f6b Bug 1206520: Add about:config prefs to enable throwing on asm.js validation failures; r=bz
--HG--
extra : commitid : 1mieasAF71F
extra : rebase_source : b7b9d3aae9158b12b75cf9f29203925265b0510f
extra : amend_source : 2c625d7ffa6c9b6f7ac48dcfc347c0119b459579
extra : histedit_source : 05e9b9b9cabf675bd4c742c8fe1d3b02735819c2
2015-09-28 12:40:03 +02:00
Benjamin Bouvier f47dc3beb8 Bug 1206520: Create an option to throw on asm.js validation failures; r=luke
--HG--
extra : commitid : 52Qc5TbN56w
extra : rebase_source : ce652ea6554c60c5d635898bfdab065812608c03
extra : histedit_source : f68c609cc4b81c42c30a180f28ff4abd70176b14
2015-09-28 12:33:49 +02:00
Morris Tseng 5bfbf77ee0 Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers., r=baku, r=sfink 2015-09-29 11:51:24 +01:00
Tooru Fujisawa 9d409001a2 Bug 1209132 - Part 2: Fix SSE assertion in Assembler::vhaddpd. r=jandem
--HG--
extra : commitid : AUILx1fRp6I
extra : amend_source : 9b3524feee409649adc3b7811687c238a69fce1b
2015-09-29 19:10:51 +09:00
Jon Coppeard ea9c1220e9 Bug 1208994 - ToAtom<NoGC> should not throw an exception on failure r=terrence 2015-09-29 10:15:42 +01:00
Jon Coppeard e84d998fad Bug 1209001 - Fix OOM handling when creating ModuleObject r=terrence 2015-09-29 10:14:56 +01:00
Jon Coppeard 8276df15d8 Bug 1208055 - Fix test which can be confused by compacting GC discarding JIT code r=terrence 2015-09-29 10:13:43 +01:00
Jakob Olesen 0e76bec44c Bug 1205893 - Eliminate vanilla memory allocations in Debugger-vixl. r=sstangl
Use js_malloc/js_free or js_new/js_delete pairs where appropriate.

Replace the use of std::vector<Token*> for debugger command arguments
with a mozilla::Vector<Token*>. Also use move constructors everywhere
for the command arguments instead of passing vector around by value.

--HG--
extra : rebase_source : 35b164aec865817aa907d553772a2f99d4ee9b85
2015-09-18 10:41:00 +02:00
Jakob Olesen f6556a02ec Bug 1205893 - Remove vanilla allocations in ARM64 simulator. r=sstangl
Use js_malloc/js_free and js_new/js_delete where appropriate.

Replace std::list with mozilla::Vector.

The standard list template uses operator new which isn't allowed in
SpiderMonkey sources. The Vector is also a more appropriate data
structure for these short, infrequently modified lists.

Remove the Decoder::visitors() method which was unused and leaking
internal representation details anyway.

--HG--
extra : rebase_source : 9fe5bceb9dd7eb7375187f62f27289c3900240f4
2015-09-18 10:40:00 +02:00
Victor Carlquist 2f51a9688a Bug 984018 - Fixed build on Arm64. r=nbp
--HG--
extra : rebase_source : cee1b06da3fb8c8ae8a260498e365bc2fc382ba8
2015-09-17 09:24:36 -03:00
Jim Blandy ce433c2bf8 Bug 1209325: Move implementation of JS WeakMap type into its own file. r=terrence.
--HG--
rename : js/src/vm/WeakMapObject.h => js/src/builtin/WeakMapObject.h
extra : rebase_source : f898cb0c33cd56a9a93a24eabf2f1699dfcb8d7a
2015-09-01 23:17:26 -07:00
Mike Hommey 86a76ef43b Bug 1207897 - Add a configure option to build multiple build backends. r=gps
Also record what backends were requested at configure time so that running
`mach build-backend` or `config.status` uses the same set.
2015-09-29 09:23:50 +09:00
Tooru Fujisawa 23b34083e1 Bug 1209132 - Check for SSE3 in MacroAssemblerX86::convertUInt64ToDouble. r=sstangl
--HG--
extra : commitid : 39WFyzMtTRY
extra : rebase_source : 35a672646403ae1b8b2a97d7bc94e1c2dfc7533b
2015-09-29 07:33:43 +09:00
Tooru Fujisawa f4e5d60cf3 Bug 1208624 - Disable dense-from-sparse.js for frequent timeout. r=Waldo
--HG--
rename : js/src/jit-test/tests/arrays/dense-from-sparse.js => js/src/jit-test/manual-tests/dense-to-sparse.js
extra : commitid : A69aCktMYyt
extra : rebase_source : 551ce82ca059813f9c7b12ee79ce1b5c3dfffe8a
2015-09-29 07:57:12 +09:00
Terrence Cole c4ccb272ae Backout cca86cd156cf (Bug 1196847) for regressing EarleyBoyer. 2015-09-28 14:57:16 -07:00
Terrence Cole b5775180d1 Backout 74608aa063b9 (Bug 1196847) for regressing EarleyBoyer. 2015-09-28 14:56:57 -07:00
Sean Stangl b0aa2e52e9 Bug 1206650 - Part 2/2 - Use the dest register for scratch in alu_dbl(). r=nbp 2015-09-21 14:52:38 -07:00
Sean Stangl f7e01a641d Bug 1206650 - Part 1/2 - Clean up load8ZeroExtend(). r=nbp 2015-09-21 14:28:31 -07:00
Jan de Mooij 7abf7b0246 Bug 1205707 part 1 - Clean up some is-TypedArrayObject code in Ion. r=Waldo 2015-09-28 13:30:42 +02:00
Jan de Mooij 67828960f0 Bug 1191635 - Fix stack limit for evalInWorker runtime. r=bhackett 2015-09-28 13:30:40 +02:00
Jan de Mooij 34c825ad7d Bug 1207943 - Fix an assert in MacroAssembler::guardObjectType. r=bhackett 2015-09-28 13:30:38 +02:00
Wes Kocher 40f2f82907 Merge m-c to inbound, a=merge 2015-09-25 18:02:38 -07:00
Jeff Walden 780b2875a9 Bug 1101561 - Fix generator bootstrapping (for legacy and star generators both) to be OOM-safe. r=jandem
--HG--
extra : rebase_source : a80a7ad7bbac563e489c8c110d9df40a26a161ca
2015-09-24 12:51:56 -07:00
Jeff Walden 5cda3c1e75 Bug 1101561 - Fix %IteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : dc72bcf441d9ee39b893df3ba78cbb6e61c5336f
2015-09-24 12:51:55 -07:00
Jeff Walden bd623be2ad Bug 1101561 - Fix %StringIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 536f5a139a86b7749bf9f868e0e7604c0937db98
2015-09-24 12:51:55 -07:00
Jeff Walden e815f375b1 Bug 1101561 - Fix %ArrayIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 1b01d8f6fc9d5c95036c161b8ac241adfe39dca3
2015-09-24 12:51:55 -07:00
Jeff Walden 137cd22356 Bug 1101561 - Fix StopIteration class initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 15606a30fdff42d358977a793e1f4ff24dbe3fd3
2015-09-24 12:51:55 -07:00
Jeff Walden 91ee1fd4d4 Bug 1101561 - Move ensuring classes needed by parsing into a single method, and assert all needed prototypes are created as delegates. r=jandem
--HG--
extra : rebase_source : 4232e19fd44e4f6d213cb1142179ff4ca5fa6000
2015-09-25 11:22:28 -07:00
Terrence Cole 0c90745b80 Bug 1196847 - Part 2: Implement a cell hasher that uses unique id based hashes; r=jonco
--HG--
extra : rebase_source : e1464d566ec7dbf85b1b9d861450906945057e23
2015-08-26 14:51:35 -07:00
Terrence Cole a10a39f891 Bug 1196847 - Part 1: Allow storage of a unique id for a cell independent of address; r=jonco
* * *
imported patch rewrite_uid_on_ht_with_zone_sweeping

--HG--
extra : rebase_source : e0d01c24e9ea7cdb9660f5cac3b65699eb091cfd
2015-08-20 10:35:22 -07:00
Wei-Cheng Pan fb94baa0ac Bug 877896 - Print stack trace in the console service. r=bholley 2015-09-16 18:16:56 +08:00
Jeff Walden 9bc7583ece Back out 62ab5e142af3, 387c21d5c4e3, e3138a3efe4a, d8b09e2a11f1, 8add4271e98c, and ead219581dbe for bustage. r=badness-10000 in a CLOSED TREE 2015-09-24 19:43:36 -07:00
Jeff Walden 0bdea7ee42 Bug 1205937. r=jandem, with various input from efaust as well
--HG--
extra : rebase_source : 2647386aa30803f13ca8789454675e98cb167ece
2015-09-22 13:54:00 -07:00
Jeff Walden 2b52966dc7 Bug 1101561 - Fix generator bootstrapping (for legacy and star generators both) to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 4508a3ec55595d62c29776715d82f46e2739a014
2015-09-24 12:51:56 -07:00
Jeff Walden 911f434868 Bug 1101561 - Fix %IteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 149a8880d6b54d634c044d2fdd1255bdd547b153
2015-09-24 12:51:55 -07:00
Jeff Walden d551aa37b6 Bug 1101561 - Fix %StringIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 345fa7073d8fcbabcbd98bff8c5c7452f81ffa09
2015-09-24 12:51:55 -07:00
Jeff Walden 678917f7ca Bug 1101561 - Fix %ArrayIteratorPrototype% initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 023690c37e1abe6cd8317180153e2a8610a4802d
2015-09-24 12:51:55 -07:00
Jeff Walden ccc0106dfb Bug 1101561 - Fix StopIteration class initialization to be OOM-safe. r=jandem
--HG--
extra : rebase_source : 63f71dbb418f37fc33b2b2497c545b9083d4a535
2015-09-24 12:51:55 -07:00
Jeff Walden 3214fcbcb6 Micro-fix to the parser for a linking issue that *seemingly* should affect everyone, yet hasn't produced any complaints I'm aware of yet. No bug, r=me for a trivial refactoring that evades the problem
--HG--
extra : rebase_source : f9a5538c0d20e4a77b6d692b13849e32a5015a35
2015-09-24 18:45:54 -07:00
Till Schneidereit 2819a9f44b Bug 1208067 - Ensure that self-hosted functions with innner functions aren't relazified. r=jandem
--HG--
extra : rebase_source : 83b0c1e600a798a154ed0037e3b12f2780436aff
2015-09-24 23:19:56 +02:00
Nick Fitzgerald b3dadc255e Bug 1206290 - Part 1: Implement a JS::ubi::PostOrder depth first traversal; r=sfink 2015-09-24 14:01:22 -07:00
Nick Fitzgerald 896a2e9849 Bug 1206290 - Part 0: Move js/UbiNodeTraverse.h to js/UbiNodeBreadthFirst.h; r=sfink
--HG--
rename : js/public/UbiNodeTraverse.h => js/public/UbiNodeBreadthFirst.h
2015-09-24 14:01:22 -07:00
Wes Kocher a8c9792653 Backed out changeset 6d452e559186 (bug 1206987) for causing windows jit test timeouts 2015-09-25 12:48:59 -07:00
Terrence Cole efe4f5d3ea Bug 1207730 - Update comments in Barrier.h and sort classes in same order; r=sfink
--HG--
extra : rebase_source : 6e1aadbbfcf16bd6198d36c643c86282dc97a397
2015-09-23 11:06:52 -07:00
Terrence Cole 9f3728184b Bug 1205454 - Consolidate the tagged pointer marking methods; r=sfink
--HG--
extra : rebase_source : 18d7fe3f1f7d652e07c18a6e40b1b88f0e36cef0
2015-09-17 10:57:55 -07:00
Terrence Cole d4c2e2b686 Bug 1207793 - Fix unified bustage from the TaggedPointer split; r=jolesen
--HG--
extra : rebase_source : 40bfb3129919ba6d69f6c5940667cf48db66f7dd
2015-09-22 16:25:12 -07:00
Terrence Cole 1f39d33b09 Bug 1206987 - Only suppress windows failure dialog boxes during tests; r=sfink
--HG--
extra : rebase_source : 26bbcb7fc7787cf43bc3b963b1e151c3152ccc81
2015-09-22 14:32:43 -07:00
Benjamin Bouvier b1713a8478 Bug 1207449: Conservatively mark MFilterTypeSet with phis as not float32-compatible; r=h4writer
--HG--
extra : commitid : BDXD4wBQ10g
extra : rebase_source : 9d09d01c339aedac81db80be76f8a77cea6b0b45
2015-09-23 19:43:00 +02:00
Tooru Fujisawa 7a5d38258f Bug 1199345 - Extend JSOP_NEWARRAY/JSOP_INITELEM_ARRAY/JSOP_SPREADCALLARRAY operand to uint32. r=Waldo
--HG--
extra : commitid : imG7mt4Vvv
extra : rebase_source : 3989d27762c33124fa9223960fadf44fb7756d73
2015-08-29 17:56:38 +09:00
Tooru Fujisawa d6f6b9e0d0 Bug 1201869 - Part 2: Make an array sparse when exceeds the limit of dense array length. r=Waldo
--HG--
extra : commitid : Hf5cv9HAcnR
extra : rebase_source : 3f8c46f4549cbfe8d267f6de4b930562681fcd25
2015-09-05 13:24:02 +09:00
Jeff Walden 4651e27655 Bug 1201869 - Part 1: Fix the maximum length of a dense array. r=arai
--HG--
extra : commitid : I8tr1GFtV1G
extra : rebase_source : 484ef497e9f9dd3ccc5c117fac8b027e0892395f
2015-09-05 12:51:18 +09:00
Tooru Fujisawa 6ac3f82e0b Bug 1201869 - Part 0: Rename MNewArray::count to MNewArray::length. r=Waldo
--HG--
extra : commitid : 8LecdYFVNex
extra : rebase_source : e83b4914c7802a5ea6292f342e13c28ef42be265
2015-09-19 12:03:24 +09:00
Nicholas Nethercote b08e7b3457 Bug 1202561 - Mark no-longer-used constants in jsversion.h. r=jorendorff.
--HG--
extra : rebase_source : 796aa9a8ffadc9ec82fd1c5d66b5148f6c39ed5c
2015-09-23 11:51:31 -07:00
Ted Mielczarek 54fef6bd96 bug 1171649 - Implement arm/iOS support in JS JITs. r=jandem
This patch includes some assembly files from llvm's compiler-rt to implement __aeabi_ividmod and __aeabi_uidivmod.

--HG--
extra : commitid : 3kYDArfQ2b8
extra : rebase_source : da75248c6cf3709e96616bd22f8ee696cba44aa4
2015-09-23 10:21:41 -04:00
Terrence Cole e4ca9c4a2b Backout 748829f0a151 (Bug 1206987) for breaking Jit on a CLOSED TREE. 2015-09-23 15:19:24 -07:00
Wes Kocher b19d88b060 Backed out 7 changesets (bug 1206168, bug 1177318, bug 1054756) for hazard build failures CLOSED TREE
Backed out changeset e892727a373a (bug 1206168)
Backed out changeset 6c93d1044b7e (bug 1054756)
Backed out changeset 105433ce195b (bug 1054756)
Backed out changeset 13128a88f2b9 (bug 1054756)
Backed out changeset c250abf4fd17 (bug 1054756)
Backed out changeset fc9fef646a97 (bug 1054756)
Backed out changeset c8897f109a08 (bug 1177318)
2015-09-23 12:31:19 -07:00
Terrence Cole 34664b8354 Bug 1206987 - Only suppress windows failure dialog boxes during tests; r=sfink
--HG--
extra : rebase_source : e0546cf286e70cbf277bde1055e376c0f3d13670
2015-09-22 14:32:43 -07:00
Benjamin Bouvier b34e6f5815 Bug 1207232: Let lockOwner be Atomic; r=terrence
--HG--
extra : commitid : FFrGdIRgTdY
extra : rebase_source : c04b2c8ed994fd3d74f3a4467015199d03e130ee
2015-09-22 19:26:21 +02:00
Jason Orendorff 5cfd64bf4d Bug 1206168 - Rename JS_DefaultValue to JS::ToPrimitive. r=jandem.
--HG--
extra : commitid : 4nCMAna0EKm
extra : rebase_source : b3590ed380216e2c1202b3773e7894702dc19a9e
2015-09-18 12:26:48 -05:00
Jason Orendorff 54e92d9beb Bug 1054756, part 5 - Remove Class::convert.
--HG--
extra : commitid : KrjkP1flM3c
extra : rebase_source : 8c367e3158528e92ac8ebc51521d32472f1e5bb1
2015-03-20 16:28:59 -05:00
Jason Orendorff 69f5edcebe Bug 1054756, part 4 - Remove BaseProxyHandler::defaultValue. r=jandem.
--HG--
extra : commitid : 2c3wdgbGsGs
extra : rebase_source : d7d00204286b855fc90e19ac85c74f046166b643
2015-03-20 14:03:24 -05:00
Jason Orendorff 81838ba2bd Bug 1054756, part 3 - Implement Symbol.toPrimitive. Replace existing convert hooks with methods. r=jandem.
JSClass::convert is no longer used after this, but to minimize the noise, it will be deleted in a separate patch. However all non-nullptr convert hook implementations must be replaced with [@@toPrimitive] methods in this patch to avoid changing the behavior.

The changes in XrayWrapper.cpp fix a pre-existing bug: when an Xray wrapper tries to emit the "Silently denied access" warning, if id is a symbol, the existing code triggers an error trying to convert it to a string for the warning message. Implementing Symbol.toPrimitive revealed this bug; the fix is straightforward.

--HG--
extra : commitid : Bod43vTkd1o
extra : rebase_source : 0cd6b8e3e7046952631b1b471430c5ab5002c7d8
2015-03-20 14:02:55 -05:00
Jason Orendorff 9719a36a06 Bug 1054756, part 2 - Move ToPrimitive slow paths into a non-inline function. r=jandem.
--HG--
extra : commitid : AE8kB73rGNo
extra : rebase_source : 74417a0623efca659939b9e2202e7ed2e82da52c
2014-10-31 17:17:20 -05:00
Jason Orendorff ec6bc5a0e0 Bug 1054756, part 1 - Support symbol-keyed properties in JSXrayTraits::resolveOwnProperty(). r=jandem.
--HG--
extra : commitid : 8L9zXvmmUaY
extra : rebase_source : 3e472abcd4b4d8860be8a57200b29bb83e11d40e
2015-07-07 19:22:20 -05:00
Jason Orendorff e39e70661e Bug 1177318 - Add Ion support for JSOP_TOSTRING, to make template strings faster. r=jandem.
--HG--
extra : commitid : 3LD3WfWJRcd
extra : rebase_source : 639d3d9cadbc6ef6fb1c9b411189c37f94e4eac1
2015-08-12 11:12:07 -05:00
Nick Fitzgerald 54a8708a3a Bug 1182653 - Use JSRuntime* instead of JSContext* in ubi::Node infrastructure; r=sfink
This enables the use of ubi::Node in situations where a JSContext* is not
available, and paves the way for debugging utilities to dump shortest paths from
GC roots to a given ubi::Node that can be used while paused in a debugger.
2015-09-23 09:39:56 -07:00
Benjamin Bouvier f2632d25ad Bug 1207413: Check callers of TypeSets::unionSets for OOM; r=h4writer
--HG--
extra : commitid : BsmftzOWDho
extra : rebase_source : 8a472c0af72b9f78b3abcceef9c658e8bc91b7da
extra : amend_source : d6f61674fcdb64e3298d40920b548f73045b3ca0
2015-09-23 11:57:26 +02:00
Till Schneidereit 7c4d444f52 Bug 1188347 - Part 4: Root LazyScript* in CloneScriptIntoFunction. r=bustage
--HG--
extra : rebase_source : 64ba4d9dd94577b489ea922f7397e829d8662bd9
2015-09-23 17:15:03 +02:00
Jon Coppeard 279474c28d Bug 930414 - Implement ModuleEvaluation method r=shu 2015-09-23 15:47:40 +01:00
Jon Coppeard 72772b7a50 Bug 930414 - Implement ModuleDeclarationInstantiation method r=shu 2015-09-23 15:47:40 +01:00
Jon Coppeard 424ab1e851 Bug 930414 - Implement module ResolveExport method r=shu 2015-09-23 15:47:39 +01:00
Jon Coppeard 76c5197467 Bug 930414 - Add hook for HostResolveImportedModule r=shu 2015-09-23 15:47:39 +01:00
Till Schneidereit 52972d2713 Bug 1188347 - Part 3: Only run test relying on debug builds in debug builds. r=bustage 2015-09-23 15:03:18 +02:00
Till Schneidereit 26ec27b525 Bug 1188347 - Part 2: Fix bustage. r=jandem
--HG--
extra : rebase_source : 45a1b1d49b545c1c04c63cd7ae5e8c97152c19e2
2015-09-23 14:00:03 +02:00
Till Schneidereit 3e91adfbc7 Bug 1188347 - Properly handle OOM during script cloning. r=jandem
--HG--
extra : rebase_source : f867184b557677ad18d831c0afed40907f4c09a4
2015-09-23 13:07:18 +02:00
Tooru Fujisawa f2519a89ab Backed out changeset 4a1c66651bf0 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:46 +09:00
Tooru Fujisawa d7f417dc91 Backed out changeset 7757ecad90b7 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:46 +09:00
Tooru Fujisawa ffa86e6488 Backed out changeset 84e1d41336a5 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:45 +09:00
Tooru Fujisawa 78200307b7 Backed out changeset 15f4976a4937 (bug 1199345) to backout patches for bug 1201869 2015-09-23 16:41:45 +09:00
Tooru Fujisawa 81fa7d6aad Backed out changeset fdac8ff4e7a4 (bug 1201869) for windows SM(p) OOM 2015-09-23 16:41:45 +09:00
Victor Carlquist 86fe3fdc1d Bug 1207236 - ARM64: Build errors with --enable-simulator=arm64. r=h4writer 2015-09-22 18:29:13 -03:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Tooru Fujisawa 0d88b36a64 Bug 1201869 - Part 3: Add missing using mozilla::ArrayLength. r=bustage CLOSED TREE
--HG--
extra : rebase_source : 0f1634268714c1e90e4dd5c68ea50118a2ea4463
2015-09-23 15:42:07 +09:00
Tooru Fujisawa a9650528da Bug 1199345 - Extend JSOP_NEWARRAY/JSOP_INITELEM_ARRAY/JSOP_SPREADCALLARRAY operand to uint32. r=Waldo
--HG--
extra : rebase_source : 00a67bd5e8fdc583bbb2041ed56e683373909d56
2015-08-29 17:56:38 +09:00
Tooru Fujisawa f26de1fc39 Bug 1201869 - Part 2: Make an array sparse when exceeds the limit of dense array length. r=Waldo
--HG--
extra : rebase_source : ed89e0020bc4562822f8290e325d37ce6e445b0f
2015-09-05 13:24:02 +09:00
Jeff Walden 98b1851781 Bug 1201869 - Part 1: Fix the maximum length of a dense array. r=arai
--HG--
extra : rebase_source : d152e41ad1d2671dbf605e835d42009938d044fa
2015-09-05 12:51:18 +09:00
Tooru Fujisawa 212ea16643 Bug 1201869 - Part 0: Rename MNewArray::count to MNewArray::length. r=Waldo
--HG--
extra : rebase_source : 73b083bd3151faa087b562c8f6c484ae4d5ce7ef
2015-09-19 12:03:24 +09:00
Jeff Walden 4046fe1490 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Jeff Walden 14f22a4c94 Bug 1206750 - Don't assert when |export ... from 'str'| is followed by a regular expression literal on a new line, with no intervening semicolon. r=arai
--HG--
extra : rebase_source : 2a81152786a897dfd3a6b6c607e000b33e1f4288
2015-09-21 16:56:25 -07:00
Terrence Cole a575e1b246 Backout 5e9104665b88 (Bug 1206987) for jsapi-tests build failures on a CLOSED TREE. 2015-09-22 16:26:10 -07:00
Terrence Cole b085be6a53 Bug 1206987 - Only suppress windows failure dialog boxes during tests; r=sfink 2015-09-22 14:32:43 -07:00
Jon Coppeard b1c196880f Bug 1206485 - "Boot loop after first boot on some devices (Xperia M2, ...)" [r=terrence f=lissyx+mozillians] 2015-09-22 05:40:00 -07:00
Nick Fitzgerald 1952467338 Bug 1199221 - Implement JS::ubi::Node::size for js::ObjectGroup referents; r=sfink 2015-09-22 12:15:24 -07:00
Nick Fitzgerald 5c1fb4b1f9 Bug 1199220 - Implement JS::ubi::Node::size for js::BaseShape referents; r=sfink 2015-09-22 12:15:24 -07:00
Nick Fitzgerald dd4075f4da Bug 1199219 - Implement JS::ubi::Node::size for js::Shape referents; r=sfink 2015-09-22 12:15:24 -07:00
Nick Fitzgerald 9305af1a00 Bug 1199218 - Implement JS::ubi::Node::size for js::LazyScript referents; r=sfink 2015-09-22 12:15:24 -07:00
Nick Fitzgerald 3cb27f5fd9 Bug 1199217 - Implement JS::ubi::Node::size for js::jit::JitCode referents; r=sfink 2015-09-22 12:15:23 -07:00
Nick Fitzgerald e1f7ac5d49 Bug 1199216 - Implement JS::ubi::Node::size for JSScript referents; r=sfink 2015-09-22 12:15:23 -07:00
Nick Fitzgerald 6085d9d0f0 Bug 1199215 - Implement JS::ubi::Node::size for JS::Symbol referents; r=sfink 2015-09-22 12:15:23 -07:00
Nick Fitzgerald 6f88dbdf6e Bug 1206288 - Remove JS::ubi::SimpleEdge and make JS::ubi::Edge a concrete class; r=shu 2015-09-22 11:34:30 -07:00
Jan de Mooij 3def9c33a7 Bug 1207210 - Fix MTypeBarrier::alwaysBails to handle ObjectOrNull inputs correctly. r=h4writer 2015-09-22 20:11:31 +02:00
Jan de Mooij c985f025b2 Bug 1199952 - Mark formal arguments when we have a LazyLink frame. r=nbp 2015-09-22 19:08:21 +02:00
Benjamin Bouvier 86e7530420 Bug 1205708: Check if validation failed before reporting helper thread failure in Odin; r=luke
--HG--
extra : commitid : wOOPXy1fXN
extra : rebase_source : f03aa9184a4cb390c50ffa49fe34852824e7c6ae
2015-09-21 14:13:18 +02:00
Brian Hackett 338e221561 Bug 1199898 - Tolerate constants appearing before interrupt checks during instruction reordering, r=sunfish. 2015-09-22 09:20:26 -06:00
Brian Hackett 3426511eb3 Bug 1203790 - Trigger a pre barrier when shrinking the initialized length of unboxed arrays, r=jandem. 2015-09-22 09:15:46 -06:00
Brian Hackett 65b10d348f Bug 1204165 - Fix typo when concatenating arrays with different unboxed layouts, r=jandem. 2015-09-22 09:11:50 -06:00
Brian Hackett e49a6e8fcc Bug 1204722 - Make sure that unboxed arrays created from literals are compatible with the type of the literal's elements, r=jandem. 2015-09-22 09:07:35 -06:00
Ted Mielczarek c9723e04e7 bug 1205273 - Define XP_IOS in js/src. r=glandium
--HG--
extra : commitid : C8piP4s4lHb
extra : rebase_source : 0b85f1b20b898ffb061e928941ef34236753d502
2015-09-22 10:51:53 -04:00
Brian Hackett 529898fbf5 Bug 1205870 - Make sure all possible unboxed array inline capacities are accounted for, r=jandem. 2015-09-22 08:59:07 -06:00
Brian Hackett b684bd7d54 Bug 1168091 - Initialize startLine and startColumn members in FunctionBox constructor, r=jorendorff. 2015-09-22 08:54:11 -06:00
Jon Coppeard 0325857e5a Bug 1204857 - Report an error if there's trailing garbage after parsing a module r=efaust 2015-09-22 14:03:20 +01:00
Jon Coppeard 528dc79f84 Bug 1191576 - Fix JIT invalidation spew to work when called while compacting r=terrence 2015-09-22 14:03:19 +01:00
Jon Coppeard 1fb4684bf5 Bug 1206677 - Fix the NoGC version of NewStringCopyNDontDeflate() to not report error on failure r=jandem 2015-09-22 14:03:19 +01:00
Andrea Marchesini c36e94b0c9 Bug 1203561 - Use StructuredCloneHelper in StackScopedCloneData, r=smaug 2015-09-22 12:54:34 +01:00
Carsten "Tomcat" Book 6d064687ac Merge mozilla-central to mozilla-inbound 2015-09-22 12:49:44 +02:00
Carsten "Tomcat" Book 651a168616 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : toolkit/devtools/server/actors/styleeditor.js => devtools/server/actors/styleeditor.js
rename : toolkit/devtools/server/actors/stylesheets.js => devtools/server/actors/stylesheets.js
rename : toolkit/devtools/gcli/commands/screenshot.js => devtools/shared/gcli/commands/screenshot.js
2015-09-22 12:35:13 +02:00
sajitk b0607a7ed7 Bug 1205744 - Removed redundant method IsContextRunningJS. r=h4writer 2015-09-18 20:18:00 +02:00
Nicolas B. Pierron 5f62613026 Bug 1204726 - Make sure that the MacroAssembler is no longer rooted when onIonCompilation is called. r=h4writer 2015-09-16 10:37:00 +02:00
Tooru Fujisawa 5d406f0ff6 Bug 773687 - Fix assertion pattern in RegExp with sticky flag. r=till
--HG--
extra : rebase_source : 42307a81dcee87426ace32a276f34281b550bc7f
2015-09-20 00:00:36 +09:00
J. Ryan Stinnett 4f1af0e003 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools
--HG--
extra : commitid : BSf4D59s9HF
extra : rebase_source : 4d14e1aa3ad93bbb426861336e8b703bc1e0b3af
2015-09-21 12:07:31 -05:00
J. Ryan Stinnett efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Tooru Fujisawa bf61d82b0c Bug 1203964 - Part 5: Move MacroAssembler::lshift64 into generic macro assembler. r=sstangl
--HG--
extra : rebase_source : 50578325a8227ea4101b5535cb8a609632f79a51
2015-09-13 07:33:35 +09:00
Tooru Fujisawa bb6e2b2e1a Bug 1203964 - Part 4: Move MacroAssembler::lshiftPtr into generic macro assembler. r=nbp
--HG--
extra : rebase_source : 5f74ff1b2ea0cc5f6869119b8beb19f07c5cfd59
2015-09-13 07:33:35 +09:00
Tooru Fujisawa 8250d9dc2c Bug 1203964 - Part 3: Move MacroAssembler::rshift64 into generic macro assembler. r=hev
--HG--
extra : rebase_source : 4eba3c9ed0c8141c267cd4e2985074ef2c80a2a1
2015-09-12 11:16:25 +09:00
Tooru Fujisawa 72dc86fadd Bug 1203964 - Part 2: Move MacroAssembler::rshiftPtrArithmetic into generic macro assembler. r=jandem
--HG--
extra : rebase_source : 3cdaaee1984f5e0aece4dfe937bce1ed856204da
2015-09-12 11:11:39 +09:00
Tooru Fujisawa bac0aaf828 Bug 1203964 - Part 1: Move MacroAssembler::rshiftPtr into generic macro assembler. r=h4writer
--HG--
extra : rebase_source : 8c4f7494b43202c867f7215acac7a2e53bb24bc9
2015-09-12 11:01:17 +09:00
Bobby Holley a15b59d7f8 Bug 1206817 - Take ownership of error reporting in the component loader. r=bz 2015-09-21 17:05:59 -07:00
Kannan Vijayan cc5cb89e2b Bug 1084009 - Part 1/3 - Parse sync scripts off the main thread. r=smaug 2015-09-21 19:07:01 -04:00
Eric Faust 9f997cc687 Bug 1192412 - Followup: Unbreak js1_8_5/reflect-parse/classes.js, erroneously neutered. (rs=jorendorff) 2015-09-21 15:40:25 -07:00
Jeff Walden 65b65a4999 Bug 1187234 - Throw a TypeError when Array.isArray is passed a revoked proxy. r=efaust 2015-08-23 01:10:24 -07:00
Jeff Walden 9f027cf405 Bug 1206300 - Allow immutable prototypes to be disabled at compile time with a single-line change, but don't actually disable them. r=jorendorff 2015-09-18 17:16:08 -07:00
Jeff Walden bdefda6d0b Bug 1205586 - new Date().toLocale{,Date,Time}String() should return appropriately differing strings as the local time zone/default locale change. r=till 2015-09-18 17:16:08 -07:00
Terrence Cole 3301b277a1 Bug 1188290 - Remove an incomplete assertion about store buffer state; r=jandem 2015-09-21 09:41:29 -07:00
Jan de Mooij fa74c41137 Bug 683218 - Disable __noSuchMethod__ support. r=jorendorff 2015-09-21 19:53:36 +02:00
Jim Blandy 8d74976282 Bug 1206590: Move gcWeakMapList from JSCompartment to JS::Zone. r=terrence
--HG--
extra : rebase_source : 287d3e570e5bdd149ad4cea31c7c8cf49be773dd
extra : amend_source : 1bf0a04c6adfb1ed20437fccb02b6d446c7d88eb
2015-09-18 23:07:34 -07:00
Tooru Fujisawa fa41a95f62 Bug 774364 - Part 4: Add setRNGState testing function. r=sstangl
--HG--
extra : rebase_source : 94f14759ccc270b0cf3de5550e81a0c9faa24a0d
2015-08-07 07:42:17 +09:00
Tooru Fujisawa f85e8206c9 Bug 774364 - Part 3: Move Math.random() to macro assembler. r=sstangl,hev,nbp, f=rankov
--HG--
extra : rebase_source : 1d77ed28dcb1999130294b9b6bf8cad1b2779382
2015-08-07 07:41:16 +09:00
Tooru Fujisawa 382e758bf4 Bug 774364 - Part 2: Move architecture specific function from BaseAssembler-x86-shared.h to BaseAssembler-x86.h and BaseAssembler-x64.h. r=sstangl
--HG--
extra : rebase_source : fa23208393ce9df8ca4c3b16685dba412df6fa71
2015-08-07 07:39:12 +09:00
Christoph Kerschbaumer 668ebc2ff2 Bug 1206149 - Use channel->AsyncOpen2() js/xpconnect/loader/mozJSSubScriptLoader.cpp (r=sicking) 2015-09-19 20:26:09 -07:00
Mike Hommey 538706caba Bug 1203840 - Trigger dirty pages purge after CC. r=njn,r=smaug,r=mccr8
Jemalloc 4 purges dirty pages regularly during free() when the ratio of dirty
pages compared to active pages is higher than 1 << lg_dirty_mult.  We set
lg_dirty_mult in jemalloc_config to limit RSS usage, but it also has an impact
on performance.

So instead of enforcing a high ratio to force more pages being purged, we keep
jemalloc's default ratio of 8, and force a regular purge of all dirty pages,
after cycle collection.

Keeping jemalloc's default ratio avoids cycle-collection-triggered purge to
have to go through really all dirty pages when there are a lot, in which case
the normal jemalloc purge during free() will already have kicked in. It also
takes care of everything that doesn't run the cycle collector still having
a level of purge, like plugins in the plugin-container.

At the same time, since jemalloc_purge_freed_pages does nothing with jemalloc 4,
repurpose the MEMORY_FREE_PURGED_PAGES_MS telemetry probe to track the time
spent in this cycle-collector-triggered purge.
2015-09-20 17:43:43 +09:00
Brian Hackett e76fb387ee Backout d29fef133d8a for octane regressions. 2015-09-19 14:46:48 -06:00
Jan de Mooij 54366d34b4 Bug 1204073 - Optimize GETELEM with constant string-or-symbol index better in Ion. r=bhackett 2015-09-19 21:00:03 +02:00
Brian Hackett 1e0c0f6319 Bug 1206265 - Add missing increment operations, r=jandem. 2015-09-19 12:44:39 -06:00
Jan de Mooij eee51a81be Bug 1203791 - Fix LazyLink issue with Debugger::onIonCompilation. r=h4writer 2015-09-19 20:00:40 +02:00
Jan de Mooij e51d81ee75 Bug 1201850 - Don't elide stack check when getelem/setelem caches are used. r=bhackett 2015-09-19 20:00:16 +02:00
Jan de Mooij cee00a968a Bug 1199175 - Fix Debugger::slowPathOnLeaveFrame to remove the frame on OOM too. r=shu 2015-09-19 20:00:14 +02:00
Brian Hackett 42b1701245 Bug 1198861 - Improve type barrier logic to avoid unnecessary tests on primitive types, and fix redundant baseline stubs for SETELEM property adds, r=jandem. 2015-09-19 10:40:22 -06:00
Jon Coppeard 416bd71ac3 Bug 1201057 - Update shell args for OOM tests now we don't have to worry about unhandlable OOMs r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard 957e1c5086 Bug 1201057 - Use AutoEnterOOMUnsafeRegion in places where we can't handle OOM r=terrence 2015-09-21 14:31:51 +01:00
Jon Coppeard b815d04f9b Bug 1201057 - Move AutoEnterOOMUnsafeRegion to Utility.h with the other OOM simulation infrastructure r=terrence 2015-09-21 14:31:51 +01:00
Benjamin Bouvier f1cb998d7b Bug 1206640: Fix an implicit constructor in PosixNSPR.cpp; r=nbp
--HG--
extra : commitid : 9f3rNLn1aR6
extra : rebase_source : 92d5346a52c2f7125b6f434f19e2d73ccb63bbce
2015-09-16 17:10:13 +02:00
Benjamin Bouvier 358a47b0ba Bug 1205842: Don't add range asserts to recovered on bailouts instructions; r=nbp
--HG--
extra : commitid : CiHyGriq9B3
extra : rebase_source : e99244d4f1ed79ee00391d02626ef22f182a3fd2
2015-09-18 09:02:03 +02:00
Benjamin Bouvier 7eeac1fde4 Bug 1204604: Check for int32 value, not int32 type, in SIMD.T.{replaceLane,shuffle,swizzle}; r=lth
--HG--
extra : commitid : 7MmgnJUuUwi
extra : rebase_source : d69d9d84fe3904972d5f3ddbbaf7d684bfd0b321
2015-09-21 12:52:53 +02:00
Heiher e8d3447c57 Bug 1206591 - IonMonkey: MIPS32: Move LIRGeneratorMIPS::visitRandom to architecture-specific. r=arai
---
 js/src/jit/mips-shared/Lowering-mips-shared.cpp | 11 -----------
 js/src/jit/mips-shared/Lowering-mips-shared.h   |  1 -
 js/src/jit/mips32/Lowering-mips32.h             |  1 +
 3 files changed, 1 insertion(+), 12 deletions(-)
2015-09-22 00:32:17 +08:00