Commit Graph

62704 Commits

Author SHA1 Message Date
Bogdan Tara
b3f0c3ded3 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-20 00:17:43 +02:00
Tooru Fujisawa
5fc6fb72ed Bug 1418106 - Throw error when resolving or rejecting promise returned by async function with testing function. r=till 2017-11-19 23:32:26 +09:00
Tooru Fujisawa
4f518e7fa0 Bug 1416781 - Add explanation about encoding variants of error reporting APIs. r=jwalden 2017-11-18 22:57:16 +09:00
Noemi Erli
d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
André Bargull
77cc8b33d4 Bug 1418237 - Delete unused SyntaxParseHandler::singleBindingFromDeclaration(). r=arai
--HG--
extra : rebase_source : b3c468d70556ff0ed32e19b8959d1931b01e3169
extra : histedit_source : 5227aa673a5de4e03aaa0ce9c7cab5ce1110f6b2
2017-11-17 06:59:32 -08:00
André Bargull
f4de88858a Bug 1418235 - Simplify tracking of parenthesized names in SyntaxParseHandler. r=arai
--HG--
extra : rebase_source : 7154d041e14f24fb5894d2b255e7cb77432505d4
extra : histedit_source : 23250bc47ae3dce24339c5f05b4c1a69f2d3d08b
2017-11-17 06:19:59 -08:00
Nicolas B. Pierron
53b6774498 Bug 1416794 - InliningDecision_Error is always reported with a pending exception, use AbortReason_Error instead of _Alloc. r=jandem 2017-11-17 13:21:08 +00:00
André Bargull
027f71e3dd Bug 1418026: Remove unused code from js/src/frontend. r=jandem 2017-11-16 11:17:04 -08:00
Jan de Mooij
793d5faa99 Bug 1417844 part 4 - Remove more JSVersion code. r=evilpie 2017-11-17 12:13:42 +01:00
Jan de Mooij
2e7986aee1 Bug 1417844 part 3 - Remove JSVersion from subscript cache path. r=kmag 2017-11-17 12:13:15 +01:00
Jan de Mooij
7f30bf48a7 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Jan de Mooij
98d0642163 Bug 1417844 part 1 - Remove JSVersion related code from jit-tests and jsreftests. r=anba 2017-11-17 12:12:05 +01:00
Benjamin Bouvier
2c71210b54 Bug 1417555: Fix a rebasing error; r=me
MozReview-Commit-ID: BmFj7rU7Sxd

--HG--
extra : rebase_source : 9de285f15551261ccd990ec4352e20836a5b910f
2017-11-17 11:57:16 +01:00
Benjamin Bouvier
f1a832bd0b Bug 1417555: Fuse the script load and jit code load into one masm instruction; r=jandem
MozReview-Commit-ID: 4hyHyjHpu2B

--HG--
extra : rebase_source : 3dbf3a6a44c63d092f8c679fb0fef3c7e498c9d6
extra : histedit_source : 620fdc32897f676650e37218ff43e132ec54baf8
2017-11-15 17:11:54 +01:00
Benjamin Bouvier
09eaa31001 Bug 1417555: Rejigger how native/script are stored in JSFunction and update callers; r=jandem
MozReview-Commit-ID: JdNwPLTvsTt

--HG--
extra : rebase_source : 36a66b08f78d8a3fa60ee264abd8fc0033b6da81
extra : histedit_source : 15da64862811a0dd252743c693c8cee9453b3174
2017-11-15 16:28:56 +01:00
Benjamin Bouvier
3f95c09fd2 Bug 1417555: Use more descriptive names in the JSFunction union; r=jandem
MozReview-Commit-ID: FWW43cMAbnv

--HG--
extra : rebase_source : a4ec32b69bbb0c627459253a6b1a370a5c6640d4
extra : histedit_source : 5435152c5900a8f6c059387e30fab3625b40ba21
2017-11-15 15:51:59 +01:00
Benjamin Bouvier
1b49087f99 Bug 1417555: Random cleanups; r=jandem
MozReview-Commit-ID: IUib7BfNWEN

