Commit Graph

57097 Commits

Author SHA1 Message Date
Enes Goktas
69fd7610fa Bug 1303236 - Skip check_vanilla_allocations if -flto flag is set; r=glandium
MozReview-Commit-ID: 7WOz6LpRP7L

--HG--
extra : rebase_source : 2147ee6816f976e38ccf456505beb1edfc8147dc
2016-09-21 12:31:41 -07:00
Ehsan Akhgari
cf60002f3c Bug 1306121 - Add support for emulating V8 stack frame formatting to SpiderMonkey; r=fitzgen 2016-10-03 16:48:00 -04:00
Tom Schuster
4e49d5103f Bug 1303714 - Always Unwrap ArrayBuffer in TypedArray constructor. r=bholley 2016-10-03 21:19:09 +02:00
Sebastian Hengst
4c034fe691 Backed out changeset 55734588d50e (bug 1306121) for failing SM test saved-stacks/async-principals.js. r=backout 2016-10-03 20:58:39 +02:00
Ehsan Akhgari
1530c55efb Bug 1306121 - Add support for emulating V8 stack frame formatting to SpiderMonkey; r=fitzgen 2016-10-03 14:34:43 -04:00
Ehsan Akhgari
882e2c307e Bug 1306756 - Remove the JS_strdup() overload accepting a JSRuntime*; r=sfink
There's no way to get a JSRuntime* in the JS API any more.
2016-10-03 12:13:35 -04:00
Shu-yu Guo
eed49d301a Bug 1304649 - Fix scope notes for lexical scopes. (r=sfink) 2016-10-03 17:48:31 -07:00
Shu-yu Guo
02dc0c0895 Bug 1298809 - Fix skipping lazy function expression bodies to account for semicolon. (r=Waldo) 2016-10-03 17:48:31 -07:00
Sander Mathijs van Veen
acb9b45ad4 Bug 1302367 - Use unsigned integer modulo instead of ModD opcode. r=nbp, r=jandem
--HG--
extra : rebase_source : 63337ef0e28137e69e7d7894cb21dcc5c3300c5e
2016-10-03 02:36:00 -04:00
Sebastian Hengst
256c9cf9ff Merge mozilla-central to autoland 2016-10-05 17:15:26 +02:00
Xidorn Quan
04ea7d3194 Bug 1307358 - Config ICU before assigning OS_*FLAGS. r=glandium
MozReview-Commit-ID: 3WFvykl9h40

--HG--
extra : rebase_source : fe5c3c9fdafdd895239abadf91311ebf3d3dfb8c
2016-10-05 17:37:03 +11:00
Jan de Mooij
9a0cca9117 Bug 1306963 - Fix some source compression issues. r=arai 2016-10-02 15:19:47 +02:00
Jan de Mooij
32f6de5c48 Bug 1301343 - Trace pointers stored in MIR. r=jonco,nbp 2016-10-02 15:49:57 +02:00
Yury Delendik
e3d691bf9d Bug 1306719 - Fix unified build compilation of MemoryProtectionExceptionHandler.cpp. r=ehoogeveen
MozReview-Commit-ID: DbK8jUGrAVY
2016-09-30 15:21:01 -05:00
Tooru Fujisawa
17c865d7bc Backed out changeset 7d4875921ecf for check_macroassembler_style.py failure (bug 1303178) 2016-10-01 09:08:53 +09:00
Tooru Fujisawa
99e876cfd9 Bug 1287298 followup - Use JS_ReportErrorNumberASCII instead of JS_ReportErrorNumber. r=bustage 2016-10-01 09:08:49 +09:00
Ehsan Akhgari
556af42028 Bug 1287298 - Add an API to give up ownership of ArrayBuffer data; r=Waldo
This is similar to stealing the buffer, except that the ArrayBuffer
won't be detached.  The caller is still responsible for freeing the
buffer.
2016-09-30 19:21:42 -04:00
Sean Stangl
652779a674 Bug 1303178 - Make ARM ScratchRegister usage explicit. r=nbp
--HG--
extra : amend_source : 27b725734731763ff3d53e53c47ef1c9b81fa1ab
2016-08-17 15:23:41 -07:00
Benjamin Bouvier
18cdeb32d1 Bug 1305318: Reject a typed jump to the top of a loop in a br_table; r=sunfish
MozReview-Commit-ID: 2THEPuKEXq7

--HG--
extra : rebase_source : 8f57b968c0f2ff09e741e49655f3c6a14e592311
extra : amend_source : 9a1d643f16f82e1b6ac01ff8ec57a430f5710fbb
2016-09-30 16:07:13 +02:00
Dan Gohman
10e576d7c9 Bug 1306506 - OdinMonkey: Don't require canonicalizable types when computing block signatures. r=luke 2016-09-30 08:27:43 -07:00
Benjamin Bouvier
786c5d0eb6 Bug 1303780: Get a reference into SIMD's memory at the end in ReplaceLane; r=jonco
MozReview-Commit-ID: LiLgZ48Cz3a

--HG--
extra : rebase_source : 730907dbf006a031ffc69290da90fbc22c901187
extra : amend_source : 9721e8507930092e8040768330d8e24477f37485
2016-09-30 14:54:31 +02:00
Benjamin Bouvier
5df71e1d94 Bug 1296640: Get a reference into SIMD's memory at the end in BinaryScalar; r=jonco
MozReview-Commit-ID: JXBjIWtDXS5
***
fold

--HG--
extra : rebase_source : 47e69778a15f35ba5c3510a3de71b10b793fd6ca
2016-09-30 15:06:29 +02:00
Terrence Cole
0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa
681cacc1f6 Bug 1290337 - Part 15: Replace Value parameter to const Value& in js/xpconnect. r=jandem 2016-09-11 18:15:24 +09:00
Tooru Fujisawa
b695cb6484 Bug 1290337 - Part 14: Replace Value parameter to HandleValue in js/ctypes. r=evilpie 2016-09-11 18:15:24 +09:00
Tooru Fujisawa
e0c7801dc3 Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
83ea1c9449 Bug 1290337 - Part 12: Use const reference in PodSet. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
22d9bd985f Bug 1290337 - Part 11: Replace ConstantOrRegister parameter to const ConstantOrRegister&. r=nbp 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
5b44531d1d Bug 1290337 - Part 10: Replace WrapperValue parameter tor const WrapperValue&. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
16abd7dbf8 Bug 1290337 - Part 9: Replace NumLit parameter to const NumLit&. r=bbouvier 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
da0e2aa2f2 Bug 1290337 - Part 8: Use const reference in VoidDefaultAdaptor and BoolDefaultAdaptor. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa
c72eb75470 Bug 1290337 - Part 7: Replace Value parameter to const Value& in GC. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
56fd9aac76 Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
0f1a2439c5 Bug 1290337 - Part 5: Replace Value parameter to const Value& in JIT. r=nbp 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
98f4254871 Bug 1290337 - Part 4: Replace Value parameter to HandleValue in js shell. r=sfink 2016-09-11 19:22:03 +09:00
Tooru Fujisawa
a18c43b831 Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa
b46b1c2f1f Bug 1290337 - Part 2: Replace jsval_layout parameter to const jsval_layout&. r=evilpie 2016-09-11 18:15:21 +09:00
Tooru Fujisawa
6b1908b14d Bug 1290337 - Part 1: Make ArgSeq and ArgList not to drop qualifier from argument types. r=nbp,jwalden 2016-09-11 18:15:21 +09:00
Jan de Mooij
231c78a263 Bug 1305948 - Fix OOM bug in TypedArrayObject::GetTemplateObjectForNative. r=smvv
--HG--
extra : rebase_source : 22e5b8c71bdbbc1b4070f4238a8622e9d862094a
2016-09-30 12:06:15 +02:00
Jan de Mooij
c6919b5db5 Bug 1302692 - Fix error messages for labeled continue statements, remove some dead code. r=jwalden
--HG--
extra : rebase_source : 9f21e417a9598bb8786e52d84fa5a6ac145d2b6d
2016-09-30 12:04:34 +02:00
Carsten "Tomcat" Book
6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Tooru Fujisawa
5b976f1c65 Bug 1289050 - Part 14: Remove pseudo-ASCII variant of JS_ReportError*. r=jwalden 2016-09-10 10:29:47 +09:00
Tooru Fujisawa
d07332fc5c Bug 1289050 - Part 13: Use ArgumentsAreLatin1 in frontend error reporting. r=jwalden 2016-09-10 10:28:35 +09:00
Sylvestre Ledru
08a4511275 Bug 1302401 - This check converts for(...; ...; ...) loops to use the new range-based loops in C++11. r=Waldo
MozReview-Commit-ID: LMvVDStstPx

