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

61638 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 9f5e4df6f4 Bug 1395432: Block some inlining for better debugging (in Nightly) r=luke 2017-08-30 23:29:30 -04:00
Bevis Tseng 215842a23c Bug 1392500 - Name the users of setTimeout() in Timer.jsm. r=billm,mccr8
1. Make nsINamed queriable on WrappedJSHolder.
2. Identify callers via |Cu.generateXPCWrappedJS(aCallback).QueryInterface(Ci.nsINamed).name|.

--HG--
extra : amend_source : 5d4201059f66e46c869c30a963921b6f7b91c389
2017-08-24 14:56:18 +08:00
Blake Kaplan d383834094 Bug 1376507 - Handle a list of contexts instead of a single context. r=billm
This might be prematurely optimized as it uses two lists (one list of active
contexts and one list of inactive contexts) but I was really attracted by the
idea of being able to answer questions like "is any context active" by only
looking at a single context and not having to iterate the whole list every
time we needed to do anything.

It is really important that nobody touches any of the timestamps (or the
mActive member) outside of the Watchdog lock. I thought about trying to
encapsulate that data in its own class, but that felt like overkill. Let me
know if you disagree.

There are still a couple of uses of XPCJSContext::Get that probably need to be
stamped out, but I think doing so will depend on the details of how we map
JSContexts to XPCJSContext (and XPCJSRuntimes). I think that should wait for a
separate bug.

MozReview-Commit-ID: 9UZlh7Jutne

--HG--
extra : rebase_source : 039b50bc70547b03bc0724435de0a10a29fcf85e
2017-08-28 16:05:11 -07:00
Blake Kaplan 2c3b159a1a Bug 1376507 - Move state onto XPCJSContext. r=billm
The current code assumes it can store data about "the" XPCJSContext on the
WatchdogManager singleton. Once we have more than one XPCJSContext running
around, that won't be possible. This moves the needed data onto the
XPCJSContext itself and gives the WatchdogManager the proper context to
operate on.

MozReview-Commit-ID: AxyFKp9LmH3

--HG--
extra : rebase_source : 113e3b8986563016d43b25e753bde61f7af49291
2017-08-23 17:40:09 -07:00
Wes Kocher e31150aea5 Backed out 2 changesets (bug 1376507) for build bustage a=backout
Backed out changeset 266611b269cc (bug 1376507)
Backed out changeset 04ecce0d1392 (bug 1376507)

MozReview-Commit-ID: JC6tERhgDoS
2017-08-31 17:08:29 -07:00
Wes Kocher cf93b6ca0d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BlE0HFQUP9c
2017-08-31 16:56:58 -07:00
Blake Kaplan c4cdfbe15a Bug 1376507 - Handle a list of contexts instead of a single context. r=billm
This might be prematurely optimized as it uses two lists (one list of active
contexts and one list of inactive contexts) but I was really attracted by the
idea of being able to answer questions like "is any context active" by only
looking at a single context and not having to iterate the whole list every
time we needed to do anything.

It is really important that nobody touches any of the timestamps (or the
mActive member) outside of the Watchdog lock. I thought about trying to
encapsulate that data in its own class, but that felt like overkill. Let me
know if you disagree.

There are still a couple of uses of XPCJSContext::Get that probably need to be
stamped out, but I think doing so will depend on the details of how we map
JSContexts to XPCJSContext (and XPCJSRuntimes). I think that should wait for a
separate bug.

MozReview-Commit-ID: 9UZlh7Jutne

--HG--
extra : rebase_source : a927511fbf5a7bbdb75f616b751ec3fb51e76903
2017-08-28 16:05:11 -07:00
Blake Kaplan 5c7a14294c Bug 1376507 - Move state onto XPCJSContext. r=billm
The current code assumes it can store data about "the" XPCJSContext on the
WatchdogManager singleton. Once we have more than one XPCJSContext running
around, that won't be possible. This moves the needed data onto the
XPCJSContext itself and gives the WatchdogManager the proper context to
operate on.

MozReview-Commit-ID: AxyFKp9LmH3

--HG--
extra : rebase_source : 113e3b8986563016d43b25e753bde61f7af49291
2017-08-23 17:40:09 -07:00
Philip Chimento d6d6614eee Bug 1379536 - Fix library install_name on macOS. r=glandium
--HG--
extra : rebase_source : 223be96670857fd00c6938e7eab5c8ed890c29ce
2017-07-25 15:25:45 -07:00
Kris Maglione fdbe5511ae Bug 1394556: Part 2 - Compile all JSM/module scripts in strict mode. r=Mossop
MozReview-Commit-ID: 5BLvaHEFCqv

