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