--HG--
extra : rebase_source : b1b5c65f94e67fe7dcb404681d527681f1822f03
2016-09-27 15:20:44 +02:00
Sylvestre Ledru
f833237445 Bug 1302401 - This check is responsible for using the auto type specifier for variable declarations to improve code readability and maintainability. r=Waldo
MozReview-Commit-ID: 5elj65A6dzO

--HG--
extra : rebase_source : 2696ee83dab7856cb8f599ef9f3c13fd4cd5e5f7
2016-09-13 14:23:04 +02:00
Sylvestre Ledru
32ebdc26d1 Bug 1302401 - Finds integer literals which are cast to bool. r=Waldo
MozReview-Commit-ID: DkzKx4FnVTV

--HG--
extra : rebase_source : cac13e1cd9a2b794f0ec668ad84d8cade222213f
2016-09-13 14:22:49 +02:00
Tooru Fujisawa
10dd75211d Bug 1289050 - Part 2: Use ASCII or Latin1 variants of JS_ReportError in not-simple cases. r=jwalden 2016-08-15 19:20:01 +09:00
Tooru Fujisawa
c94460a3d9 Bug 1289050 - Part 1.1: Make error reporting cleaner in CloneBufferObject::setCloneBuffer_impl. r=jwalden 2016-09-29 12:03:05 +09:00
Tooru Fujisawa
89fced778e Bug 1289050 - Part 12: Use ASCII or Latin1 or UTF8 variant of JS_ReportErrorFlagsAndNumber. r=jwalden 2016-08-14 20:39:30 +09:00
Tooru Fujisawa
8dff9a4d76 Bug 1289050 - Part 10: Use Latin1 variant of JS_ReportErrorNumber for strerror. r=jwalden 2016-08-16 03:11:59 +09:00
Tooru Fujisawa
8e53519144 Bug 1289050 - Part 9: Use Latin1 variant of JS_ReportErrorNumber after encoding in Latin1. r=jandem 2016-08-15 23:05:08 +09:00
Tooru Fujisawa
cda82ac672 Bug 1289050 - Part 8.6: Convert SavedFrame::checkThis to file static function. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
d1cc9cc8ab Bug 1289050 - Part 8.5: Convert js::ErrorObject::checkAndUnwrapThis to file static function. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
aa633431d9 Bug 1289050 - Part 8.4: Convert some debugger related static methods to file static functions. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
9e25fd11a6 Bug 1289050 - Part 8.3: Remove unused parameter from JSMSG_JSON_CYCLIC_VALUE. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
288dbb9ff7 Bug 1289050 - Part 8.2: Remove unused parameter from ArgumentRangeMismatch and CTYPESMSG_ARG_RANGE_MISMATCH. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
413a9a7a1e Bug 1289050 - Part 8.1: Use %lu and %lx instead of PRIu32 and PRIx32 in WasmBinary.cpp. r=jwalden 2016-09-30 12:34:49 +09:00
Tooru Fujisawa
2f83147cad Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden 2016-08-15 23:05:04 +09:00
Tooru Fujisawa
7148db63d3 Bug 1289050 - Part 7: Use ASCII variant of JS_ReportErrorNumber when parameters are all static string. r=jwalden 2016-08-15 19:21:05 +09:00
Tooru Fujisawa
de1ccd1e93 Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden 2016-08-14 20:39:29 +09:00
Tooru Fujisawa
0f0d30482d Bug 1289050 - Part 4: Use Latin1 or UTF8 variants of JS_ReportError in js shell. r=sfink 2016-08-15 19:20:08 +09:00
Tooru Fujisawa
13d64d6825 Bug 1289050 - Part 3.1: Add mozJSComponentLoader::Location and use UTF8 variant of JS_ReportError in mozJSComponentLoader. r=jwalden 2016-09-30 12:34:44 +09:00
Tooru Fujisawa
215be0c5d2 Bug 1289050 - Part 3: Use UTF8 variant of JS_ReportError after re-encoding string. r=jwalden 2016-08-15 19:20:04 +09:00
Tooru Fujisawa
458bd95e06 Bug 1289050 - Part 2.2: Use ASCII variant of JS_ReportError when formatting JSClass::name, and assert it is ASCII. r=jwalden 2016-09-30 12:34:43 +09:00
Tooru Fujisawa
f2542c1849 Bug 1289050 - Part 2.1: Use JS_ReportErrorLatin1 in mozJSComponentLoader::LoadModule. r=jwalden 2016-09-30 12:34:43 +09:00
Emanuel Hoogeveen
0146779b73 Bug 1305360 - Part 2: Add an exception handler to annotate memory protection crashes in regions of interest. r=jandem, r=luke 2016-09-29 14:07:00 -04:00
Emanuel Hoogeveen
cc3c4940a7 Bug 1305360 - Part 1: Add a mechanism to allow users to opt out of protection for small buffers. r=jandem 2016-09-27 15:38:00 -04:00
Tooru Fujisawa
6d493d48ec Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden 2016-08-14 20:39:28 +09:00
Tooru Fujisawa
84422843f6 Bug 1289050 - Part 0: Use ArgumentsAreLatin1 in implicit ASCII variants of JS_ReportErrorNumber, JS_ReportErrorNumberVA, and JS_ReportErrorFlagsAndNumber. r=jwalden 2016-09-29 12:03:01 +09:00
Tooru Fujisawa
ae65f9cff4 Bug 1302582 - Add JS_ReportError*ASCII variants. r=jwalden 2016-09-14 04:07:04 +09:00
Tooru Fujisawa
d0679f60cb Bug 1295017 - Part 2: Add JS_ReportError*UTF8 variants. r=jwalden 2016-08-13 23:51:07 +09:00
Tooru Fujisawa
2806d3a994 Bug 1295017 - Part 1: Make lossy conversion available off main thread. r=jwalden 2016-08-13 23:50:30 +09:00
Nicolas B. Pierron
b0c2b695f5 Bug 1285237 - Consider ParseNodeAllocator::allocNode as fallible. r=jorendorff 2016-09-28 12:28:37 +00:00
Jan de Mooij
004a1377d5 Bug 1305570 - Handle OOM when calling inflate() with Z_NO_FLUSH. r=luke
--HG--
extra : rebase_source : 2c0bc7230c2390b23cb08b8cdd3468f2f596e4c1
2016-09-28 12:47:38 +02:00
Tooru Fujisawa
fd9e045dcb Bug 1304970 - Check encoding of js.msg-like files. r=jandem,gps 2016-09-28 14:12:54 +09:00
Phil Ringnalda
556a8f6ea1 Backed out 3 changesets (bug 1301301) for crashing
Backed out changeset da70c5abd73a (bug 1301301)
Backed out changeset 6186eae0c2b7 (bug 1301301)
Backed out changeset 45fb9c1ce63a (bug 1301301)
2016-09-27 19:49:17 -07:00
Jeff Walden
792cfa85a2 Bug 1269722 - Add a missing #include for non-unified. r=bustage
--HG--
extra : rebase_source : 6eb14e043d0fedfb79bca6e2c8013e8216dd5ac9
2016-09-27 14:22:25 -07:00
Jeff Walden
1627aee084 Bug 1269722 - Remove the standalone Sprint function that almost no one error-checks in favor of a member function, and error-check every use of it. r=jandem
--HG--
extra : rebase_source : 21506b36159c77148510dae70bb584a526828196
2016-09-23 19:20:31 -07:00
Jeff Walden
e600ef69d7 Bug 1269722 - Make GenericPrinter::put(const char*) inline, delegating to the length-delimited put(), as its algorithm is now identical everywhere. r=jandem
--HG--
extra : rebase_source : 0e36601b8812c9862ddaf36d1259ce5e22808cc7
2016-09-23 02:25:06 -07:00
Jeff Walden
06e9d640a1 Bug 1269722 - Make GenericPrinter::put return < 0 *only* when an error is reported, and don't attempt to support partial puts. r=jandem
--HG--
extra : rebase_source : f1ff2667364150acadd05fb816e0faeef0aa0845
2016-09-23 02:25:01 -07:00
Andrew McCreight
9d11cb0868 Bug 1301301, part 3 - Implement Begin and EndCycleCollectionCallback in CCJSContext. r=smaug
This will let my later patch run code at the start and end of each CC.