--HG--
extra : rebase_source : f28cdc2acf5f0c26885feeb48105513f2bf6f5ef
extra : histedit_source : 1ead5f8843a091aa0beba4ccb26681ac2078e934
2017-08-28 11:39:06 -07:00
Jan de Mooij bc31f1ee31 Bug 1394835 part 1 - Spit JS_DefineProperty* APIs in separate data/accessor overloads. r=evilpie,bz 2017-08-30 15:35:06 +02:00
Sebastian Hengst a56d428b1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gf0QPFp52Bj
2017-08-30 11:05:16 +02:00
Wes Kocher de530c1ea6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 5c1Pgm4aVKe
2017-08-29 16:17:50 -07:00
Benjamin Bouvier 537fab7102 Bug 1392105. r=luke
MozReview-Commit-ID: JRR7DgJ114c
2017-08-23 16:04:02 +02:00
Dragan Mladjenovic d0b3c14fa9 Bug 1393723 - Handle wasm i64 sign extend on mips. r=lth
--HG--
extra : rebase_source : 4e48ec0439b9c64a0f61fb257dd8910c2a74ee05
2017-08-25 02:49:00 -04:00
Dragan Mladjenovic f2755f98aa Bug 1393723 - Fix incorrect copySign lowering on mips. r=lth
--HG--
extra : rebase_source : d36ccc1163172b75e20fc25fbb98a2c7df865850
2017-08-25 02:49:00 -04:00
Dragan Mladjenovic 11f666e857 Bug 1393723 - Fix incorrect lowering of wasm i64 load/stores on mips. r=lth
--HG--
extra : rebase_source : 9cd79c56701fb9be4b141da2309138776dc21acd
2017-08-25 02:48:00 -04:00
Dragan Mladjenovic 994dde24e2 Bug 1393723 - Fix wasm i64 shifts/rotates on mips32. r=lth
--HG--
extra : rebase_source : 0204c5238efde85489f5ba704cf5984cff53fb95
2017-08-29 00:47:00 -04:00
Dragan Mladjenovic 55d1173415 Bug 1393723 - Fix wasm prologue offsets for mips. r=lth
--HG--
extra : rebase_source : ba64b1af67aeaa10f91c77b79536ae52390d232c
2017-08-25 02:47:00 -04:00
Dragan Mladjenovic dda1230377 Bug 1393723 - Add definition of Assembler::FramePointer for mips32. r=lth
Also changes fp(s8) register to be calle saved for mips32 as per O32 calling convention.

--HG--
extra : rebase_source : a2bfeb5d5d7f0f2347d44f18924365b4d500df63
2017-08-29 00:48:00 -04:00
Dragan Mladjenovic 5e866b9367 Bug 1393723 - Fix handling of wasm div/mod/mul64 on mips32. r=lth
--HG--
extra : rebase_source : 931362bbd56a7e1a34d33e7dea47f54f66c340c2
2017-08-29 00:48:00 -04:00
Dragan Mladjenovic d638fa5306 Bug 1393723 - Fix handling of wasm float32/64 <-> u/int64 on mips. r=lth
--HG--
extra : rebase_source : c30e482c2bcbe071594ce79e647941aff19cd166
2017-08-29 10:04:00 -04:00
Dragan Mladjenovic 4bce5ae022 Bug 1393723 - Implement missing parts of bug 1338217 on mips32. r=lth
--HG--
extra : rebase_source : 86942b169e5d2e1013d8f617cda05b1d2e7d80b1
2017-08-29 00:49:00 -04:00
Dragan Mladjenovic 872c6b3cf5 Bug 1393723 - Fix handling of float32 WasmStackArgs on mips32. r=lth
Current implementation was incorrectly treating all floating-point values as doubles.

--HG--
extra : rebase_source : d4df2bff557c7a699403d9d1b3f0b7f4309e51a0
2017-08-29 00:50:00 -04:00
Dragan Mladjenovic eaa7504cb9 Bug 1393723 - Implement MacroAssembler::PopStackPtr on mips. r=lth
--HG--
extra : rebase_source : 7b469647083762d1f9a75252d4d4bb917599dc5f
2017-08-29 00:51:00 -04:00
Dragan Mladjenovic e02f35d788 Bug 1393723 - Fix handling of wasm truncate-to-uint32 on mips. r=lth
The trunc.l.d/s cannot be used on mips32 requiring a different
algorithm for fp -> uint32 conversion.

--HG--
extra : rebase_source : d7144c88edeb8a4b3f2da0fd55a9bd0f90aba9a5
2017-08-25 02:44:00 -04:00
Dragan Mladjenovic d760081b37 Bug 1393723 - Fix usage of branchTestString in CacheIRCompiler::emitArrayJoinResult. r=jandem
On mips, NonZero is not alias for NonEqual making it illegal condition argument
for branchTestString.

--HG--
extra : rebase_source : 48da46b46f17b8568e1108e58533e844429c3e49
2017-08-29 00:52:00 -04:00
Dragan Mladjenovic b88c396059 Bug 1393723 - Fix GenerateInterruptExit for mips. r=lth
--HG--
extra : rebase_source : c48c2207e0fd7cc746862e9d4d5056a0074c1815
2017-08-25 02:43:00 -04:00
Sebastian Hengst 558aede67b merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-08-29 20:36:12 +02:00
Sebastian Hengst 2a9cc8e3be merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BQuBmVtsdki
2017-08-29 20:30:41 +02:00
Steve Fink a668ae6a7d Backed out changeset 4d8da479bdd0 (bug 1394573) on a CLOSED TREE
--HG--
extra : amend_source : a113e9212682e16dd1a23515809bedab1b2dd1b0
2017-08-29 11:24:56 -07:00
Steve Fink fc887f2523 Bug 1394573 - Remove the footgun of having --objdir relative to the source checkout, r=till
--HG--
extra : rebase_source : 03637c0370198205a266faa007ba75968b273e7b
extra : amend_source : 38ca91def8be1e7eebf38b4198b9f04dccedd02b
2017-08-28 14:36:11 -07:00
Luke Wagner e2ac6a29f1 Bug 1351488 - Fix wasmExtractCode for tiering (r=lth)
MozReview-Commit-ID: AtDTy7afEHH

