Commit Graph

62737 Commits

Author SHA1 Message Date
Jan de Mooij
6e1de765f0 Bug 1417688 followup - Use #ifdef DEBUG instead of DebugOnly<> to work around MSVC bustage. r=red CLOSED TREE 2017-11-21 13:45:55 +01:00
Jan de Mooij
5e6f27bb61 Bug 1418844 followup - Use pre-decrement instead of post-decrement to fix leaks. r=tcampbell 2017-11-21 13:42:32 +01:00
Tom Schuster
cde7ee2711 Bug 1417688 - Do not call ArraySpeciesCreate for DOM proxies. r=anba,bz 2017-11-21 12:09:26 +01:00
Jan de Mooij
781378034e Bug 1418844 followup - Add message to static_assert. r=red
--HG--
extra : rebase_source : 0e8694819d5b31ab219daaf70b5b850186ce10c5
2017-11-21 12:07:36 +01:00
Ted Campbell
78a8f17527 Bug 1418842 - Support JS_OOM_BREAKPOINT on MSVC. r=sfink
MozReview-Commit-ID: CHLvYjKkP7n
2017-11-19 14:35:00 +02:00
Ted Campbell
09601dae12 Bug 1418844 - (2) Check all lengths in ScriptBytecodeHasher. r=jandem
When de-duping SharedScriptData, check length of each region of data
buffer instead of just total length to avoid potential collisions.

MozReview-Commit-ID: 5fJIqSNOuON
2017-11-19 14:47:00 +02:00
Ted Campbell
d32c125b55 Bug 1418844 - (1) Make srcnote data explicit in SharedScriptData. r=jandem
This patch adds SharedScriptData::notes() instead of implicitly assuming
srcnote data is appended to bytecode.

MozReview-Commit-ID: AJRE3G9jbiL
2017-11-20 10:20:00 +02:00
Tiberius Oros
8b9701dd72 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-21 12:19:30 +02:00
Jon Coppeard
9c377844d3 Bug 1409380 - Simplify HeapSlot to make it trivially copyable r=sfink 2017-11-21 10:09:24 +00:00
Jan de Mooij
e1ac6c9b10 Bug 1410528 followup - Avoid NSPR dependency on OS X too, to unbreak AWFY. r=jonco on IRC 2017-11-21 11:08:06 +01:00
Tiberius Oros
797c93d81f Merge inbound to mozilla-central r=merge a=merge 2017-11-21 11:55:23 +02:00
Steve Fink
a1edd33ebf Bug 1417267 - Output structured logs for jstests and jit-tests in automation, r=jonco
--HG--
extra : rebase_source : e428c4f582b6e6b50de3709fd2e1a0106ca23262
extra : source : a83b373d2d2ec45343f1612929881e00c099843e
2017-11-14 15:36:47 -08:00
Steve Fink
270cf4bba9 Bug 1366083 - diagnostic patch for ObjectValue(nullptr), r=jonco
--HG--
extra : rebase_source : f04c02b595415b00bbf5e56efc9a3166d45bc3cb
extra : source : 3059e975eef8c81c720d9450bd0792fdd501d6d6
2017-11-14 12:14:17 -08:00
Steve Fink
7e45084b24 Bug 1410528 - Suppress minidumps for crash tests, r=jonco
--HG--
extra : rebase_source : c0feae5456443a4d5a9ee089df8590dd8cb20715
extra : source : 94d20ed3c06249c7940d1eb7c6717787780e1a81
2017-11-03 16:04:35 -07:00
Steve Fink
18b31959b2 Bug 1410528 - When running via autospider.sh, make the shell generate a minidump on crashes, r=jonco,ted
--HG--
extra : rebase_source : 56c0c741f404bc901c772ce597eea0db58730f27
extra : intermediate-source : 5e1dc7fec0ff1181361043f64668298fdbab2bdc
extra : source : 30247bfa8807b0106860399ecbfd51050c9b1885
2017-11-05 09:54:46 -08:00
Steve Fink
39ce2a72c4 Bug 1410528 - Add a --dll flag to the JS shell for loading shared libs, r=ted,jonco
--HG--
extra : rebase_source : 754d2f84e179c959026096ade1be54f270b3cde3
extra : source : ec0702d55b012ccb507686d5a644e7c568524f0e
2017-11-13 10:00:16 -08:00
Brindusan Cristian
334a5602dc Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-21 00:29:02 +02:00
Cosmin Sabou
fdc83a94aa Merge inbound to mozilla-central r=merge a=merge 2017-11-21 00:01:02 +02:00
Jan de Mooij
3e7473f77b Bug 1415853 - Use a trampoline for JIT -> interpreter calls. r=bbouvier
--HG--
extra : rebase_source : 0740c5dc2fd087bfb61b54776157717135583016
2017-11-20 20:54:32 +01:00
Tooru Fujisawa
7f67b178a5 Bug 1388325 - Stop getting telemetry for deprecated feature in addons (JS_DEPRECATED_LANGUAGE_EXTENSIONS_IN_ADDONS) r=jandem 2017-11-21 03:41:56 +09:00
Tom Schuster
486cc0b4e7 Bug 1288392 - Use Scalar Replacement on MNewArrayCopyOnWrite arrays. r=nbp 2017-11-20 19:18:45 +01:00
Jon Coppeard
d263df0462 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
7a796ccffb Bug 1417123 - Move high level GC APIs to public/GCAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Jon Coppeard
0cfc710f84 Bug 1417123 - Move barrier function declarations to public/HeapAPI.h r=sfink 2017-11-16 12:21:07 +00:00
Paul Bone
492e6f2e52 Bug 1417315 - Calculate lazy_capacity perf value before resizing the nursery r=sfink 2017-11-15 17:08:39 +11:00
Philip Chimento
2ac7248a65 Bug 1405567 - Mark LCOV branches not taken with 0, and not executed with -. r=nbp 2017-11-07 17:58:35 -08:00
Philip Chimento
00df6bf92b Bug 1405567 - Get LCOV stats for first line of script, and handle lines that belong to more than one script. r=nbp 2017-11-12 22:52:31 -08:00
Paul Bone
d9f3623f07 Bug 1412729 (part 4) - Attempt to reduce the size of GCMajor markers r=sfink
--HG--
extra : rebase_source : b1076c58337d3153bfdb27783719ef304ca75590
2017-11-10 23:19:04 +11:00
Paul Bone
f97c230bc8 Bug 1412729 (part 3) - Reduce the size of GCSlice markers r=sfink
--HG--
extra : rebase_source : c9a479b96b32827e756d50d53979352e5306e811
2017-11-12 13:52:40 +11:00
Paul Bone
ea35437103 Bug 1412729 (part 2) - Reduce the size of most GCMinor telemetry objects r=sfink
--HG--
extra : rebase_source : 1906294025863bb8250787b7dabaa0494e162365
2017-11-15 16:42:22 +11:00
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