This patch should not change any behavior.

MozReview-Commit-ID: Fu6v3wo8qKB
2016-09-26 10:19:07 -07:00
Ehsan Akhgari
0baf8d2b40 Bug 1300908 - Avoid using expanded principals as the loading principal of XHR; r=smaug 2016-09-27 14:11:28 -04:00
Jon Coppeard
f84225ca51 Bug 1305220 - Also cancel off thread Ion compilation on OOM r=jandem 2016-09-27 14:16:08 +01:00
Jon Coppeard
13501a2bea Bug 1296661 - Use MOZ_MUST_USE in Reflect.parse implementation r=njn 2016-09-27 14:15:17 +01:00
Nicholas Hurley
f6db690c95 Bug 1303212 - Don't check for CLOCK_MONOTONIC on darwin r=glandium
MozReview-Commit-ID: 9Ppn5jzcjbP
2016-09-27 06:07:50 -07:00
Nicolas B. Pierron
0753e4f322 Bug 1296667 - Ensure enough ballast space when given large list of parameters. r=h4writer 2016-09-27 10:07:59 +00:00
Nicolas B. Pierron
653a0511a5 Bug 1299007 - Ensure enough ballast space in RangeAnalysis::prepareForUCE. r=sunfish 2016-09-27 10:07:59 +00:00
Nicolas B. Pierron
a0109e9d9f Bug 1298354 - Do not add AssertRange instructions in unreachable blocks. r=sunfish 2016-09-27 09:59:09 +00:00
Benjamin Bouvier
36f06cc08f Bug 1305197: Return value of WebAssembly_validate must be consistent with werror; r=luke
MozReview-Commit-ID: 3WqMltmc35l

--HG--
extra : rebase_source : e8518af45727140067e599c48371e180c65dab35
extra : amend_source : 0b513f243b5e8bd74bf3f82f3f837ef4c54f1d99
2016-09-26 11:04:04 +02:00
Benjamin Bouvier
419860c96f Bug 1292723: Add wasm/validate.js tests; r=luke
MozReview-Commit-ID: K78QF3FKw1p

--HG--
extra : rebase_source : 836af3264df5880069c7d844b4bc506f2baf8ba5
extra : amend_source : 03e5538ae87450127dbc204f08e431781eed7fd1
2016-09-26 11:09:42 +02:00
Wes Kocher
534d31c7d0 Backed out 2 changesets (bug 1305360) for sm(nu) failures a=backout
Backed out changeset a70dda2a48b4 (bug 1305360)
Backed out changeset eab215763463 (bug 1305360)
2016-09-29 13:52:09 -07:00
h4writer
002d708ffb Bug 1301400: Baseline Wasm Compiler: Part 20: Don't fully generalize when functions are not yet available on every platform, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
71a2c275d8 Bug 1301400: Baseline Wasm Compiler: Part 19: Enable the wasm compiler for x86 again, r=lth 2016-09-29 22:33:23 +02:00
h4writer
7104bddbcc Bug 1301400: Baseline Wasm Compiler: Part 18: Implement LoadGlobalVarI64 and StoreGlobalVarI64, r=lth 2016-09-29 22:33:23 +02:00
h4writer
1868b7b280 Bug 1301400: Baseline Wasm Compiler: Part 17: Implement Cmp64Set, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
19568675cf Bug 1301400: Baseline Wasm Compiler: Part 16: Implement ExtendI64 and WrapI64, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
46d5b6c849 Bug 1301400: Baseline Wasm Compiler: Part 15: Implement ReinterpretI64, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
c2ad02285c Bug 1301400: Baseline Wasm Compiler: Part 14: Implement PopcntI64, r=lth 2016-09-29 22:33:23 +02:00
h4writer
2d6a8f5022 Bug 1301400: Baseline Wasm Compiler: Part 13: Implement ClzI64 and CtzI64, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
d733c7fa0d Bug 1301400: Baseline Wasm Compiler: Part 12: Implement RotateI64, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
4b03aabf74 Bug 1301400: Baseline Wasm Compiler: Part 11: Implement ShiftI64, r=lth 2016-09-29 22:33:23 +02:00
Hannes Verschore
2b9de45cde Bug 1301400: Baseline Wasm Compiler: Part 10: Implement BitopI64, r=lth 2016-09-29 22:33:23 +02:00
h4writer
01019a3055 Bug 1301400: Baseline Wasm Compiler: Part 9: Implement MultiplyI64, r=lth 2016-09-29 22:33:22 +02:00
Hannes Verschore
e53d0400bd Bug 1301400: Baseline Wasm Compiler: Part 8: Implement SubtractI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
d7a4ad13fb Bug 1301400: Baseline Wasm Compiler: Part 7: Implement PassArgI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
ea9d7347f9 Bug 1301400: Baseline Wasm Compiler: Part 6: Implement PopI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
bbd48f090f Bug 1301400: Baseline Wasm Compiler: Part 5: Implement LoadI64 and StoreI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
3a77f1f482 Bug 1301400: Baseline Wasm Compiler: Part 4: Implement QuotientI64 and RemainderI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
2c6cdd35ac Bug 1301400: Baseline Wasm Compiler: Part 3: Implement ConvertI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
9bff77359e Bug 1301400: Baseline Wasm Compiler: Part 2: Implement WasmTruncateI64, r=lth 2016-09-29 22:33:22 +02:00
h4writer
e5b217920b Bug 1301400: Baseline Wasm Compiler: Part 1: Basic changes to support int64 ops in x86, r=lth 2016-09-29 22:33:22 +02:00
Emanuel Hoogeveen
49e5684da1 Bug 1305360 - Part 2: Add an exception handler to annotate memory protection crashes in regions of interest. r=jandem r=luke 2016-09-28 21:09:00 +02:00
Emanuel Hoogeveen
966212c4e6 Bug 1305360 - Part 1: Add a mechanism to allow users to opt out of protection for small buffers. r=jandem 2016-09-27 15:38:00 +02:00
Jessica Jong
c35a0bf546 Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo 2016-09-29 01:08:00 +02:00
Jan de Mooij
9ff039635f Bug 1304528 - Remove an overzealous compartment assert. r=jonco
--HG--
extra : rebase_source : 04dd083f827ce59dcb9b25ba5dd55dc37b6f503f
2016-09-29 15:26:07 +02:00
Jon Coppeard
7024349851 Bug 1269755 - Don't report OOM in ConcatStrings<NoGC> r=jandem 2016-09-29 10:18:50 +01:00
Jon Coppeard
591ec11f61 Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug 2016-09-29 10:18:50 +01:00
Thomas Wisniewski
ba6cb5196e Bug 1305202 - Use NullString() more and remove superfluous Truncates(). r=smaug 2016-09-23 21:10:01 -04:00
Tooru Fujisawa
6e42b2314d Bug 1300380 - Fix autospider on osx. r=terrence 2016-09-27 10:42:13 +09:00
Tooru Fujisawa
5f508aae61 Bug 1300380 - Move deep clone test into separated file and mark it slow in cgc. r=terrence 2016-09-27 10:42:13 +09:00
Tooru Fujisawa
44428e1257 Bug 1300380 - Suppress warning for unused private on osx arm build. r=bbouvier 2016-09-27 10:42:13 +09:00
Tooru Fujisawa
e961cd6c92 Bug 1300380 - Add f64_cmp.wast.js and float_exprs.wast.js wasm jit-tests to cgc-jittest-timeouts.txt. r=bbouvier 2016-09-27 10:42:12 +09:00
Benjamin Bouvier
31ba17fbcb Bug 1305097: Enhance error reporting from the ToAST transformation; r=luke 2016-09-26 10:33:06 +02:00
Benjamin Bouvier
8bd74b039e Bug 1300380: Build the ARM simulator under macosx with sse2 too; r=jandem
And workaround a small oversight of clang in Simulator::canonicalizeNaN(float),
which does a float->double->float conversion messing up with the signal/quiet
bit of NaN values.