--HG--
extra : rebase_source : d413d2d814c54d32fc3c9272fb4500dd7de5bd68
2017-08-29 11:38:23 -05:00
Luke Wagner 7160aa5488 Bug 1351488 - Implement async notification API so serialization is nonblocking (r=lth)
MozReview-Commit-ID: AI2vpnDUgYJ

--HG--
extra : rebase_source : 6808d6a7b82f153285c2824d87bf0ee5a2cf1f91
2017-08-29 11:38:15 -05:00
Luke Wagner ext:(%20and%20Jan%20Varga%20%3Cjanv%40mozilla.com%3E) 6d6143f94c Bug 1351488 - Add async notification API for wasm compilation and async stream using it (r=janv,luke,asuth)
MozReview-Commit-ID: K0MOcxS8CMT

--HG--
extra : rebase_source : 29ca61cd016c573310ac4a93656dc06e4837ac70
2017-08-29 10:56:49 -05:00
Lars T Hansen 2396e38198 Bug 1394771 - Check that a wasm name is UTF8 when we first read it. r=luke
--HG--
extra : rebase_source : d00a93bddec71fc76bf2c30912c35008ddf06700
2017-08-29 15:00:32 +02:00
Lars T Hansen 5fadbc09b3 Bug 1394774 - wasm, read u8 fields as u8, not as varu32. r=luke
--HG--
extra : rebase_source : 584950056b6f11f4e0c8c17181e9551121e00ef4
extra : source : bf57e847d71040048aa8545cb0c641290b2404cb
2017-08-29 14:22:20 +02:00
Yu Yin 5289232843 Bug 1393347 - MIPS: Output some more infomation when debug jit code. r=luke 2017-08-24 00:02:00 -04:00
André Bargull f59cbf7cd5 Bug 1389752 - Throw TypeError if [[OwnPropertyKeys]] of scripted proxies contains duplicates. r=till, r=qdot
--HG--
extra : rebase_source : 7c31e7c3443d7a1885d89a0688022f68f5034bf0
2017-08-23 23:56:40 +02:00
Jon Coppeard 00f55c5fed Bug 1376899 - Remove unused isZoneGC parameter from GC finalize callback r=sfink r=mccr8 2017-08-29 11:58:26 +01:00
Masatoshi Kimura 3391f6e37a Bug 1098412 - Remove the legacy Iterator constructor. r=luke
MozReview-Commit-ID: 4GmodzFsZsY

--HG--
extra : rebase_source : b715b2cd254a1c3de753c44b83ae2837cd520e92
2017-08-25 22:29:07 +09:00
Masatoshi Kimura 452d3a0896 Bug 1098412 - Remove __iterator__ implementation. r=luke
MozReview-Commit-ID: 6qqSSrB4Vvh

--HG--
extra : rebase_source : b8e6ef46d6bae1aecfe3874d81bd537e506bdba3
2017-08-24 22:17:40 +09:00
Masatoshi Kimura 42afc8970b Bug 1098412 - Remove and update tests that use the legacy Iterator constructor. r=luke
MozReview-Commit-ID: G7q3ARzOYFf

--HG--
extra : rebase_source : d36ddf7abba4068d766d9f068f87616bdd316158
2017-08-24 22:45:53 +09:00
Masatoshi Kimura 26cc0cb408 Bug 1098412 - Remove and update tests that use __iterator__. r=luke
MozReview-Commit-ID: 7mxZYAceiuN

--HG--
extra : rebase_source : c3ef5cd42b80919e004c90dd0feb7027ec4379d7
2017-08-24 22:25:25 +09:00
Tom Schuster 8a4a99489c Bug 1385278 - Move StoreDenseElement to CacheIR from Ion. r=jandem 2017-08-30 00:46:47 +02:00
André Bargull 287d654783 Bug 1069666 - Implement WeakSet as proper class instead of delegating to WeakMap. r=till
--HG--
rename : js/src/builtin/WeakMapObject.cpp => js/src/builtin/WeakMapObject-inl.h
2017-08-28 21:28:34 +02:00
Kris Maglione c5a2868365 Bug 1394467: Remove unused procompileScript method. r=mccr8
MozReview-Commit-ID: 6s2Nqtcd9uS

