Commit Graph

62149 Commits

Author SHA1 Message Date
Sebastian Hengst
87cd48824a merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-10-13 00:53:56 +02:00
Benjamin Bouvier
e1285cf36b Bug 1406879: Skip wasm frames when when enabling profiler and setting profiling FP; r=jandem
MozReview-Commit-ID: EIjjda2AorV

--HG--
extra : rebase_source : 826c31104983b0207ff4ce1f9a7a89ea75f2630c
2017-10-11 16:03:47 +02:00
Jon Coppeard
5537b2c136 Bug 1407505 - Relax assertion in ExecutableAllocator destructor if the embedding leaked r=jandem 2017-10-12 13:34:56 +01:00
Benjamin Bouvier
74c8c8384a Bug 1406883: Make the constructing of MutableHandleValue explicit in CoerceInPlace calls; r=luke, r=jonco
MozReview-Commit-ID: 5Xfc8W9TR6v

--HG--
extra : amend_source : a8689c5e2206ec6bd06ab5455a638f19427f854f
2017-10-09 12:08:46 +02:00
Jon Coppeard
5f676753c0 Bug 1395744 - Save scheduled zones at the start of GC in case begin callback changes them r=sfink 2017-10-12 10:32:24 +01:00
Jan de Mooij
b39bc4656a Bug 1407058 - Fix isDataProperty to return false for accessors with nullptr getter/setter. r=evilpie 2017-10-12 11:06:55 +02:00
Jan de Mooij
4f3b63ae99 Bug 1406957 part 4 - Remove now-dead InterpreterFrame createSingleton flag. r=tcampbell 2017-10-12 11:04:46 +02:00
Jason Orendorff
2db41f075d Bug 1396466 - Remove Xray expando chains from the weakmap when transplanting nodes. r=bz
--HG--
extra : rebase_source : aa90385160666b155cc8dbad63bcfa34d3e50d32
extra : amend_source : 6b9ebda268a6198f5e0143e5449f9d62ef1aed76
2017-10-10 10:42:18 -05:00
Ted Campbell
810352b6f4 Bug 1402596 - Init Promise job queue on cooperative threads (jsshell) r=till
MozReview-Commit-ID: 6ikd7yZyIRk

--HG--
extra : rebase_source : 97c356490a938d98a1daaae3cdc28809b9f8ef94
2017-10-11 11:32:32 -04:00
Dustin J. Mitchell
c673307b64 Bug 1403322 - schedule jsreftests inclusively; r=ahal
This is just one flavor of the "reftets" suite, so we need to add a distinct
scheduling component for it.

MozReview-Commit-ID: AtKuvuUCk1l

--HG--
extra : rebase_source : 3f316f0293e8d1245fc6e891bbcd044586ab6c06
2017-10-11 17:31:20 +00:00
Dustin J. Mitchell
0b3b170dce Bug 1403322 - schedule jittests inclusively; r=ahal
MozReview-Commit-ID: JcvMSTBJ83p