MozReview-Commit-ID: 9izzAfPpP3b

--HG--
extra : rebase_source : 646603c182eee90ffa925f08cdfc4d879ab80e71
extra : amend_source : 60ee8d3e5c7053f14193dc60de87530e512e04cd
extra : histedit_source : 3977dce49fdc590c6552a086bac598e8ee1e4c37
2016-09-22 18:21:36 +02:00
Benjamin Bouvier
68d9d89340 Bug 1300380: Fix undefined behavior under WasmTruncate functions; r=h4writer
MozReview-Commit-ID: I3lbWLKHO4g

--HG--
extra : rebase_source : 870752aae0022baaf9a9b31ee5e196b022fa4518
extra : histedit_source : 9353b1f4828cfd73a1102c190e090d6726aa3506
2016-09-22 18:19:28 +02:00
Jan de Mooij
91115f7a73 Bug 1303710 - Don't Ion-compile scripts with too many typesets. r=bhackett 2016-10-04 12:07:30 +02:00
Jan de Mooij
e176db506d Bug 1306626 - Don't attach an Ion GetDenseElement stub if we're not accessing a dense element. r=h4writer
--HG--
extra : rebase_source : a794cf82793d4e41e7067c84a1433ff1f0daf3b2
2016-10-04 10:19:41 +02:00
Terrence Cole
76b800594e Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Luke Wagner
6981487fab Bug 1303079 - Baldr: add WebAssembly.(Compile|Runtime)Error (r=bbouvier)
MozReview-Commit-ID: 7DweEFy2IUW
2016-09-23 09:13:16 -05:00
Dan Gohman
81c8022109 Bug 1287220 - Baldr: update to binary version 0xc (r=luke)
MozReview-Commit-ID: EZmgEwtd4Yt
* * *
[mq]: fix-close-loop

MozReview-Commit-ID: IGx436dWetv
* * *
[mq]: ensure-webassembly-in-eval

MozReview-Commit-ID: J6eGrJPHN4A
* * *
[mq]: fix-unreachable

MozReview-Commit-ID: IBVUVuRRm4t
* * *
[mq]: update-names-section

MozReview-Commit-ID: 8LcjQh5lpcx
* * *
[mq]: skip-unknown

MozReview-Commit-ID: Ekj9t3ydS9a
2016-09-23 09:13:15 -05:00
Andrew McCreight
5b9c57b7a2 Bug 1301301, part 1 - Unify NoteJSObject and NoteJSScript into NoteJSChild. r=smaug
This will let my next patch pass in other GC things.

This should not change behavior in any important way.

MozReview-Commit-ID: FykviKKvQzI
2016-09-23 15:42:13 -07:00
Brian Hackett
47c77f7e97 Bug 1247926 - Fix analysis of preliminary array object groups when creating JSON or literal objects, r=jandem.
--HG--
extra : rebase_source : 209e72b121f07e22ea3163bab7c41e4d66dbbb46
2016-09-23 12:48:50 -06:00
Wes Kocher
5f32db3045 Backed out changeset 958074f3b830 (bug 1287220) for frequent jit failures a=backout CLOSED TREE 2016-09-23 15:01:13 -07:00
Wes Kocher
a1e486e2b1 Backed out changeset 62999f48c433 (bug 1303079) for frequent jit failures a=backout CLOSED TREE 2016-09-23 15:01:00 -07:00
Tooru Fujisawa
f439e68cda Bug 1304737 - Do not ignore trailing .* on matchOnly RegExp execution. r=h4writer 2016-09-24 05:10:55 +09:00
Terrence Cole
25a54842c3 Backed out changeset ac1ae4224375 (Bug 1298773) for JP failures on a CLOSED TREE. 2016-09-23 10:58:56 -07:00
Luke Wagner
b3ebdc2a60 Bug 1303079 - Baldr: add WebAssembly.(Compile|Runtime)Error (r=bbouvier)
MozReview-Commit-ID: 7DweEFy2IUW
2016-09-23 09:13:16 -05:00
Dan Gohman
28d57ea0f3 Bug 1287220 - Baldr: update to binary version 0xc (r=luke)
MozReview-Commit-ID: EZmgEwtd4Yt
* * *
[mq]: fix-close-loop

MozReview-Commit-ID: IGx436dWetv
* * *
[mq]: ensure-webassembly-in-eval

MozReview-Commit-ID: J6eGrJPHN4A
* * *
[mq]: fix-unreachable