--HG--
extra : rebase_source : ec4f96e7281e3f72be01aeb8faa1c9b34a61f534
2017-08-28 09:21:46 -07:00
Sebastian Hengst 5b70ed6728 Backed out changeset 645be0c7780a (bug 1069666) for breaking non-unified build at js/src/builtin/WeakMapObject-inl.h:19. r=backout on a CLOSED TREE 2017-08-28 17:02:58 +02:00
Sebastian Hengst e93cfe86b2 Backed out changeset c9985a01db87 (bug 1377710) for asserting at js/src/jit/IonAnalysis.cpp:2835 while running js/src/jit/IonAnalysis.cpp:2835, r=backout on a CLOSED TREE 2017-08-28 16:59:28 +02:00
Sebastian Hengst d7c8261e8e Backed out changeset be2075c60ec8 (bug 1377710) 2017-08-28 16:58:17 +02:00
Sebastian Hengst 2278e9667d Backed out changeset e5a213c7b80e (bug 1377710) 2017-08-28 16:58:11 +02:00
Sebastian Hengst e7471b6796 Backed out changeset 35c735592ec2 (bug 1377710) 2017-08-28 16:58:06 +02:00
Sebastian Hengst 5c5e935e2b Backed out changeset e3b8f85ad004 (bug 1377710) 2017-08-28 16:57:43 +02:00
André Bargull 48ac36b187 Bug 1391780 - Call GetPrototypeFromConstructor after parsing in CreateDynamicFunction. r=till 2017-08-23 15:17:57 +02:00
André Bargull 597188375b Bug 1069666 - Implement WeakSet as proper class instead of delegating to WeakMap. r=till
--HG--
rename : js/src/builtin/WeakMapObject.cpp => js/src/builtin/WeakMapObject-inl.h
extra : rebase_source : 894b4592863f8156e79867decd40220a0e7cf97a
2017-08-25 15:08:59 +02:00
André Bargull 76acb68b01 Bug 1303335: Move parts of Object.getOwnProperty and Object.defineProperty to self-hosted code. r=till 2017-08-28 16:47:47 +02:00
Nicolas B. Pierron e48c3f569a Bug 1377710 - FlagUnusedPhi should not assert that Unused flag does not exists as it is now re-run multiple times. r=jandem
CLOSED TREE
2017-08-28 14:05:31 +00:00
Steve Fink 0832f04f61 Bug 1386787 - Throw for short structured clone reads. r=kanru 2017-08-09 18:34:40 -07:00
Nicolas B. Pierron 548c162417 Bug 1377710 - Branch Pruning: Add pathological test case. r=nbp 2017-08-28 13:04:54 +00:00
Nicolas B. Pierron 249118a732 Bug 1377710 - Flag unused Phis before flagging Phi inputs as having removed uses. r=tcampbell 2017-08-28 13:04:54 +00:00
Nicolas B. Pierron be8e46a971 Bug 1377710 - Branch Pruning: Pre-compute and cache the cost of basic blocks. r=tcampbell 2017-08-28 13:04:54 +00:00
Nicolas B. Pierron 1c774b8ea4 Bug 1377710 - Branch Pruning: Do not count Phi nodes as part of the weight of basic blocks. r=tcampbell 2017-08-28 13:04:53 +00:00
Nicolas B. Pierron 7dda03e8fa Bug 1388045 - Branch Pruning: Check the compile info associated with the resume point. r=sstangl 2017-08-28 13:04:53 +00:00
Lars T Hansen 00e96badb1 Bug 1393732 - Correct ARM codegen for 32-to-64 sign extend. r=nbp
--HG--
extra : rebase_source : 1366fc2430156e4a1bcecd4b5431af9444d46f8b
2017-08-28 11:47:18 +02:00
Lars T Hansen 721e030388 Bug 1316820 - Rabaldr, optimized zeroing of locals. patch=mds+lth, r=bbouvier
--HG--
extra : rebase_source : e9e61ceda40ca8d135568d19fa7a3d74ef194b42
2017-08-23 12:09:48 +02:00
Jan de Mooij ad11155416 Bug 1393790 part 2 - Remove JS_PropertyStub and JS_StrictPropertyStub. r=jorendorff 2017-08-28 10:40:19 +02:00
Jan de Mooij 3e1a11f41d Bug 1393790 part 1 - Remove JS_STUBGETTER and JS_STUBSETTER. r=jorendorff 2017-08-28 10:39:57 +02:00
Lars T Hansen 69d41d5dfd Bug 1389669 - make inclusion of AtomicOperations definitions switch on hardware platform, not JIT platform, and remove crashing 'none' case. r=till
--HG--
extra : source : 5b366460b05e87d0b22ee55a404973e88d144b26
extra : intermediate-source : 16212d8633170b7bdd6f1bd4b16e512eb3ebfe02
extra : histedit_source : ee36f6a3d7296964a38878bc533e8d9530b45280
2017-08-24 10:08:10 +02:00
Lars T Hansen 68a21e3212 Bug 1277562 - Fix merge bug, pass isMaster=true when checking whether we can start a new tier2 generator. r=me 2017-08-28 09:49:54 +02:00
Philip Chimento 03d4e8de6d Bug 1379540 - Add generated configure files to JS source tarball. r=glandium 2017-07-25 12:30:09 -07:00
Phil Ringnalda f144cb08b9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: AX10UmzAEqg
2017-08-27 17:31:55 -07:00
Till Schneidereit f16fb7241c Bug 1342050 - Shrink Promise instances from 8 to 4 slots by moving debug information to an external object. r=arai
The debug info object is only allocated if, when the Promise is created, either async stacks are enabled or the Promise is created in a debuggee compartment.