--HG--
extra : rebase_source : 6ac03ec53156fd3446ee032ca8533e7621bbd3d8
extra : histedit_source : 85c359dca98f83a872ea26ae5b8eeba7a5edbfb4
2017-11-15 15:27:23 +01:00
Andreea Pavel
bfd41fe2bc Backed out 5 changesets (bug 1366083, bug 1410528, bug 1417267) for failing Spidermonkey jstests and jit-tests r=backout on a CLOSED TREE
Backed out changeset a83b373d2d2e (bug 1417267)
Backed out changeset 3059e975eef8 (bug 1366083)
Backed out changeset 94d20ed3c062 (bug 1410528)
Backed out changeset 5e1dc7fec0ff (bug 1410528)
Backed out changeset ec0702d55b01 (bug 1410528)
2017-11-17 10:13:38 +02:00
André Bargull
e9aa7acf22 Bug 1404251 - Fix various UBSan issues in SpiderMonkey. r=bbouvier 2017-11-16 11:25:48 -08:00
André Bargull
c4c1696c20 Bug 1416809 - Part 2: Turn AsyncGeneratorResumeNext recursion into iteration to avoid stack overflow. r=arai 2017-11-16 05:59:49 -08:00
André Bargull
2449700db0 Bug 1416809 - Part 1: Embed AsyncGenerator{Resolve,Reject} in AsyncGeneratorResumeNext. r=arai 2017-11-16 03:48:05 -08:00
André Bargull
86a9381528 Bug 1183241 - Add a regression test case. r=bz
--HG--
extra : rebase_source : 58c47e87ea9d01d3e74ed81984e3cd2dc98e7160
2017-11-13 12:07:08 -08:00
Steve Fink
a508e25d60 Bug 1417267 - Output structured logs for jstests and jit-tests in automation, r=jonco
--HG--
extra : rebase_source : ca14f67f115b51bcae8a16c1d72fffaf529c1b50
2017-11-14 15:36:47 -08:00
Steve Fink
f858d069b7 Bug 1366083 - diagnostic patch for ObjectValue(nullptr), r=jonco
--HG--
extra : rebase_source : d2e6c4d7cbe15f475d7bed602b647079f95ab28e
2017-11-14 12:14:17 -08:00
Steve Fink
61a3808b44 Bug 1410528 - Suppress minidumps for crash tests, r=jonco
--HG--
extra : rebase_source : 86ca37c22287ef8e98393de31a1869782c92cff7
2017-11-03 16:04:35 -07:00
Steve Fink
5ace010ec6 Bug 1410528 - When running via autospider.sh, make the shell generate a minidump on crashes, r=jonco,ted
--HG--
extra : rebase_source : 8ab4093145e666a5e73b5d2b5efd498d38823eea
extra : source : 30247bfa8807b0106860399ecbfd51050c9b1885
2017-11-05 09:54:46 -08:00
Steve Fink
22a6a078e7 Bug 1410528 - Add a --dll flag to the JS shell for loading shared libs, r=ted,jonco
--HG--
extra : rebase_source : 7f207b7cdb1c4ac881293b7a7c5a788562e03dac
2017-11-13 10:00:16 -08:00
Jan de Mooij
25ed9f2982 Bug 1417398 - Use a single JitCode instance for JitRuntime trampolines. r=nbp 2017-11-16 18:32:35 +01:00
Csoregi Natalia
635fe8c86f Backed out 4 changesets (bug 1417123) for failing Spidermonkey builds js/src/jspubtd.h:100 r=backout
Backed out changeset 5af31f9f6bb5 (bug 1417123)
Backed out changeset f287a77b84c2 (bug 1417123)
Backed out changeset 57be86412a37 (bug 1417123)
Backed out changeset 14a6856d7361 (bug 1417123)
2017-11-16 15:05:54 +02:00
Jon Coppeard
28fca947a5 Bug 1417123 - Move rooting-related classes from jspubtd.h to public/RootingAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard
65b7a83d09 Bug 1417123 - Move high level GC APIs to public/GCAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard
08052a293d Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink 2017-11-16 12:21:07 +00:00
André Bargull
055644cae3 Bug 1416793 - Part 7: Inline FunctionContextFlags into FunctionBox. r=jandem 2017-11-14 08:01:44 -08:00
André Bargull
e24b429bfd Bug 1416793 - Part 6: Pack ParseContext more efficiently. r=jandem 2017-11-14 07:13:03 -08:00
André Bargull
c8c02dabde Bug 1416793 - Part 5: Inline AnyContextFlags into SharedContext. r=jandem 2017-11-13 08:59:40 -08:00
André Bargull
159d69394f Bug 1416793 - Part 4: Pack SharedContext more efficiently. r=jandem 2017-11-14 07:54:21 -08:00
André Bargull
6fae921503 Bug 1416793 - Part 3: Remove unused insideUseAsm field in FunctionBox. r=jandem 2017-11-13 07:56:59 -08:00
André Bargull
13ca11bc00 Bug 1416793 - Part 2: Make generator and async kind storage more consistent in various classes. r=jandem 2017-11-13 07:55:41 -08:00
André Bargull
804c9179e6 Bug 1416793 - Part 1: Remove array and generator comprehension leftovers. r=jandem 2017-11-16 01:12:14 -08:00
Marco Castelluccio
97619e8164 Bug 1417447 - Don't hardcode path separator in jit test paths, as on Windows it might be different. r=nbp
--HG--
extra : rebase_source : 3124d6e72a6e58cd9e72429b2f0119d6937765f5
2017-11-15 15:35:14 +01:00
Mike Hommey
3d67bc07a1 Bug 1417309 - Move some definitions from top-level moz.build to application-specific moz.build files. r=nalexander
When building with a --enable-project that is neither js nor a
toolkit-based one (like browser or mobile/android), we don't want to be
building things that are specific to gecko and/or spidermonkey.