MozReview-Commit-ID: IBVUVuRRm4t
* * *
[mq]: update-names-section

MozReview-Commit-ID: 8LcjQh5lpcx
* * *
[mq]: skip-unknown

MozReview-Commit-ID: Ekj9t3ydS9a
2016-09-23 09:13:15 -05:00
Terrence Cole
6709366d62 Bug 1298773 - Expose wrappees that may be used through a wrapper; r=jonco 2016-09-14 14:17:46 -07:00
Terrence Cole
c55565e569 Bug 1291001 - Split wrap and rewrap to simplify semantics around |existing|; r=jonco
--HG--
extra : rebase_source : f85c2d0788536c5675fd5945c745879d3f3525e0
2016-08-02 11:03:04 -07:00
Vinayak Agarwal
31d21069da Bug 1304097 - Used consumeKnownToken instead of getToken. r=arai
--HG--
extra : rebase_source : 41349bbc3e759a373f68e041633d150c8dd38df7
2016-09-21 23:31:19 +05:30
Hannes Verschore
c3bda17cff Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
h4writer
649deda41d Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Jon Coppeard
9083c57cbe Bug 1303015 - Update assertions now CCWs can be allocated in the nursery r=terrence 2016-09-23 13:17:42 +01:00
Jon Coppeard
c2222d8e7c Bug 1304653 - Improve heap checking zeal mode r=sfink 2016-09-23 13:17:41 +01:00
Jon Coppeard
ccb9a8b6b9 Bug 1304543 - Minimising nusery size conflicts with nursery zeal mode r=terrence 2016-09-23 13:17:41 +01:00
Jan de Mooij
58f17b710c Bug 1304390 - Compress/decompress script sources in chunks. r=luke 2016-09-23 12:55:14 +02:00
Jan de Mooij
ff16d58af3 Backed out changeset aad183efb09a (bug 1303754) for regressions. 2016-09-23 09:50:47 +02:00
Terrence Cole
02f5e80db6 Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Luke Wagner
aa1716839f Bug 1301797 - add Uint8ClampedArray test (r=me)
MozReview-Commit-ID: HvLsqsSRScl
2016-09-22 18:47:07 -05:00
Jeff Walden
59eaca811c Bug 1302994 - Precautionarily peek at the next token after the AssignmentExpression in a for-loop head's declaration, when searching for a for(;;)'s first semicolon, in case the init-component ends in a lazy inner function that, when skipped during full-parsing, clears lookahead. r=arai
--HG--
extra : rebase_source : e068b91e1529b53f89124679b057b18e27a1433c
2016-09-22 16:05:20 -07:00
Jeff Walden
4ba700f16d Bug 1302276 - Don't abuse mozilla::Forward in move-constructor definitions to move members/base classes into the new object, and correctly use perfect forwarding in Zone::cellIter. r=terrence
--HG--
extra : rebase_source : e57f8cbb51e5e7fccd928b38bd36bd8d09abb4de
2016-09-12 16:35:27 -07:00
Jim Blandy
55de856625 Bug 1304523 - Make Debugger.prototype.findScripts validate query 'source' property. r=fitzgen 2016-09-21 14:47:05 -07:00
Jeff Walden
6584067c0f Bug 1299519. r=shu
--HG--
extra : rebase_source : 0e1a0c284a397cb4acb0a8c5604b2bf041270677
2016-08-31 16:33:47 -07:00
Shu-yu Guo
ce5eebf5d8 Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust) 2016-09-22 12:42:37 -07:00
Ehsan Akhgari
f993ff03ab Bug 1297687 - Part 4: Specify an OriginAttribute for the XBL content's expanded principal; r=bholley 2016-09-22 13:27:58 -04:00
Ehsan Akhgari
e45aad00ec Bug 1297687 - Part 3: Ensure that the expanded principal of a sandbox has a sensible OriginAttributes; r=bholley
This patch allows specifying an OriginAttributes when creating a sandbox
using Components.utils.Sandbox() by specifying an originAttributes
member on the options dictionary.

If an OA is specified in this way, it is used for creating codebase
principals from the string arguments passed to the function.  Otherwise,
if one or more principals are passed in the array argument to Sandbox(),
the OA of the principal(s) is used to construct codebase principals from
the strings inside the array.  In this case, we check to make sure that
all of the passed principals have the same OA, otherwise we'll throw an
exception.

In case no explicit OA is specified and no principals are passed in the
array argument, we create the codebase principals using a default OA.
2016-09-22 13:27:51 -04:00
Benjamin Bouvier
48aef09e25 Bug 1248555: Block a few slow tests under CGC; r=jonco
MozReview-Commit-ID: AVt5J92bqcw

--HG--
extra : rebase_source : f6f48971eeced9abc2b0ed8972830b08c88a7e35
2016-09-22 18:53:58 +02:00
Terrence Cole
b605dece0c Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Steve Fink
3d7c5d34f5 Bug 1303461 - Limit Android stack size to 3/4 of the actual 1MB, r=jandem
--HG--
extra : rebase_source : fc0994289923f36c577dd97e1d5eb35747102e36
2016-09-19 10:08:18 -07:00
Terrence Cole
48b3b2ea1a Bug 1294563 - Fix the pre-compacting interrupt's position; r=jonco 2016-09-21 09:33:12 -07:00
Benjamin Bouvier
f570ac6d0a Bug 1248555: Unbreak the build; r=me 2016-09-22 16:11:36 +02:00
Benjamin Bouvier
692c68453b Bug 1248555: Tests only; r=sunfish
MozReview-Commit-ID: 4fudrHeZCp1

--HG--
extra : rebase_source : 0dfba02ff7b1317e016009fcc8c7d2c0708ac765
2016-09-21 19:34:32 +02:00
Benjamin Bouvier
6daeb5d468 Bug 1248555: Move {Read,Create}{I64|CustomNaN}Object into WasmJS.h; r=luke
Also unbreak non-unified build, arm64 and no-jit builds.

MozReview-Commit-ID: 5RmsNNV1iWQ

--HG--
extra : rebase_source : ee5e6ed081189de0d061c40bd355affbdba09de7
2016-09-22 11:57:15 +02:00
Benjamin Bouvier
b880d025fd Bug 1248555: Addendum: support uncanonicalized NaNs in globals too; r=luke
MozReview-Commit-ID: JKIUhXBhJRe

--HG--
extra : rebase_source : bd5dc7a4c9ad4ac483fa48cf82c283d3a39fc8fe
2016-09-21 19:18:51 +02:00
Benjamin Bouvier
484b067500 Bug 1248555: Use integers as a low-level representation of floating-point values; r=luke
MozReview-Commit-ID: 7EMMYoz3Rsb

--HG--
extra : rebase_source : c5de8746640608ba3efe5ff9272679c221c3e23b
2016-09-21 19:19:40 +02:00
Jon Coppeard
1295093170 Bug 1301496 - Simplify runtime check when tracing helper threads r=terrence a=decoder 2016-09-22 13:02:40 +01:00
Jon Coppeard
b05c3b7d30 Bug 1304425 - Cancel off thread compilations by runtime or zone GC state where possible r=jandem r=terrence 2016-09-22 11:24:33 +01:00
Jon Coppeard
9514c22374 Bug 1304425 - Refactor CancelOffThreadIonCompile and make it wait for builders to cancel in parallel r=jandem 2016-09-22 11:24:33 +01:00
Carsten "Tomcat" Book
ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Carsten "Tomcat" Book
d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Benjamin Bouvier
b81b572a1c Bug 1303013: Account memory for wasm guard pages; r=njn, r=luke
MozReview-Commit-ID: BHS1UfgT1yf