MozReview-Commit-ID: 2Ct6QkSeNmA
2017-08-27 12:27:10 +02:00
Phil Ringnalda 5e0cb1d330 Merge m-c to m-i
MozReview-Commit-ID: 3TTO51aTTST
2017-08-26 18:20:19 -07:00
Phil Ringnalda e6458e1fee Merge m-i to m-c, a=merge
MozReview-Commit-ID: AYBlGJan6UL
2017-08-26 18:18:02 -07:00
Phil Ringnalda 6e0931231e Backed out changeset eca521df662f (bug 1388221) for browser_library_downloads.js, browser_library_infoBox.js and browser_library_search.js failures on OS X
MozReview-Commit-ID: CrYUAKCFCMK
2017-08-26 17:34:08 -07:00
Wes Kocher 7a8adb69f4 Merge m-c to inbound, a=merge
MozReview-Commit-ID: jMFiwJkgHA
2017-08-25 17:27:14 -07:00
Wes Kocher 68149d6a59 Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Brian Hackett feb946764b Bug 1392427 - Don't try to handle wasm faults on threads that are not their runtime's active thread, r=luke. 2017-08-25 16:12:08 -07:00
Tooru Fujisawa a0a202251b Bug 1391519 - Improve error message for for-await-of outside of async function/generator. r=till 2017-08-26 07:27:14 +09:00
Tooru Fujisawa c6522b326f Bug 1391589 - Show time taken by test in jstests and jit-test log. r=jandem 2017-08-26 07:27:13 +09:00
Tom Ritter 67ee2b9c6f Bug 1377951 Move a variable so it does not generate unused variable warnings (as errors) in MinGW r=arai
MozReview-Commit-ID: Dn5gfs4gyb1

--HG--
extra : rebase_source : 374a684e973bfa7d001b9d721e6098e015de8037
2017-08-21 17:16:56 -05:00
Gabriele Svelto 7387dc791b Bug 1393435 - Remove unnecessary inclusions of the crash reporter header files; r=mconley
MozReview-Commit-ID: 3tdFDrTYql8

--HG--
extra : rebase_source : cc862688f19afb8a5cf8c7cf915a5d3d45f041b5
2017-08-07 14:10:02 +02:00
Wes Kocher 7ea5ed6e6a Merge m-c to autoland, a=merge
MozReview-Commit-ID: LEKykpTAKjv
2017-08-25 17:32:33 -07:00
Nazım Can Altınova b2b88364dd Bug 1355721 - stylo: Implement font feature values lookup r=emilio,xidorn
MozReview-Commit-ID: 7wgQ1NCn7vL

--HG--
extra : rebase_source : 6c774e87b8bd3f30d819302aba5a73a50047981a
2017-08-23 18:05:53 -07:00
Philip Chimento 034b4fdfa6 Bug 1379539 - Remove unnecessary NSPR dependency. r=glandium 2017-07-25 14:15:50 -07:00
Sebastian Hengst 51903961f7 Backed out changeset b83ec454fdc8 (bug 1386534) on suspicion of letting cgc's js/src/jit-test/tests/modules/missing-export-offthread.js fail. r=backout 2017-08-25 20:50:23 +02:00
Sebastian Hengst 608b702a22 Backed out changeset b9e324429501 (bug 1342050) on suspicion of letting cgc's js/src/jit-test/tests/modules/missing-export-offthread.js fail. r=backout 2017-08-25 20:49:32 +02:00
Sebastian Hengst cec877dc17 Backed out changeset 57ec52606739 (bug 1389752) for failing web-platform-tests' /fetch/api/headers/headers-record.html. r=backout 2017-08-25 17:06:10 +02:00
Jan de Mooij 0f2181d932 Bug 1393715 - Remove JSFUN_STUB_GSOPS and JS_FS. r=arai 2017-08-25 17:04:12 +02:00
André Bargull 8c36517e7d Bug 1389752 - Throw TypeError if [[OwnPropertyKeys]] of scripted proxies contains duplicates. r=till 2017-08-23 23:56:40 +02:00
André Bargull a1974f1238 Bug 1315641 - Align error messages for (Typed)Array.from with standard iteration error messages. r=evilpie 2017-08-25 12:09:13 +02:00
Till Schneidereit d56216e4ce Bug 1342050 - Shrink Promise instances from 8 to 4 slots by moving debug information to an external object. r=arai
The debug info object is only allocated if, when the Promise is created, either async stacks are enabled or the Promise is created in a debuggee compartment.

MozReview-Commit-ID: 2Ct6QkSeNmA
2017-08-25 14:02:58 +02:00
Till Schneidereit 718ce2a817 Bug 1386534 - Use a C++ version of SpeciesConstructor when calling from C++. r=anba,rs=jonco
MozReview-Commit-ID: qyU0pqt0tV
2017-08-25 14:02:58 +02:00
André Bargull 254fb3bbde Bug 1381433 - Throw when Date.prototype.toString is called with non-Date object per ES2018 spec draft. r=till, r=bgrins 2017-07-17 03:43:15 -07:00
Jan de Mooij 4f50c987d0 Bug 1394365 part 2 - Add and use NativeObject::addEnumerableDataProperty. r=anba
--HG--
extra : rebase_source : 918703dbc7dfe7e57effad3025f57e0f5d727176
2017-08-29 14:28:16 +02:00
Jan de Mooij c7ebd7ebfd Bug 1394365 part 1 - Make NativeSetProperty's QualifiedBool argument a template parameter. r=anba
--HG--
extra : rebase_source : f7b0d9f6a166ee8bb10402dd4f40241d3536cc51
2017-08-29 13:20:21 +02:00
Thom Chiovoloni a7d756b8ff Bug 1343005 - Optimize Quote in json.cpp. r=jorendorff
Implements the following optimizations:

- Resize the destination buffer to the maximum size possible, write to it
  directly, and then shrink it back to the actual size written.
- Avoid iterating over non-special-character runs multiple times.
- Use a lookup table to determine both if we should escape the character
  what the character after the escape sequence should be if so.
- Converts the destination buffer to the correct character type in advance of
  stringifying, instead of checking every character in the inner loop.

MozReview-Commit-ID: 7iWRqm3EopX

--HG--
extra : rebase_source : 1b18faee586718ec54b922222a28a31e3899d771
2017-08-23 20:16:20 -04:00
Gregory Szorc 2a5e786286 Backed out changesets b749fc196a50, 2791eac8d760 (bug 1355721) for build bustage
CLOSED TREE

--HG--
extra : amend_source : 7618f27e1cf71347f12384935374d303d5c1ab23
extra : histedit_source : 1143d226673ace563bb5d9ff3c420ded33439791%2C9746a30097304bd2214a0072773dc00c767d31cd
2017-08-24 20:30:17 -07:00
Nazım Can Altınova 00f1cc4565 Bug 1355721 - stylo: Implement font feature values lookup r=emilio,xidorn
MozReview-Commit-ID: 7wgQ1NCn7vL

--HG--
extra : rebase_source : c104c2b09ebfbf5cdb98bc5638473cac1bfc40c9
2017-08-23 18:05:53 -07:00
Ryan VanderMeulen 3d0158833d Merge autoland to m-c. a=merge 2017-08-24 20:20:08 -04:00
"dragan.mladjenovic" 3ed2a32282 Bug 1391248 - Add asynchronous wasm interrupt/trap support to mips32 simulator. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic" 58189919c8 Bug 1391248 - Crash mips32 simulator on instructions whose result is undefined under FR=0 mode. r=bbouvier 2017-08-24 10:48:00 -04:00
"dragan.mladjenovic" 9e2b82a2da Bug 1391248 - Add mov*.s instruction support and missing redirection signatures to mips32 simulator. r=bbouvier 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic" 1a372bbec1 Bug 1391248 - Add ll,sc,sync instruction support to mips32 simulator. r=lth 2017-08-24 10:47:00 -04:00
"dragan.mladjenovic" 2d55550d11 Bug 1391248 - Use AutoEnterOOMUnsafeRegion in mips32 simulator. r=bbouvier 2017-08-24 10:46:00 -04:00
Francois Marier 719c2b26b8 Bug 1388938 - Disable channel annotation and flashblock in tests harnesses.r=hchang
Since these tests harnesses are already disabling Safe Browsing and tracking
protection, they should also disable the other two features that cause
lists to be downloaded from the Mozilla shavar server.

MozReview-Commit-ID: 2158qRU4XZx

--HG--
extra : rebase_source : 287bfb7580538cca7f58ab035b7141166346c318
2017-08-23 15:47:37 -07:00
André Bargull 93a579fe80 Bug 1393053 - Directly get built-in %PromisePrototype% instead of going through GetPrototypeFromConstructor. r=till 2017-08-23 16:54:05 +02:00
André Bargull 1994bec3b0 Bug 1368313 - Use error reporter to report missing module exports. r=jonco 2017-08-23 22:06:10 +02:00
Miran.Karic 1fa73ac17c Bug 1392606 - Fix MIPS64 simulator build compilation failures. r=bbouvier 2017-08-24 04:25:00 -04:00
André Bargull c2c9b64535 Bug 1391773 - Update [[DefineOwnProperty]] for module namespace objects per ES2018 draft. r=jonco 2017-08-23 18:56:10 +02:00
Wes Kocher bd5fb0a92d Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHOFLdPkEou
2017-08-23 18:08:30 -07:00
Wes Kocher fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Wes Kocher 8949506a9c Backed out changeset 39271d578fa4 (bug 1386534) for leaks a=backout CLOSED TREE
MozReview-Commit-ID: HqnOFZFhoiD
2017-08-23 16:38:35 -07:00
Wes Kocher 2100370b14 Backed out changeset d080b90698bc (bug 1392088) for leaks a=backout CLOSED TREE
MozReview-Commit-ID: F1D3uNlVEZS
2017-08-23 16:38:28 -07:00
Sebastian Hengst a334b9d2a8 Backed out changeset a2de35382cff and 104866e1c85f (bug 1342050) for leaks in browser-chrome's browser_bug724239.js on Windows 8 x64. r=backout on a CLOSED TREE 2017-08-24 00:13:45 +02:00
Nicholas Nethercote f582d96b98 Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
This is straightforward, with only two notable things.

- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
  throughout, because all nsXPIDLString.h did was include nsString.h. The
  exception is for files which already include nsString.h, in which case the
  patch just removes the nsXPIDLString.h inclusion.

- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
  cover some of its ground, e.g. testing Adopt(nullptr).