--HG--
extra : rebase_source : d51581a5418fdf5b119b8670ccf89cafcc0743ae
2017-10-11 17:21:11 +00:00
Nicolas Auvray
b85b90d54f Bug 1285917 - Add tests for JS::InformalValueTypeName. r=jorendorff
--HG--
extra : rebase_source : b8d242611174ac1ceaf3761b47c654ee657ab524
extra : amend_source : a098f77e902d9d8248dab06a950faf5726270e01
2016-12-11 20:05:59 +01:00
André Bargull
ee940f786b Bug 1407584 - Part 3: Update test262 skip list. r=Waldo
--HG--
extra : rebase_source : 8d51cab94744f8a3dc698b4fae08a56a786b1162
2017-10-11 05:36:42 -07:00
André Bargull
c234564550 Bug 1407584 - Part 2: Update test262 files. rs=Waldo
--HG--
extra : rebase_source : 9f4b567d79e1a9f6b12704378523a3fdf92891c8
2017-10-11 05:36:38 -07:00
André Bargull
daef1c9317 Bug 1407584 - Part 1: Update the list of supported and unsupported features for the test262 importer. r=Waldo
--HG--
extra : rebase_source : b1dbe0c67ebff6e8c9ab768a2a9bc9b8f8f2370f
2017-10-11 05:36:21 -07:00
Brian Hackett
731824c92b Bug 1405820 - Remove ReportUsageErrorASCII assertions that are invalid when used with shell clone() function, r=waldo. 2017-10-11 10:31:10 -07:00
André Bargull
ffdab4fa13 Bug 1405284 - Avoid extra copying of property keys when calling js::GetOwnPropertyKeys. r=jandem
--HG--
extra : rebase_source : 1bcf4acbf4db018e403b82d724da50297a5470a7
2017-10-11 06:50:59 -07:00
André Bargull
f5c8496af4 Bug 830304 - Compute correct time zone offsets for Date methods. r=Waldo
--HG--
extra : rebase_source : 480e087c1e19771f18ccb7146b55f063f347b817
2017-10-11 06:54:44 -07:00
Benjamin Bouvier
ffd821fe46 Bug 1406041: Make testTypedArrayInit temporarily faster to run in ARM sim to fix bustage on a CLOSED TREE; rs=luke
--HG--
extra : amend_source : 480a8dc09e76a1b825218ff758e311426f31e411
2017-10-11 18:34:55 +02:00
Benjamin Bouvier
7a5082e0d1 Bug 1406897: use quit() instead of top-level return in test to fix bustage on a CLOSED TREE; r=me 2017-10-11 18:27:53 +02:00
Jon Coppeard
f665a1c133 Bug 1384049 - Trigger an incremental GC based on malloc memory counters r=pbone 2017-10-04 15:45:30 +01:00
Benjamin Bouvier
c4b8fd08c0 Bug 1406897: Use JitFrameIter::operator++ in OnlyJSJitFrameIter::settle; r=luke
--HG--
extra : rebase_source : b26122993792502ad0f30f63abccc41a7abd853e
extra : amend_source : e718b2e5469a8dd7ae9e489a1626c37b80ae771b
2017-10-11 16:45:32 +02:00
Benjamin Bouvier
dbd7908b4d Bug 1406041: Implement process-wide wasm code lookup; r=luke
--HG--
extra : rebase_source : 78f074a8aa470014276f77bda151d3165588fa4d
2017-10-11 11:40:30 +02:00
Jason Orendorff
7b5f4b93ca Bug 1405760 - Don't set the op field of array literal and object literal nodes. r=Waldo
--HG--
extra : rebase_source : 59251498af17b43d3146fdbd6db13e0c23090a79
2017-10-04 15:08:20 -05:00
Jason Orendorff
e899cc8b59 Bug 1405760 - Remove ParseHandler::newBinary from the interface. Don't set the op field of assignment nodes. r=Waldo
FullParseHandler::newBinary remains as a private method.

--HG--
extra : rebase_source : f51fe8f1a3357e826d05c8afc3fad4139eceec3a
2017-10-04 11:51:14 -05:00
Jason Orendorff
13fc4dd2ea Bug 1405760 - Remove op argument from ParseHandler::newList signatures. r=Waldo
Several kinds of list nodes still have a pn_op set, even with this change.

--HG--
extra : rebase_source : a64aeef176f93363e0be477e2a4a036f40c8d6a2
2017-10-04 11:17:18 -05:00
Jason Orendorff
dc98eca3a4 Bug 1405760 - Don't set the op field for other unary nodes either. r=Waldo
--HG--
extra : rebase_source : 644aef19dedc9901eb65d3ad6c3e68660ce870f5
2017-10-04 10:41:54 -05:00
Jason Orendorff
7de5fe074e Bug 1405760 - Don't set the op field of nodes for unary operators. r=Waldo
--HG--
extra : rebase_source : 5ffb6696f69e8ecf4725af2333d2bc239a7eeea8
2017-10-04 10:21:46 -05:00
Jason Orendorff
5bf23340aa Bug 1405760 - Change add{Class,Object}MethodDefinition not to take a JSOp argument. r=Waldo
The ParseNodes still store a JSOp, though, for now.

--HG--
extra : rebase_source : 59483bcf080699e5631d32cc800036ff9091b632
2017-10-04 09:43:16 -05:00
Jason Orendorff
d7a3eb23e0 Bug 1405760 - Remove ParseHandler::newTernary. r=Waldo
This also removes the (already-obsolete) op argument from TernaryNode constructors.

--HG--
extra : rebase_source : 0fd68ea1da8b90bfd289dca2ba19c179023e48a3
2017-10-04 09:21:39 -05:00
Jason Orendorff
e7b835b2c0 Bug 1405760 - Don't set the op field of nodes for binary operators. r=Waldo
--HG--
extra : rebase_source : 90a217fabcf960c3c12ac3fae8de56863d4ae1af
2017-10-04 10:23:25 -05:00
Jason Orendorff
c80673f70b Bug 1405760 - Remove ParseHandler::newNullary, replacing the one use with a new method. r=Waldo
--HG--
extra : rebase_source : 7ef6ca92e439e815e7352102b8e4fe9be11b3ed4
2017-10-04 08:50:05 -05:00
Jason Orendorff
a9b8193313 Bug 1405760 - Remove the JSOp argument from ParseHandler::newDeclarationList. r=Waldo
This changes these ParseNodes to have pn_op=JSOP_NOP, but the field is
already ignored downstream for these node kinds.