--HG--
extra : rebase_source : 7fea9606f776a904870fdfb4bbb93e43fd4b0a44
2016-09-19 19:39:50 +02:00
Jan de Mooij
3b07adfba8 Bug 1303754 - Don't use the lazySource option for JSMs, so we can benefit from syntax parsing. r=bholley 2016-09-22 10:15:36 +02:00
Eric Faust
121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Wes Kocher
741d9cb870 Backed out changeset 5a71ed072a2b (bug 1300546) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:32 -07:00
Wes Kocher
ef05c52b63 Backed out changeset c414e9547045 (bug 1302417) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:28 -07:00
Wes Kocher
598c29ffbe Backed out changeset a03e56efce4c (bug 1281156) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:23 -07:00
Tom Schuster
2f144c36e0 Bug 1299593 - Disable Array.prototype.values outside Nightly. r=jorendorff, r=smaug
--HG--
extra : rebase_source : 976a15181c0d263b62094a1524b8a27cf7c1fc4d
2016-09-21 11:53:00 -04:00
Vinayak Agarwal
dc74845a1d Bug 1304167 - Remove unnecessary "else" after return in JS_GetArrayBufferViewType. r=arai
--HG--
extra : rebase_source : b0e36554cdb3f733810f4cfd8479343968faae1a
2016-09-21 10:58:46 +05:30
arn197
82f42fed53 Bug 1304310 - Remove else after return statement in ConvertScalar. r=arai
--HG--
extra : rebase_source : 0d00b356dd2a57b45a8c94ed618127dd02df768e
2016-09-21 02:48:00 -04:00
Chris Manchester
aa2131cd40 Bug 1302909 - Set STDC_HEADERS everywhere instead of relying on AC_HEADER_STDC. r=glandium
MozReview-Commit-ID: DXvcX1i9vuo
2016-09-15 12:11:11 -07:00
ajay
d220ab5953 Bug 1303708 - Remove unused JSID_IS_ZERO(jsid id) function. r=arai
MozReview-Commit-ID: 49WIEl6MCsF

--HG--
extra : rebase_source : 751611cb27d134f3f768bb43a579b489b458be18
2016-09-22 04:27:52 +05:30
Chris Manchester
6736329d5e Bug 1262155 - Use moz.build instead of libffi's build system. r=ted,glandium
MozReview-Commit-ID: 3wobNk0HDU5
2016-08-08 16:58:54 -07:00
Hannes Verschore
e5f367169f Bug 1281156: TraceLogger: Enable caching of EventPayload for mainthread again, r=bbouvier,jonco 2016-09-21 19:26:05 +02:00
h4writer
9b0e31e532 Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Hannes Verschore
e9fb49f8f5 Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
Terrence Cole
e03f58644e Bug 1227750 - Expose black to gray cross compartment edges instead of resetting the GC; r=jonco
--HG--
extra : rebase_source : 27ebe7f618787488c3a7f68b52e955c23d761f04
2016-09-21 09:33:07 -07:00
Terrence Cole
33e0dd3abc Bug 813683 - No need for Rekeyable Hashtable for C++ VMFunction* pointers; r=nbp
--HG--
extra : rebase_source : 5c6ce02ad98aaeccbd8bdda37b0c86916bfb6b7a
2016-09-21 09:32:51 -07:00
Jon Coppeard
80a9ca513a Bug 1304081 - Add more use of shouldCancel() to avoid pauses when cancelling off thread Ion compilation r=nbp 2016-09-21 15:27:45 +01:00
Jon Coppeard
d6b364b06a Bug 1294767 - Add assertions that type sets do not contain cross compartment pointers r=jandem 2016-09-21 15:27:44 +01:00
Carsten "Tomcat" Book
23879d2b18 Merge mozilla-central to mozilla-inbound 2016-09-21 12:07:46 +02:00
Carsten "Tomcat" Book
4f900773f5 merge mozilla-inbound to mozilla-central a=merge 2016-09-21 12:03:31 +02:00
Carsten "Tomcat" Book
4fd246e6b8 merge fx-team to mozilla-central a=merge 2016-09-21 12:02:19 +02:00
Nick Fitzgerald
4cccd11998 Bug 1304209 - Remove Debugger.Script.prototype.canonicalId. r=shu
The `canonicalId` getter is never actually used, and isn't implemented in the
most principled way. Therefore, let's get rid of it, before it turns into
technical debt.
2016-09-20 15:11:00 -04:00
Carsten "Tomcat" Book
8910ca900f merge mozilla-inbound to mozilla-central a=merge 2016-09-20 12:01:29 +02:00
Jan de Mooij
c67efa31d7 Bug 1293311 - Handle OOM in ArgumentsObject::finishForIon properly. r=nbp 2016-09-19 21:04:06 +02:00
Benjamin Bouvier
b56f71f878 Bug 1303122: Don't re-add an already seen bounds check if it's not redundant; r=luke
MozReview-Commit-ID: 4pthpbRTmpD

--HG--
extra : rebase_source : 97aba7dd3331da2b61524cf118c5e1933230e098
2016-09-15 21:35:13 +02:00
Benjamin Bouvier
8bcffcf0f7 Bug 1303122: Handle stack in codegen of LCompareAndBranchI on x64; r=luke
MozReview-Commit-ID: EV5JUmcNYeh

--HG--
extra : rebase_source : 85b3d15920ad2dc85bff70d4f94b9569c393ef47
2016-09-15 21:34:36 +02:00
Bill McCloskey
50c44c717c Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-09-16 20:35:11 -07:00
Bill McCloskey
a51047b439 Bug 1279086 - Allow multiple interrupt callbacks (r=dvander) 2016-09-16 20:33:49 -07:00
Andrew McCreight
51db16e7f5 Bug 1288909, part 4 - Use a strong reference to the set in ClassInfo2NativeSetMap. r=billm
Entries should end up getting cleared out from this table before the
value dies, so let's just make the reference strong so that any
mistakes will result in leaks and not use-after-frees.

Using smart pointer classes with PLDHashtable is a little
questionable, and I don't want to convert this one hash table to
nsTHashtable, so I use manual addref and release.

MozReview-Commit-ID: Kfg9veS6r11

--HG--
extra : rebase_source : 865ab48c2cf67546dd705cf79f8873efe695ac5c
2016-09-06 12:58:27 -07:00
Andi-Bogdan Postelnicu
c574b38335 Bug 1301333 - mark XPCJSContext::Initialize as initialisation function for XPCJSContext. r=bobbyholley
MozReview-Commit-ID: HYj244xg1VD
2016-09-16 15:00:52 +03:00
Makoto Kato
bea30b374e Bug 1303982 - Define CarrySet and CarryClear for non-JIT platform. r=bbouvier
MozReview-Commit-ID: 7VarACNjdIx
2016-09-21 10:58:19 +09:00
Heiher
5425c1d66f Bug 1303688 - Baldr: MIPS: Move memory barrier to WasmLoad/Store. r=luke
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
2016-09-21 09:56:02 +08:00
Phil Ringnalda
86d3aebd18 Backed out changeset c9f2cb674778 (bug 1303118) for failures in browser_dbg_watch-expressions-02.js 2016-09-20 18:20:25 -07:00
Heiher
9f272ce341 Bug 1303689 - IonMonkey: MIPS: Implement popcnt32. r=arai
---
 js/src/jit/MacroAssembler.h                        |  3 ++-
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 19 +------------------
 .../mips-shared/MacroAssembler-mips-shared-inl.h   | 22 ++++++++++++++++++++++
 3 files changed, 25 insertions(+), 19 deletions(-)