--HG--
extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
2017-08-17 15:29:03 +10:00
Jon Coppeard abe09f4457 Bug 1362098 - Add source position to requested module information r=till 2017-08-23 17:24:37 +01:00
Jon Coppeard 5524b80cd0 Bug 1362098 - Report source position information for module export resolution failures r=till 2017-08-23 17:24:37 +01:00
Till Schneidereit 0c207bdb9b Bug 1342050 - Follow-up to fix a rooting hazard on a CLOSED TREE. r=me
MozReview-Commit-ID: 6WnukTLJ68b
2017-08-23 18:22:44 +02:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
Luke Wagner 1eaf787beb Bug 1351488 - Baldr: use lifetime/ownership to manage unblocking Module dependents (r=lth)
MozReview-Commit-ID: BzmKl7dClfH

--HG--
extra : rebase_source : 6bbbbbacbfd583a36c71eaec459619cee1aadf07
2017-08-23 10:15:56 -05:00
Luke Wagner b818a4789b Bug 1351488 - Baldr: factor commonality into finishCodeSegment and make jumpTable more typey (r=lth)
MozReview-Commit-ID: 81V8Lmx4MuY

--HG--
extra : rebase_source : 036f2f7e5ee1f2605f2a9ac600b10a205e433a69
2017-08-23 10:12:26 -05:00
Luke Wagner 58ba67516d Bug 1351488 - Baldr: atomically ref-count ShareableBase (r=lth)
MozReview-Commit-ID: J8Ak5GxGmtd

--HG--
extra : rebase_source : 569a6ffc7d4ac58ed1b025a0399fbcf12711eea4
2017-08-23 10:11:37 -05:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Till Schneidereit 034cda3110 Bug 1392088 - Shrink PromiseReactionRecord from 12 to 8 slots. r=arai
ReactionRecordSlot_Generator can be aliased with ReactionRecordSlot_Resolve because they're mutually exclusive. This gets us from 9 to 8 slots, which really means 12 to 8.

MozReview-Commit-ID: 2mRuqfkDUqJ
2017-08-23 16:49:11 +02:00
Till Schneidereit 8134984559 Bug 1342050 - Shrink Promise instances from 8 to 4 slots by moving debug information to an external object. r=arai
The debug info object is only allocated if, when the Promise is created, either async stacks are enabled or the Promise is created in a debuggee compartment.

MozReview-Commit-ID: 2Ct6QkSeNmA
2017-08-23 16:49:08 +02:00
Till Schneidereit 0c53eb4920 Bug 1386534 - Use a C++ version of SpeciesConstructor when calling from C++. r=anba,rs=jonco
MozReview-Commit-ID: qyU0pqt0tV
2017-08-23 16:47:38 +02:00
Sebastian Hengst 99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
Francois Marier 95ce2d4568 Bug 1385484 - Ensure that login reputation checks are disabled in tests. r=hchang
The login reputation checks depend on a server lookup and therefore would
render non-deterministic the performance and correctness of tests.

MozReview-Commit-ID: Bil0rSZsGPT

--HG--
extra : rebase_source : ae06a028c71eee323307ecd4e62bbf1e8a14fe13
2017-08-22 17:56:20 -07:00
Wes Kocher 6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Rok Garbas f3a3affcf2 Bug 1284475 - migrate ToolTool blueprint to new codebase of relengapi r=KWierso
UPGRADE_NSS_RELEASE a=kaie
MozReview-Commit-ID: 7CB1VYb8OJP

--HG--
extra : rebase_source : 04751620add813cd1780898d109d9f7fa89d7b2d
2017-08-08 10:55:52 +02:00
Andrew McCreight 7920369d26 Bug 1388191 - Add way to test evaluation with envChain in the shell. r=jorendorff
This is used by Gecko, but it isn't directly testable in the shell.

The new test has to be disabled for jstestbrowser because the special
option is shell-only.

MozReview-Commit-ID: 6gckRSkD4fQ

--HG--
extra : rebase_source : beb064d0103c30a737bd4192ac1d3db219dcba24
2017-08-07 16:35:43 -07:00
Jon Coppeard 7cc7fc4342 Bug 1390476 - Lock helper thread state while changing simulated OOM thread r=lth 2017-08-23 09:37:30 +01:00
Jan de Mooij f323a7599e Bug 1392530 part 3 - Make MDefinition::valueHash() overloads more consistent. r=nbp 2017-08-23 07:50:25 +02:00
Phil Ringnalda fd6ec799b2 Backed out 4 changesets (bug 1098412) for failing browser_webconsole_bug_632347_iterators_generators.js
Backed out changeset f4da55f291cb (bug 1098412)
Backed out changeset e9a0298824d6 (bug 1098412)
Backed out changeset 8281805e7c3c (bug 1098412)
Backed out changeset 1643079d7661 (bug 1098412)

MozReview-Commit-ID: 5kuHtUjx1UM
2017-08-28 21:28:26 -07:00
Ting-Yu Chou e5727d7f5a Bug 1394290 - Optimize Proxy::get/set by avoiding unnecessary receiver checking. r=jandem
MozReview-Commit-ID: 7K67zt3JrQl

--HG--
extra : rebase_source : 3a4796844a922c59949f787b0e40d9470e4c94f8
2017-08-28 16:04:38 +08:00
Masatoshi Kimura b8a9cbf335 Bug 1098412 - Remove the legacy Iterator constructor. r=luke
MozReview-Commit-ID: 4GmodzFsZsY

--HG--
extra : rebase_source : e0043be00b457633be633836c0a9a8d27d2e9fc0
2017-08-25 22:29:07 +09:00
Masatoshi Kimura 4c482a9f46 Bug 1098412 - Remove __iterator__ implementation. r=luke
MozReview-Commit-ID: 6qqSSrB4Vvh

