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

56889 Коммитов

Автор SHA1 Сообщение Дата
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
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
Carsten "Tomcat" Book d2c3fe7fd3 merge autoland to mozilla-central a=merge 2016-09-14 12:07:02 +02:00
Nicolas B. Pierron 405f3fd73c Bug 1302142 - Accept any value as valid input for MIteratorStart. r=jandem 2016-09-14 09:48:19 +00:00
Zibi Braniecki 8ef8bb9efc Bug 1289340 - Expose Intl.DateTimeFormat.prototype.formatToParts. r=waldo
MozReview-Commit-ID: Ii7TqMDRzu4
2016-09-13 20:49:21 -07:00
Tooru Fujisawa c0fc17d9f4 Bug 1298779 - Port jskwgen to Python. r=jwalden 2016-09-14 12:16:41 +09:00
Ryan VanderMeulen 739f3dac5a Merge m-c to autoland. a=merge 2016-09-13 20:46:39 -04:00
Sander Mathijs van Veen b25bbcece4 Bug 1292136 - Eliminate Unbox:Object opcode that follows a LoadUnboxedPointerV opcode. r=nbp
--HG--
extra : rebase_source : ef5dac5c2db15ce399cfcd1c2ca15a7ae650c2f1
2016-09-12 03:41:00 -04:00
Phil Ringnalda 7f35accb95 Backed out changeset e2bca303ae69 (bug 1296249) for bug1296249.js failures
CLOSED TREE
2016-09-13 19:08:44 -07:00
Sander Mathijs van Veen 1224dada49 Bug 1296249 - Assertion failure: nbytes > 0, at js/src/gc/Nursery.cpp:357. r=jandem
--HG--
extra : rebase_source : 7a3a4f558983543103f2845a8c875f774a2b64ce
2016-09-13 17:22:51 -04:00