2016-09-21 08:58:10 +08:00
Heiher
fb9d0996d9 Bug 1303688 - Baldr: MIPS: Take advantage of guard page to simplify asm.js/wasm memory access. r=luke
---
 js/src/jit/mips-shared/Assembler-mips-shared.h     |  2 +
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 66 +++++-----------------
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 .../mips-shared/MacroAssembler-mips-shared-inl.h   |  3 +
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp | 31 ++++++++++
 .../jit/mips-shared/MacroAssembler-mips-shared.h   |  4 ++
 js/src/jit/mips32/MacroAssembler-mips32-inl.h      |  5 +-
 js/src/jit/mips32/MacroAssembler-mips32.cpp        | 20 ++++++-
 js/src/jit/mips32/MacroAssembler-mips32.h          |  6 +-
 js/src/jit/mips64/MacroAssembler-mips64-inl.h      |  5 +-
 js/src/jit/mips64/MacroAssembler-mips64.cpp        | 20 ++++++-
 js/src/jit/mips64/MacroAssembler-mips64.h          |  6 +-
 12 files changed, 106 insertions(+), 63 deletions(-)
2016-09-21 08:58:05 +08:00
Shu-yu Guo
12e768fe6d Bug 1303118 - Fix 'this' computation for Debugger.Frame.evalWithBindings. (r=efaust) 2016-09-20 16:03:19 -07:00
Terrence Cole
f782b9ec74 Bug 1291776 - Assert that we don't create gray arguments; r=sfink
--HG--
extra : rebase_source : 6d27a748f0eafe6e1995a54c2820dd0519ca5850
2016-09-15 13:50:03 -07:00
Nicolas B. Pierron
7bf949b840 Bug 1301690 - IonMonkey: Prevent using getPropTryDefiniteSlot when primitives can be used as object. r=jandem 2016-09-20 15:28:41 +00:00
Henri Sivonen
eea6b5c9c8 Bug 1288084 - Expose a line number for each attribute, v2; r=wchen 2016-09-20 16:31:57 +02:00
Benjamin Bouvier
38920d4ca6 Bug 1303085: Add nearbyint/nearbyintf to fdlibm; r=arai
MozReview-Commit-ID: GahbeGVPKs

--HG--
extra : rebase_source : 521205f9c6fe5d559efa2d0c854f906857c10f36
extra : histedit_source : bd0bf1fb258fc6aac8a33b18f529a43f0130ff68
2016-09-15 20:57:47 +02:00
Sebastian Hengst
63beebe912 Backed out changeset 5caa69daaa2a (bug 1302417) for asserting at TraceLogging.cpp line 548 in many spidermonkey tests. r=backout 2016-09-20 15:44:57 +02:00
Sebastian Hengst
57176d6ee5 Backed out changeset 73ac0ad42d63 (bug 1300546) for failing own test on arm64. r=backout 2016-09-20 15:43:40 +02:00
Hannes Verschore [:h4writer]
3dce725f3d Bug 1303809 - Fix ion/bug1293542.js to not fail when merging to aurora. r=bbouvier 2016-09-20 02:08:00 +02:00
Hannes Verschore
75ca14183b Bug 1300546: IonMonkey: Make sure the registers of lhs and rhs don't overlap during ALU, r=bbouvier 2016-09-20 14:48:52 +02:00
h4writer
c31b9c2d2e Bug 1302417: TraceLogging - Don't run the debug check when the item is an error, r=bbouvier 2016-09-20 14:48:50 +02:00
Carsten "Tomcat" Book
17d545681a Merge mozilla-central to mozilla-inbound 2016-09-20 12:02:20 +02:00
Andrew McCreight
946ffa2384 Bug 1288909, part 3 - XPCWrappedNative:: and XPCWrappedNativeProto::Mark() don't do anything any more. r=billm
Also clean up some random comments for code that was deleted earlier.

MozReview-Commit-ID: 8JQx0FAH8wA

--HG--
extra : rebase_source : 614bda8caf0647ff0220986904ac6fb5fd4573a8
2016-08-05 13:56:14 -07:00
Andrew McCreight
58a9259670 Bug 1292694 - Don't skip marking at Shutdown due to fear of "bad locking problems". r=mrbkap
MozReview-Commit-ID: HetNpQR2s8Y

--HG--
extra : rebase_source : 727a86bcacf35c6f0ab68ba69d1860839cb27730
2016-08-05 15:19:41 -07:00
Yen Chi Hsuan
80b867a458 Bug 1143421 - install file copies instead of symlinks for Spidermonkey. r=glandium 2016-08-25 15:51:55 +08:00
Andrew McCreight
93c15e825f Bug 1288909, part 2 - Remove a bunch of now-useless XPCNativeSet marking-related things. r=billm
MozReview-Commit-ID: 4YRn9Wx64a4

--HG--
extra : rebase_source : 7298dfd78142a1d544922fb5f78f7ca4a5562a6c
2016-07-27 16:38:42 -07:00
Andrew McCreight
bbaa5c3f54 Bug 1288909, part 1 - Implement refcounting of XPCNativeSet. r=billm
This patch is similar to bug 1288870.

Strong references:

- XPCCallContext::mSet: Like XPCNativeInterface, this only roots it
when |mState >= HAVE_NAME|, and again this only requires changing
SystemIsBeingShutDown().

- XPCWrappedNativeProto::mSet and XPCWrappedNative::mSet. These become
RefPtrs.

- stack: AutoMarkingNativeSetPtr become RefPtr<XPCNativeSet>. This
lets me eliminate some uses of AutoJSContext. This is the bulk of the
patch.

Weak references:

- mNativeSetMap. This reference gets cleared in the dtor. This
requires bug 1290239 to actually find the entry for removal.

- mClassInfo2NativeSetMap. The reference is in the value for this hash
table, and we don't have the key in the set dtor. Fortunately, the
only code that adds to this table is
XPCNativeSet::GetNewOrUsed(nsIClassInfo* classInfo), which in turn is
only called by GetNewOrUsed(nsIClassInfo* classInfo). This code
creates a new XPCWrappedNativeProto, which (with my patch) holds a
strong reference to the set that has been added to the table. This set
is never changed or released until the dtor for the proto, which calls
ClearCacheEntryForClassInfo(), removing the entry from the
hashtable. Thus, the lifetime of the set is always going to be longer
than the lifetime of the entry.

Other notes:

- Like XPCNativeInterface, this class uses placement |new| that
requires a special destruction function, which with my patch is hidden
away in the refcounting code.

- This patch delete a bunch of marking/sweeping code from
XPCJSRuntime::FinalizeCallback(), because the lifetimes are managed by
the refcounting now. Some of the marking code is left behind to be
cleaned up in a later patch.

- I didn't see any methods that had XPCNativeSet** outparams.

- MOZ_COUNT_{CTOR,DTOR}(XPCNativeSet) is not needed because it is now
refcounted.