--HG--
extra : rebase_source : e9d58d22dd116de134e3e36e6c8f3754511bc735
2017-10-04 08:42:50 -05:00
Jason Orendorff
c30e5830c0 Bug 1402456 - Document that entering a compartment roots the global. r=sfink
--HG--
extra : rebase_source : 229cc90fcb5bc93b1e4f39be5f7d95bbabe9ccc3
2017-09-22 15:01:52 -05:00
Jason Orendorff
fe9baf1ed1 Bug 1277734 - Null test after dereference in CompartmentChecker::check. r=billm
--HG--
extra : rebase_source : e9e52309c12b7d27c388aaf10200dda4ed80ab33
2017-10-03 09:57:13 -05:00
Kartikaya Gupta
0998110100 Bug 1407578 - Fix build error due to unused variable. r=jorendorff
MozReview-Commit-ID: 6tpEC7i3Mgh
2017-10-11 10:17:28 -04:00
Jan de Mooij
1c2dea7b92 Bug 1406957 part 3 - Get rid of some code duplication in jit::CreateThis and MaybeCreateThisForConstructor. r=tcampbell 2017-10-11 14:55:17 +02:00
Jan de Mooij
da26f3886d Bug 1406957 part 2 - Rewrite this-creation to be simpler and more consistent. r=tcampbell 2017-10-11 14:54:31 +02:00
Jan de Mooij
0278bed6ce Bug 1406957 part 1 - Remove Maybe<InvokeState> in Interpret. r=tcampbell 2017-10-11 14:53:10 +02:00
Jon Coppeard
fa34bb9ca6 Bug 1406065 - Make JSGC_MAX_MALLOC_BYTES param the same in the shell as the browser r=sfink 2017-10-11 13:22:09 +01:00
Sebastian Hengst
051f888cef Backed out changeset 759a43ebc6bf (bug 1405541) for asserting in devtools/client/performance/test/browser_perf-console-record-03.js on Windows 7. r=backout
--HG--
extra : amend_source : 3df3e75c561cbc42db104ec1a6f6026ef021e3c7
2017-10-11 13:15:26 +02:00
Nicholas Nethercote
add7e65972 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 53c8b43b6a1be06d00618a133e28bf95c46a3ba3
2017-10-11 13:03:34 +02:00
Lars T Hansen
8b81bfc9d4 Bug 1361526 - merge from upstream test262 to kill intermittents. r=me
--HG--
extra : rebase_source : af91036a74264ff546c164e69b8ff6b5988d9506
2017-10-11 11:16:49 +02:00
Lars T Hansen
6feb402ed2 Bug 1402257 - use some fraction of physical cores for tier-2 compiles. r=luke
--HG--
extra : rebase_source : 7a09d8ba264cc9ff21d8dbd2bb9c3d31ba561fcb
extra : histedit_source : 95ce64a768b6140b425cc8218e795178eac99cf9
2017-10-09 19:37:22 +02:00
Jan de Mooij
bca78a439b Bug 1385843 - Handle nested eval-in-frame better in ThrowUninitializedThis. r=tcampbell 2017-10-11 10:57:41 +02:00
Jan de Mooij
3bb67d4f17 Bug 1404306 - Set ION_COMPILING_SCRIPT in AutoLockHelperThreadState scope to avoid a shell-only race. r=jonco 2017-10-11 10:56:03 +02:00
Jan de Mooij
763bc6ef8d Bug 1406888 - Inline GeckoProfilerEntryMarker ctor/dtor. r=anba 2017-10-11 10:30:00 +02:00
Jan de Mooij
cc66552944 Bug 1406900 - Devirtualize RunState methods. r=luke 2017-10-11 10:29:05 +02:00
Phil Ringnalda
bd5ca8f40d Backed out changeset 901a16fec9fc (bug 1405541) for Windows assertion failures
MozReview-Commit-ID: DRGWXU4Tbfk
2017-10-10 23:28:33 -07:00
Nicholas Nethercote
b23fb68ae3 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 59f77df0124249bfd11fee3585420a17b4201d37
2017-10-04 13:44:24 +11:00