At the same time, this lifts the exception that js standalone doesn't
have an app.mozbuild included, and makes the moz.build parsers that
don't set a MOZ_BUILD_APP get the same information as they were through
toolkit.mozbuild.

We still keep mfbt, build and a few other DIRS set from the top-level,
because at the moment, there aren't really any --enable-project that
would benefit from those not being recursed.
2017-11-16 08:37:32 +09:00
Jason Orendorff
b2706bde61 Bug 1409676 - Trivial code cleanup around XrayTraits. r=mrbkap
--HG--
extra : rebase_source : 089999723d3a9bae841bd16831e151795a788c9d
2017-10-18 11:09:10 +01:00
Jason Orendorff
c1e592121a Bug 1388317 - Remove support for E4X for each loop. r=evilpie.
--HG--
extra : rebase_source : 7cfd20e02812068bd464e2889c50557bbd35fea5
2017-10-20 17:50:32 -04:00
Nathan Froyd
f51359bd19 Bug 1325632 - part 5 - ensure that we compile with -fno-sized-deallocation when possible; r=chmanchester
We currently turn off the C++14 sized-deallocation facility on MSVC, and
we'd like to ensure we do the same thing for clang and gcc.  To do so,
we add new functionality to moz.configure for checking and adding
compilation flags, similar to the facility for checking and adding
warning flags.  The newly added facility is then used to add
-fno-sized-deallocation to the compilation flags, when the option is
supported.

Once we do this, we can't define the sized deallocation functions in
mozalloc.h; the compiler will complain that we are using
-fno-sized-deallocation, yet defining these special functions that we'll
never use.  These functions were added for MinGW, where we needed to
compile with C++14 ahead of other platforms to be compatible with MSVC
headers.  But they're no longer necessary, though they would be if we
removed -fno-sized-deallocation; the compiler will complain if we do
that and we'll add them back at that point.
2017-11-15 14:53:16 -04:00
Nathan Froyd
2b3527011f Bug 1325632 - part 3 - compile rust bindings with -fno-sized-deallocation; r=ted.mielczarek
This probably doesn't make a huge difference, as we're not generating
any code here, but better safe than sorry.
2017-11-15 14:53:17 -04:00
Nika Layzell
5c65681cb0 Bug 1415645 - Part 5: Fix some more consumers of nsGlobalWindow which I missed, r=smaug
MozReview-Commit-ID: DvMH4cVw5NK
2017-11-15 11:21:57 -05:00
Benjamin Bouvier
b2f18b5f0e Bug 1415224: Remove wasm test mode entirely; r=luke
MozReview-Commit-ID: L8qoButUhT9

--HG--
extra : rebase_source : 206e8350fdb78b15124c2fb481364752a12ba1d0
2017-11-07 23:01:07 +01:00
Benjamin Bouvier
6b5dff4ed7 Bug 1415224: Remove jit test mode support for int64 testing; r=luke
MozReview-Commit-ID: JnonYprELMt

--HG--
extra : rebase_source : 03fa2e05e2e3789fa1ac3a5f218ed9111bbd1c53
2017-11-09 19:04:19 +01:00
Benjamin Bouvier
ab3b1d143b Bug 1415224: Have wasm assertions auto-generated in wasm; r=luke
MozReview-Commit-ID: I72lkHYq1TF

--HG--
extra : rebase_source : 8b6c8baa58b7265bef781679a2cdb00bb0a6fd9c
2017-11-13 18:30:15 +01:00
Benjamin Bouvier
3f82636a00 Bug 1415224: Remove wasm testing mode for custom NaN payloads; r=luke
MozReview-Commit-ID: 1CB9zUkTIyk

--HG--
extra : rebase_source : 2b00b600b4607fff066ef2d1e8dae6f523a410fb
2017-11-07 19:16:39 +01:00