--HG--
extra : rebase_source : 8f6351df7c9cc99e785657ef9512556fa7c22448
2017-08-24 22:17:40 +09:00
Masatoshi Kimura 5a4b2974a8 Bug 1098412 - Remove and update tests that use the legacy Iterator constructor. r=luke
MozReview-Commit-ID: G7q3ARzOYFf

--HG--
extra : rebase_source : e96f0a41d196056d1f226cab7dd2550eb5f16969
2017-08-24 22:45:53 +09:00
Masatoshi Kimura 68eb912d8f Bug 1098412 - Remove and update tests that use __iterator__. r=luke
MozReview-Commit-ID: 7mxZYAceiuN

--HG--
extra : rebase_source : 74f582e29c65fee04382dfe05503091d412056dd
2017-08-24 22:25:25 +09:00
Masatoshi Kimura 5811977c48 Bug 1394084 - Remove "code" from jsprototype.h macros. r=luke
MozReview-Commit-ID: HbH0Iip2f3n

--HG--
extra : rebase_source : 31f40bd0e2ffc2abeb799f09685ec342a5d50bda
2017-08-26 17:54:14 +09:00
Chris Peterson 341dab1e97 Bug 1373525 - js: Remove unused member functions of BytecodeParser and FlowGraphSummary. r=jorendorff
js/src/jsopcode.cpp:484:10 [-Wunused-member-function] unused member function 'isReachable'
js/src/jsopcode.cpp:535:17 [-Wunused-member-function] unused member function 'pcForStackOperandAfterPC'
js/src/jsopcode.cpp:571:14 [-Wunused-member-function] unused member function 'numSlots'
js/src/jsopcode.cpp:576:15: unused member function 'maybeCode' [-Wunused-member-function]
js/src/jsopcode.cpp:585:15 [-Wunused-member-function] unused member function 'getCode'
js/src/vm/Debugger.cpp:6016:22 [-Wunused-member-function] unused member function 'createWithNoEdges'
js/src/vm/Debugger.cpp:6042:14 [-Wunused-member-function] unused member function 'hasMultipleEdgesFromSingleLine'
js/src/vm/Debugger.cpp:6046:14 [-Wunused-member-function] unused member function 'hasMultipleEdgesFromMultipleLines'
js/src/vm/Debugger.cpp:6050:14 [-Wunused-member-function] unused member function 'operator=='
js/src/vm/Debugger.cpp:6054:14 [-Wunused-member-function] unused member function 'operator!='

MozReview-Commit-ID: ImTEiGErxJ8

--HG--
extra : rebase_source : d02f7debf95cd18a010e496692041ad63a91b61d
extra : source : acd3e52b28f27e140a1cbb25a8601b472c088fef
2017-06-15 00:06:53 -07:00
Kris Maglione 46c134a432 Bug 1388221: Optimize defineLazyModuleGetter for already-loaded modules. r=florian
Creating and populating temporary export objects is fairly expensive. Defining
and then redefining lazy getters is sometimes even more expensive.

Caching the export objects from module imports, and immediately defining
properties from already-imported modules appears to save a considerable amount
of overhead at startup.

MozReview-Commit-ID: 2jR1i0WpIcw

--HG--
extra : rebase_source : d64e3380f290b12a004177be678abad88530bbc5
2017-08-09 13:13:25 -07:00
Nicholas Nethercote 7e120ce35e Bug 1393636 (part 3) - Pass nsWindowSizes to more AddSizeOf*() functions. r=heycam.
This is a purely non-functional plumbing change. Instead of passing a
SizeOfState and an nsStyleSizes a bunch of places, we pass an nsWindowSizes,
which contains both of them.

This is a necessary precursor for the next patch.

MozReview-Commit-ID: Ek03wDM50rB

--HG--
extra : rebase_source : 7b05708bd21dc4e3812ea041647fa74bb413d0b9
2017-08-25 14:47:54 +10:00
Jan de Mooij a5de55dced Bug 1389510 part 3 - Remove getProperty/setProperty hooks from ClassOps. r=evilpie 2017-08-25 10:12:16 +02:00
Jan de Mooij ff7f9d6102 Bug 1389510 part 2 - Remove checks for getProperty/setProperty hooks in SpiderMonkey. r=evilpie 2017-08-25 10:11:44 +02:00
Jan de Mooij 599d67d484 Bug 1389510 part 1 - Remove getProperty/setProperty hooks from XPConnect. r=mrbkap 2017-08-25 10:10:56 +02:00
Andrew McCreight e9b051a4af Bug 1366896, part 2 - Add and use Cc.Initialize method. r=krizsa
MozReview-Commit-ID: Amqt9JsTMqG

--HG--
extra : rebase_source : dff173ed60a254fa449b2e85d71eee6cc7daba26
2017-05-24 14:12:11 -07:00
Andrew McCreight 0f344f2aed Bug 1366896, part 1 - Factor out initialize code and make initialize work with CIDs. r=krizsa
MozReview-Commit-ID: 3spZGOqlU1j

--HG--
extra : rebase_source : e346183b972ece2f4986091f36c3ecee13674832
2017-05-24 10:49:31 -07:00
Sebastian Hengst 75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00