MozReview-Commit-ID: 7oTorCwda1n

--HG--
extra : rebase_source : 0c477e18c405e4ea88393279cf8bea62c5b0f4c7
2016-07-27 16:38:30 -07:00
Mike Shal
08c00f4fad Bug 1304133 - explicitly list selfhosted.js output in GENERATED_FILES; r=chmanchester
MozReview-Commit-ID: Fwd6SWGs1X1

--HG--
extra : rebase_source : 3329106f7d1ead13f3ea4e3b3fa81f7b5cd09dc8
2016-09-19 13:43:18 -04:00
Wes Kocher
611fb66887 Backed out changeset 39da44265946 (bug 1263595) for build bustage a=backout CLOSED TREE 2016-09-16 14:19:22 -07:00
Eric Faust
db0cfdc6bc Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Luke Wagner
797090f8ab Bug 1299359 - Odin: split out separate JitOptions.asmJSAtomicsEnable (rs=lth)
MozReview-Commit-ID: CIzSy3lTcNN
2016-09-16 10:06:17 -05:00
Brian Hackett
da1d95253f Bug 1302523 - Don't start incremental GCs if they have been disabled, r=sfink.
--HG--
extra : rebase_source : bea0b930a6c908b4ad5c5dfdb22fab108bbb4dff
2016-09-14 08:07:44 -06:00
Benjamin Bouvier
2078b849b7 Bug 1290932: Build the ARM simulator (on x86) with -msse2 -mfpmath=sse; r=glandium
MozReview-Commit-ID: CNO8qKifC2N

--HG--
extra : rebase_source : 49f8d35470d4fd82ef64906830435ad9107ae03b
2016-09-12 19:06:19 +02:00
Benjamin Bouvier
56e8d89e42 Bug 1302723: Use an input copy in LAssertRangeF register allocation; r=nbp
MozReview-Commit-ID: BWTri00AoJq

--HG--
extra : rebase_source : 8d3edc90182af8a5659da1603b29cf2a7670ec31
2016-09-14 15:10:37 +02:00
Phil Ringnalda
6beabc555f Backed out changeset 48694b762a84 (bug 1263595) for -Werror bustage
CLOSED TREE
2016-09-15 22:04:50 -07:00
Eric Faust
c725e729c5 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
Wes Kocher
14c8653f72 Merge inbound to central, a=merge 2016-09-15 16:28:10 -07:00
Steve Fink
ad325bdac3 Bug 1302125 - Limit number of ERROR: GC found live Cell messages, r=mccr8
--HG--
extra : rebase_source : 93aba8f04ffbbab8b4b96842ef2d0a5e377514d9
2016-09-14 16:56:35 -07:00
Steve Fink
62bd9194f0 Bug 1301764 - Implement JS_GC_REPORT_TENURING to report what is getting tenured, r=terrence
--HG--
extra : rebase_source : f1be2ad91b5848470fe486894ee7105fcc12c7bf
2016-09-13 14:03:40 -07:00
Steve Fink
e1d35bb444 Bug 1298804 - Missing OOM check in getCloneBuffer, r=jonco
--HG--
extra : rebase_source : 7a67cf28f422f2a035a65b5717a5746dcad396ae
2016-09-08 16:23:47 -07:00
Andrew McCreight
ac4b6dabc5 Bug 1300830 - Remove XPCJSRuntime::mDetachedWrappedNativeProtoMap. r=mrbkap
Nothing is ever added to this hash table.

MozReview-Commit-ID: 7gmlBZKNPOc

--HG--
extra : rebase_source : 9a14e405facedc8148c5dd8e363f98c691e23231
2016-09-07 11:49:38 -07:00
Wes Kocher
f779775754 Backed out changeset 4bb39c7c98dd (bug 1271650) for ASAN leaks a=backout 2016-09-14 10:51:36 -07:00
Luke Wagner
171ec3369e Bug 1284156 - Baldr: use ToNonWrappingUint32 for range checks (r=bbouvier)
MozReview-Commit-ID: 1oVQYPlF89J

--HG--
extra : rebase_source : 365a915d22ee8bd72a3d7ed81fa3a910b96d2387
2016-09-14 11:54:17 -05:00
Luke Wagner
6a30ba8b4e Bug 1284156 - Baldr: add Table.prototype.grow (r=bbouvier)
MozReview-Commit-ID: 8g92o4GXQ82

--HG--
extra : rebase_source : 64dc4699727be013eeb3c9dcca86e519598e1880
2016-09-14 11:46:10 -05:00
Eddy Bruel
9f0a0cfe9f Bug 1271650 - Implement a C++ interface for DebuggerFrame.onStep. 2016-09-14 18:23:12 +02:00
Eddy Bruel
9b9679672a Bug 1271650 - Factor our processParsedResumptionValue(Helper). 2016-09-14 18:22:03 +02:00
Eddy Bruel
dd1f6a2fdc Bug 1271650 - Remove processResumptionValueHelper. r=jimb 2016-09-14 18:19:46 +02:00
Luke Wagner
91bfa8067c Bug 1302434 - Baldr: fix unified bustage (r=bbouvier)
MozReview-Commit-ID: 61nhNdVZcx5

--HG--
extra : rebase_source : 0ccf65e2eade397b39d2b2722cf585dcd44f365d
2016-09-14 09:20:15 -05:00
Luke Wagner
73207ea044 Bug 1302407 - Remove now-unnecessary assert in SharedArrayMappedSize() (r=bbouvier)
MozReview-Commit-ID: 632vxGqHGz4

--HG--
extra : rebase_source : a2ef73dfb76eaf3fffaa5c6a8beb9e77462e9eff
2016-09-14 09:19:46 -05:00
Luke Wagner
a69501f944 Bug 1302409 - Baldr: handle Linux si_code == SI_KERNEL corner case in out-of-bounds signal handler (r=bbouvier)
MozReview-Commit-ID: F2TKrDdj8Oo

--HG--
extra : rebase_source : 647601b6d7c80e3c5f601798476d2ffc3abcf554
2016-09-14 09:18:50 -05:00
Ted Mielczarek
e254cc07b8 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq

--HG--
extra : rebase_source : c0da7411a2f0b7fc171c9ebb99fce91361944aa5
2016-09-08 15:12:34 -07:00
Jan de Mooij
7f794780e0 Bug 1302448 part 2 - Rename XPCJSRuntime to XPCJSContext. r=mrbkap
--HG--
rename : js/xpconnect/src/XPCJSRuntime.cpp => js/xpconnect/src/XPCJSContext.cpp
extra : rebase_source : e6b435ab1ca2739e340669195dff77c561ea573e
2016-09-14 15:48:17 +02:00
Jan de Mooij
a53986bf29 Bug 1302448 part 1 - Rename CycleCollectedJSRuntime to CycleCollectedJSContext. r=mccr8
--HG--
rename : xpcom/base/CycleCollectedJSRuntime.cpp => xpcom/base/CycleCollectedJSContext.cpp
rename : xpcom/base/CycleCollectedJSRuntime.h => xpcom/base/CycleCollectedJSContext.h
extra : rebase_source : 075214b5057f151520926715b6154e99ae80a0b3
2016-09-14 15:47:32 +02:00
Carsten "Tomcat" Book
9a2448ee1c Merge mozilla-central to mozilla-inbound 2016-09-14 12:11:09 +02:00