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

61303 Коммитов

Автор SHA1 Сообщение Дата
Jan de Mooij 71f579ea2f Bug 1386555 - Inline AutoGeckoProfilerEntry constructor and destructor. r=anba 2017-08-04 15:15:05 +02:00
Jan de Mooij 6e3b2db2d5 Bug 1386572 - Use cx->tempLifoAlloc instead of a custom LifoAlloc for Baseline compilation. r=bhackett 2017-08-04 11:50:09 +02:00
Jon Coppeard e4c3df27b3 Bug 1366217 - Discard GC stats if timing inconsistencies are found r=sfink 2017-08-04 10:11:12 +01:00
Sebastian Hengst 8b02870c1f Backed out changeset fce216e62ff7 (bug 1379525) for failing xpcshell's services/fxaccounts/tests/xpcshell/test_accounts.js. r=backout on a CLOSED TREE 2017-08-04 09:36:14 +02:00
Sebastian Hengst a83f3f3c84 Backed out changeset f21fd8353ea9 (bug 1379525) 2017-08-04 09:25:13 +02:00
Tooru Fujisawa 3dad1ac788 Bug 1379525 - Part 2: Properly handle rejection in async-from-sync iteration. r=shu 2017-08-04 13:04:31 +09:00
Tooru Fujisawa e7dc33e772 Bug 1379525 - Part 1: Await on the value before yielding or returning inside async generator. r=shu 2017-08-04 13:04:31 +09:00
Ting-Yu Chou fe98b4e219 Bug 1385181 - Avoid excess copying when return from HashTable::lookupForAdd(). r=luke
MozReview-Commit-ID: F95DCc1wvkE

--HG--
extra : rebase_source : 42edaf41d53e9c7646206cc6ea9c9ce976846eb1
2017-08-01 17:00:39 +08:00
Wes Kocher e371c2bbf3 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: AHCROxMdKPB
2017-08-03 18:13:23 -07:00
Wes Kocher 2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Alexander J. Vincent 8e8d3afeee Bug 1383630 - ScriptedProxyHandler should report which first property a TypeError is thrown for. r=jandem 2017-08-03 13:33:02 -07:00
Jim Blandy f5a2166003 Bug 1383158 - Document that Debugger.Object methods may throw on exotic objects. r=tromey 2017-08-03 12:48:38 -07:00
André Bargull ae1bd3ebef Bug 1383647 - Part 2: Add unicode::Can{Lower,Upper}Case specialized for Latin1 characters. r=jandem 2017-08-01 11:35:35 -07:00
André Bargull 404303b347 Bug 1383647 - Part 1: Use direct vm calls for String.prototype.toLower/UpperCase. r=jandem 2017-08-01 11:35:30 -07:00
Sean Stangl e38e2b634d Bug 1386870 - Remove unnecessary RootedScripts on Interpreter call path. r=sfink 2017-08-02 16:20:00 -04:00
Jan de Mooij 7caa8270bc Bug 1386685 part 2 - Change GetUseCount and GetDefCount to take pc instead of script + offset. r=tcampbell
--HG--
extra : rebase_source : 7d12cdf8496ff434bce357083b2162ad47e894a0
2017-08-03 16:06:42 +02:00
Jan de Mooij adb17f7727 Bug 1387018 - Change type of Label bitfield to ensure sizeof(Label) is 4 even with MSVC. r=bhackett 2017-08-03 15:40:23 +02:00
Sebastian Hengst 5cfce14aba merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-03 12:17:50 +02:00
Sebastian Hengst 50d2d60772 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5MywkQxECqB
2017-08-03 11:46:00 +02:00
Jan de Mooij 9745659149 Bug 1386700 - Define some trivial MBasicBlock methods in the header file so the compiler can inline them. r=sstangl
--HG--
extra : rebase_source : f3a046e65e968b04955c47bf6cd2276a71d21cd1
2017-08-03 11:39:42 +02:00
Jan de Mooij 510e381c3f Bug 1386685 - Clean up and inline StackDefs and StackUses functions. r=tcampbell
--HG--
extra : rebase_source : c3a2f39db624eb43facb1dc4955cfcb69187e136
2017-08-03 11:21:07 +02:00
Jan de Mooij 9d464afb7d Bug 1386646 - Remove most GetJitContext calls. r=luke
--HG--
extra : rebase_source : 14e2a523ef15b1db540168132f8dc49e06163a1f
2017-08-03 09:37:41 +02:00
Makoto Kato ffdcdb04c6 Bug 676965 - Turn on test_localeCompare.js on Android since we use ICU. r=gandalf
We should turn on test_localeCompare.js again on Android since we use ICU.

MozReview-Commit-ID: 1H0DsKpWkId

--HG--
extra : rebase_source : d29564bfd20ee6fbc2eadf2f4b80066efc3deef0
extra : histedit_source : 294c17ea1736f196aca7aa969203428e6792625e
2017-08-02 17:21:03 +09:00
Yury Delendik 2e23d54422 Bug 1384723 - Remove experimental WebAssembly text support. r=sunfish
MozReview-Commit-ID: EKwttlC5MCt

--HG--
extra : rebase_source : e6d4822ca61a8b0517563dd008184993a3b5200f
2017-07-26 16:00:21 -05:00
Kris Maglione f87ef7bd44 Remove unused lazy imports. r=trivial (no bug)
MozReview-Commit-ID: rqUFJw7Wsb

--HG--
extra : rebase_source : cdda5d87fe33bdb9dacc1846fd67f3cb4154f230
2017-08-02 21:09:38 -07:00
Wes Kocher 851b59bdbe Merge m-c to inbound a=merge
MozReview-Commit-ID: 1p4eNdfSz9p
2017-08-02 17:46:32 -07:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Tooru Fujisawa f33bd594c6 Bug 1385112 - Use uint32_t in TokenStream::skipChars. r=anba 2017-08-03 04:42:34 +09:00
Kris Maglione 37a0f65e57 Bug 1385822 - Don't save new scripts from child process after cache flush. r=erahm
MozReview-Commit-ID: GKInmHvwVMP
2017-07-31 14:30:51 -07:00
Jim Blandy dcfc353eae Bug 1383161 - Return a dead wrapper when asked to wrap a dead WindowProxy object. r=kmag 2017-07-28 15:16:21 -07:00
Rajesh Kathiriya 48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Shu-yu Guo edcbe678bf No bug - PromiseHelper.js -> promiseHelper.js due to rename in test262-update.py (r=me) 2017-08-01 16:19:51 -07:00
Leo Balter 4cd7b79775 Bug 1374290 - Fix encoding on imported PR files. r=shu 2017-08-01 16:19:50 -07:00
Leo Balter 763f30057b Bug 1374290 - Import Pull Requests from Test262. r=shu 2017-08-01 16:19:50 -07:00
Tom Tromey 639b3c6efc Bug 1370648 - use final token as end location of statement list; r=jimb
This changes the parser to use the final token of a statement list as
it's end location.  This works around some confusing behavior, such as a
breakpoint firing on the marked line:

    <script>
      if (1 !== 1) {
        console.log("dead code!?"); // set breakpoint here
      }
    </script>

MozReview-Commit-ID: 3Sk1ERw5Q6z

--HG--
extra : rebase_source : 6c6338ca183518baec6ccfcb9ae17e24cf644c97
2017-07-14 13:29:52 -06:00
Tom Tromey 80a6cc4c10 Bug 1386677 - fix indentation of "evaluate" help text; r=jimb
MozReview-Commit-ID: HesLgMa25BN

--HG--
extra : rebase_source : 194d71abbf0ecafc187217cae5916adffb842850
2017-08-02 08:58:44 -06:00
Nathan Froyd 6b3217da7f Bug 1385276 - move PROFILE_*FLAGS to moz.configure; r=mshal
We are guaranteed to use a GCC or clang new enough that we don't have to
bother checking whether the flags are supported or not.
2017-08-04 13:56:38 -04:00
Sebastian Hengst d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Jon Coppeard 958e958ddd Bug 1387263 - Rewrite test case to remove possible race condition r=jandem 2017-08-04 17:54:58 +01:00
André Bargull efacba5ffd Bug 1386026 - Add parentheses to IIFE when testing async generators. r=tromey 2017-08-01 03:39:53 -07:00
Jim Blandy 046aad9039 Bug 1386026 - Make SpiderMonkey Debugger tests pass even though async generators are Nightly-only. r=tromey 2017-07-31 22:32:09 -07:00
Jim Blandy bd614d3abf Bug 1386026 - Put Debugger tests in simpler form. r=tromey
This prepares the tests to have some cases that are nightly-only.
There should be no significant effect on what is tested.
2017-07-31 21:12:44 -07:00
André Bargull 6f258f12e4 Bug 1383644 - Inline ToObject when called with MIRType::Value. r=jandem 2017-08-01 06:53:02 -07:00
André Bargull fa5f8209e7 Bug 1385428 - Disable asm.js compilation in accessor methods. r=luke
--HG--
extra : rebase_source : a67e1821f4f579d47d88204c487964d471b58d5d
2017-07-29 02:37:24 -07:00
André Bargull b952a3a666 Bug 1385802 - Add ion-inline path for Reflect.getPrototypeOf(). r=jandem 2017-08-01 06:55:31 -07:00
André Bargull df26ec681b Bug 1385803 - Remove possiblyCalls override from MFromCodePoint and make it cloneable. r=nbp 2017-07-31 03:06:51 -07:00
Paul Bone 56739f25fe Bug 1386219 - Fix the regression introduced by bug 1367455. r=jonco 2017-08-01 22:32:05 +10:00
Jon Coppeard 520f6ab92f Bug 1385833 - Simplify incremental sweeping and combine script and JIT code finalization phases r=sfink 2017-08-01 11:03:33 +01:00
Sebastian Hengst 9975089d4d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-01 11:26:31 +02:00
Sebastian Hengst ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Jan de Mooij 959a0efb8a Bug 1384513 backout followup - Add AutoCheckCannotGC in Stream.cpp. r=me
--HG--
extra : rebase_source : 99d8a2a7f527bf1ad2d3e0f4911e8b53dc713be3
2017-08-01 10:49:02 +02:00
Jan de Mooij 5a92797b27 Backed out changeset 000f28217a30 (bug 1384513) for perf regressions.
--HG--
extra : rebase_source : 290b02b2d088e4575bff1f2dd88808a7ebd51250
2017-08-01 10:42:04 +02:00
Wes Kocher cb83ca733e Backed out changeset e94dceac8090 (bug 1385181) for causing bug 1386011 (CCov build bustage) a=bustage
MozReview-Commit-ID: BK2XP0pcoE8
2017-07-31 22:12:03 -07:00
Andrew McCreight 5eecb0df0a Bug 1385474 - Avoid QIing for NoteXPCOMRoot. r=smaug
This callback is only used in very limited ways, so just require that
the caller pass in the canonical supports pointer, plus the
participant. This probably won't affect performance much.

MozReview-Commit-ID: CsThzFsKyYx

--HG--
extra : rebase_source : 9595b1d75fc45bc5ee6d932a840e98b5d760cb78
2017-07-28 16:11:03 -07:00
Jan de Mooij 7d2d5c2a0c Bug 1385838 - Check for Symbol.iterator in ArgumentsObject::obj_mayResolve instead of returning true for all symbols. r=anba 2017-07-31 18:22:45 +02:00
Tooru Fujisawa 6dabca6e5e Bug 1366263 - Part 2: Force Int32 type to lastIndex in RegExpGlobalReplaceOpt. r=anba 2017-07-31 21:16:22 +09:00
Tooru Fujisawa 02551f463e Bug 1366263 - Part 1: Allow rxArg to be Value in RegExpMatcher, RegExpSearcher, and RegExpTester. r=nbp 2017-07-31 21:16:22 +09:00
Jan de Mooij f110d8631b Bug 1385215 part 2 - Inline Object.prototype.toString in Ion. r=evilpie 2017-07-31 14:12:49 +02:00
Jan de Mooij a87ec26420 Bug 1385215 part 1 - Ion-inline native calls in jsop_funcall/jsop_funapplyarguments. r=nbp 2017-07-31 13:09:26 +02:00
Jon Coppeard 69faf34f2b Bug 1385296 - Improve JS_GC_PROFILE / MOZ_GCTIMER output r=sfink 2017-07-31 10:56:44 +01:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Ting-Yu Chou 54070eee06 Bug 1385181 - Alter HashTable::lookupForAdd() to remove a redundant copy when return. r=luke
MozReview-Commit-ID: 9XnlC0JXETX
2017-07-28 14:05:40 +08:00
André Bargull abbfb48e01 Bug 1383645 - Allow to inline UnsafeGetReservedSlot when the object is typed as MIRType::Value. r=jandem
--HG--
extra : rebase_source : add4c452e0a6c11c79a5667107db1dcdfa07de9a
extra : histedit_source : 4d8eab6953cca1ee91bf78a4a7aadb37aaacc73b
2017-07-28 13:01:01 -07:00
André Bargull c520c1cf95 Bug 1382656 - Don't search for multiple Unicode extension sequences in a single language tag. r=till
--HG--
extra : rebase_source : d87f8c9d284075ce9145e4a82649a808f75e8156
extra : histedit_source : 10a659cfae7fa8367e49aaa965a0fe54b8f686b1
2017-07-28 12:56:53 -07:00
André Bargull 73884d5df9 Bug 1379717 - Throw TypeError when accessing caller/arguments on accessor method. r=shu
--HG--
extra : rebase_source : 28f1ab202f1847dfa6bb761e93286580f9b439e7
extra : histedit_source : cef59956a2b3a392aca68a39d610bd292bb100ca
2017-07-28 12:55:48 -07:00
André Bargull a5ad559786 Bug 1384244 - Remove hasDynamicPrototype check from MaybeHasInterestingSymbolProperty because only proxies can have dynamic prototypes. r=jandem
And proxies are already filtered by the preceding obj->maybeHasInterestingSymbolProperty() call.

--HG--
extra : rebase_source : 4e1f5d1466758dd2f687542df063a50bcd620e61
extra : histedit_source : de9901ccbbe5c53f1690b9f4b1d36578b7b1f34d
2017-07-28 12:55:37 -07:00
André Bargull 1567f91a56 Bug 1382306 - Create async function wrapper when instantiating module functions. r=jonco
--HG--
extra : rebase_source : 7b6d30dbbdf5cdf798d793ed03969c97585860f8
extra : histedit_source : 536aece9fa182d1cf4912a5c9b819207b3ccdffc
2017-07-28 12:55:07 -07:00
Philip Chimento 0f65cb73fa Bug 1339931 - Add major version to make parallel installable. r=sfink
When backporting to esr52, the changes will need to be applied to
js/src/Makefile.in rather than js/src/build/Makefile.in.
2017-07-29 10:59:28 +01:00
Till Schneidereit d2099cf317 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu,f=baku
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-29 16:47:30 +02:00
Till Schneidereit 847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Till Schneidereit ab76cf2fd7 Bug 1272697 - Part 2: Add runtime pref to enable streams. r=jonco,baku
MozReview-Commit-ID: FJMAxbtD3Uy
2017-07-29 16:47:12 +02:00
Shu-yu Guo 1549296ac9 Bug 1367791 - Constrain Number.prototype.toFixed precision to be 0 <= p <= 100. (r=jorendorff)
Due to normative change in spec.
2017-07-28 17:43:17 -07:00
Marco Castelluccio 5e9eca95f5 Bug 1357517 - Remove Preferences.jsm usage from XPCOMUtils.jsm. r=kmag
--HG--
extra : rebase_source : f69e4b2e5b11d302546e73fa6f16c17b3bb68318
2017-07-28 23:04:47 +02:00
Bill McCloskey 7f587bde20 Bug 1384399 - Change meaning of js::SystemZoneAvailable to return false if the system zone is owned by the current context (r=bhackett)
MozReview-Commit-ID: L8FUk997x4s
2017-07-28 13:11:56 -07:00
Bill McCloskey fdfaf11df6 Bug 1384397 - Add API to request interrupt callback using CanWait mode (r=jandem)
MozReview-Commit-ID: E0S0my7Xdfk
2017-07-28 13:11:54 -07:00
Wes Kocher 5df77c43f9 Merge m-c to autoland, a=merge
MozReview-Commit-ID: IJRYyJu1sWm
2017-08-02 17:42:10 -07:00
Andrew McCreight 2cc510d9c2 Bug 1364566 - Enable lazy parsing for NonSyntactic scopes. r=shu+381259
MozReview-Commit-ID: 2mu1n2POlC7

--HG--
extra : rebase_source : 640c4ac4d110a4056e01bc7f653c21a1fba17074
2017-06-07 13:05:14 -07:00
Daisuke Akatsuka 3815728b9b Bug 1382137 - Part 4: add Gecko_CounterStyle_GetName and Gecko_CounterStyle_GetName which have a writable paramter into whitelist in analyzeHeapWrites.js. r=hiro
Both Gecko_CounterStyle_GetName and Gecko_CounterStyle_GetName in Servo binding
have a out parameter to write string to them.
We need to tell these functions as those have a safe argument, to ignore
analysis of heap write hazards.

MozReview-Commit-ID: AWG609vsXyu
2017-08-08 10:14:13 +09:00
Wes Kocher 623f36f0f8 Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxCNV7W0utC
2017-08-07 15:26:40 -07:00
Masatoshi Kimura 990481538b Bug 1083476 - Add console warnings for JS1.7 legacy generators. r=arai
MozReview-Commit-ID: LnctQK4EEOM

--HG--
extra : rebase_source : a3598ce5a91ffb87e698c88604c32937306baf53
2017-08-06 18:48:39 +09:00
Masatoshi Kimura bcee28f124 Bug 1083470 - Disable E4X for-each in release. r=luke
MozReview-Commit-ID: 8rLq9GzvNrT

--HG--
extra : rebase_source : c8f0cf043d6f94e690c3492d1450b5cd37ffc35c
2017-08-06 17:15:26 +09:00
Sylvestre Ledru 4386202143 Bug 1387388 - Disable -Wimplicit-fallthrough when building jsdtoa.cpp (exists now with gcc 7) r=nbp
MozReview-Commit-ID: 7YuX7SMePOi

--HG--
extra : rebase_source : d35a56f2b453bcd6a2e65738d96606d11cd3028b
2017-08-04 13:12:58 +02:00
Sebastian Hengst 6389867b7c Backed out changeset 1d87b1dc4ce2 (bug 1272697) for failing mochitest test_interfaces.html for 'ByteLengthQueuingStrategy' and wpts, e.g. general.dedicatedworker.html. r=backout on a CLOSED TREE 2017-07-28 20:20:50 +02:00
Sebastian Hengst 2a076b4002 Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Sebastian Hengst 08625237bc Backed out changeset 2693a863dabd (bug 1272697) 2017-07-28 20:18:21 +02:00
Till Schneidereit acef1159b4 Bug 1272697 - Part 4: Add JSAPI functions for working with ReadableStream. r=shu
This adds a ton of JSAPI functions for creating and querying the state of ReadableStreams, and support for creating ReadableStream instances whose source is supplied by the embedding.

MozReview-Commit-ID: 9uDWOazPaUI
2017-07-28 17:48:14 +02:00
Till Schneidereit 8b46f09d1c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Till Schneidereit dec687b07c Bug 1272697 - Part 2: Add runtime pref to enable streams. r=baku,jonco
MozReview-Commit-ID: 5OSxbcd3jQB
2017-07-28 17:48:12 +02:00
Carsten "Tomcat" Book 139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Sylvestre Ledru d48480a951 Bug 1384848 - Remove dead code in XPCConvert.cpp r=mrbkap
MozReview-Commit-ID: EncsNyW5Qxx
2017-07-28 14:05:27 +02:00
Jan de Mooij ea5d324e74 Backed out changeset 1455629cb663 (bug 1384042) for regressing AngularJS perf.
--HG--
extra : rebase_source : e165fd16182dcf5a72133f7afb86069a60bfbec9
2017-07-27 16:36:57 +02:00
Sebastian Hengst 744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Sebastian Hengst 9077ac8886 Backed out changeset a57d8f30d1bf (bug 1383982) for build bustage at nsGlobalWindow.cpp:13826: 'class nsWindowSizes' has no member named 'mMallocSizeOf'. r=backout 2017-07-28 09:50:48 +02:00
Nicholas Nethercote 5c3abe8aab Bug 1383982 - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
All the SizeOf{In,Ex}cludingThis() functions take a MallocSizeOf function
which measures memory blocks. This patch introduces a new type, SizeOfState,
which includes a MallocSizeOf function *and* a table of already-measured
pointers, called SeenPtrs. This gives us a general mechanism to measure
graph-like data structures, by recording which nodes have already been
measured. (This approach is used in a number of existing reporters, but not in
a uniform fashion.)

The patch also converts the window memory reporting to use SizeOfState in a lot
of places, all the way through to the measurement of Elements. This is a
precursor for bug 1383977 which will measure Stylo elements, which involve
Arcs.

The patch also converts the existing mAlreadyMeasuredOrphanTrees table in the
OrphanReporter to use the new mechanism.

--HG--
extra : rebase_source : 2c23285f8b6c3b667560a9d14014efc4633aed51
2017-07-28 15:03:44 +10:00
Tooru Fujisawa 9d87992821 Bug 1384299 - Provide better error message when errornous syntax possibly match "yield SOMETHING" outside generators. r=till 2017-07-27 23:17:09 +09:00
Nicholas Nethercote 200d8ec18b Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This is similar like the previous patch, but for the 8-bit string variants.
Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
to avoid an extra copy.

--HG--
extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
2017-07-27 16:45:10 +10:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Mike Hommey eafa227d8d Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Nicholas Nethercote 49eb219ff5 Bug 1383982 (attempt 2) - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
--HG--
extra : rebase_source : 7075f9570a4262158351ce9ac3ca8360ea4d5394
2017-07-28 20:10:04 +10:00
Jon Coppeard 3075bc5440 Bug 1384885 - Do gray unmarking of cross zone edges as soon as they are found r=sfink 2017-07-28 11:06:40 +01:00
Tom Schuster b1db7228f4 Bug 1383646 - Optimize x.indexOf(x) for AngularJS. r=anba 2017-07-28 11:25:38 +02:00
Sylvestre Ledru a4376d5dd4 Bug 1384848 - Remove dead code in XPCConvert.cpp r=mrbkap
MozReview-Commit-ID: D6kCUtqfIwo

--HG--
extra : rebase_source : 539ce1a925fa42b74007189708287ee74324261a
2017-07-27 09:43:06 +02:00
André Bargull dab06faa1f Bug 1368978 - Skip non-initialized elements when deleting a property range in Array.prototype.splice. r=jandem 2017-07-27 04:37:43 -07:00
Jim Blandy 520ce8912f Bug 1380498 - Add isGeneratorFunction and isAsyncFunction to Debugger.Script and Debugger.Object. r=tromey 2017-07-18 17:51:44 -07:00
Julian Seward 408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
Jon Coppeard afbbfaffc3 Bug 1384550 - Skip atoms collection if it's no longer possible r=sfink 2017-07-27 18:31:07 +01:00
Ted Campbell fb86f05093 Bug 1383972 - [Ion] Fix allocation error with too many MPhis. r=nbp
MozReview-Commit-ID: GtzUQuUvpam

--HG--
extra : rebase_source : dd67a8ef6cc2df5e166be1eb3ea01840402164b3
2017-07-26 17:08:28 -04:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Jim Blandy 7944af2cd7 Bug 1382258 - Handle async functions properly in Debugger API. r=tromey
An async function or generator is represented by a native function wrapped
around a scripted function. In order to avoid treating async functions as if
they were opaque native functions, Debugger must explicitly look through these
wrappers to find the scripted function inside.
2017-07-25 10:48:28 -07:00
Wes Kocher 512f32055e Backed out changeset adb09e2d7a30 (bug 1359912) for breaking linux noopt debug builds a=backout
MozReview-Commit-ID: E1treEAWecM
2017-07-26 15:30:17 -07:00
Mike Hommey 0f1ddd55b2 Bug 1384418 - Remove gcc entries from tooltool manifests. r=gps
--HG--
extra : rebase_source : 815c57f65ee9a9954d11ac890fb6e0ba56f1842c
2017-07-26 15:28:29 +09:00
Mike Hommey b9fc5a46aa Bug 1359912 - Add -z relro linker flags. r=gps
--HG--
extra : rebase_source : ae42e299d59cc139503c411e663cc81b18ff4177
2017-07-26 07:12:59 +09:00
Bevis Tseng a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Sean Stangl 43fc02b967 Bug 1384318 - Inline native check for emitMegamorphicLoadSlot variants. r=jandem 2017-07-25 15:17:00 -04:00
Emanuel Hoogeveen c879c5938d Bug 1342023 - Part 2: Stop using PageProtectingVector in AssemblerBuffer. r=jandem 2017-07-26 08:54:00 -04:00
Emanuel Hoogeveen 9f2123853d Bug 1342023 - Part 1: Remove ProtectedReallocPolicy from PageProtectingVector. r=jandem 2017-07-26 08:53:00 -04:00
Luke Wagner 898bdba0b5 Bug 1351488 - Baldr: change JS::WasmModule interface to separate bytecode from compiled code (r=lth)
MozReview-Commit-ID: 9PboJiP8BMM

--HG--
extra : rebase_source : dfcfb59c645b4c4877c99fe4ed68678449c1603a
2017-07-26 11:00:39 -05:00
Jon Coppeard ef3ea340a5 Bug 1384047 - Relax assertion that zones are empty when they are deleted r=jandem 2017-07-27 11:09:53 +01:00
Kartikaya Gupta ba4b3b9101 Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv

--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Nicolas B. Pierron 13c6c8058f Bug 1375435 - Clear the GetPropertyCache prior resume-point at the end of IonBuilder build functions. r=jandem
--HG--
extra : source : a3a834899c7335e179ad77d0b48b9ed6df0a231a
2017-07-25 14:49:59 -04:00
Ryan VanderMeulen 6cc7f170de Backed out changeset a3a834899c73 (bug 1375435) for making too-long-array-splice.js permatimeout on SM asan builds. 2017-07-25 23:27:04 -04:00
Wes Kocher f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Wes Kocher 65bbd0525a Merge inbound to central, a=merge
MozReview-Commit-ID: E4oXfAM1mtd
2017-07-25 19:04:37 -07:00
Andrew McCreight 35f516cba7 Bug 1383303 - Support void returns from VM functions. r=jandem
MozReview-Commit-ID: JBPQ9aTqHAH

--HG--
extra : rebase_source : 985a61492b29cd2701bbeff9a081c2034cd66dd7
2017-07-21 13:20:44 -07:00
Andrew McCreight 88d9fadf79 Bug 1383174 - Make GetNonSyntacticGlobalThis return void. r=jandem
This method always returns true.

Also, get rid of the unused return statement at the end of the
method. The loop is a while(true) and it has no break statements.

MozReview-Commit-ID: 5hxfSkq6ZUD

--HG--
extra : rebase_source : 9caa8e84d487a44aa10dd73a9266845bd5cda98f
2017-07-21 12:36:40 -07:00
Kannan Vijayan c3b765ee0b Bug 1366375 - Add CacheIR stub for optimizing calls to array_push. r=jandem 2017-07-25 11:28:38 -04:00
Jan de Mooij 0fd607ec1b Bug 1383591 - Don't use |current| block in OutOfLineStoreElementHole code. r=nbp 2017-07-25 17:09:08 +02:00
Sebastian Hengst 8afce0c191 Backed out changeset 75d0af6c7c49 (bug 1368454) for failing named-yield-spread-obj.js after asserting !type.isSingleton() at ObjectGroup.cpp:792. r=backout 2017-07-25 16:30:17 +02:00
Till Schneidereit 7f4b13656d Bug 1368454 - Optimize js::CreateIterResultObject by using ObjectGroup::newPlainObject instead of manually creating the object and defining its properties. r=jandem
This should improve performance of creating the object and TI for code using iteration result objects.

MozReview-Commit-ID: 2QGqFs7V3uH
2017-07-25 16:01:41 +02:00
Jan de Mooij deb7d25aa4 Bug 1383343 part 2 - Add a cache for Function.prototype.toString. r=anba 2017-07-25 14:58:17 +02:00
Jan de Mooij 09e17362ed Bug 1383343 part 1 - Avoid StringBuffer overhead in FunctionToString in the common case. r=anba 2017-07-25 14:55:06 +02:00
Jan de Mooij 7e5724db61 Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba 2017-07-25 13:22:11 +02:00
Jon Coppeard 27b31261f4 Bug 1374797 - Fix logic around triggering atoms GCs r=sfink 2017-07-25 11:28:41 +01:00
Tom Tromey adb3d74ff5 Bug 1383157 - change pn_type to a ParseNodeKind; r=jimb
MozReview-Commit-ID: 3woMGwYs3wY

--HG--
extra : rebase_source : 5bd7fc25a4cbfbc288ce19650831b484757689ed
2017-07-21 11:07:54 -06:00
Paul Bone 70b304d94b Bug 1380768 (part 2) - Add a pref for nursery size, r=sfink. 2017-07-21 14:34:46 +10:00
Paul Bone 07ea7264d8 Bug 1380768 (part 1) - Update comments to reflect API changes and a changed, r=sfink. 2017-07-21 15:56:11 +10:00
Kris Maglione cd5c5d6f7f Bug 1383215: Part 5 - Update tests that relied on loading the same JSM from multiple URLs.
MozReview-Commit-ID: KEXGiMrauH7

--HG--
extra : rebase_source : c1b5a1e22c00bdc42cc7cdfae2f4718248c7965d
extra : histedit_source : 968e9daffc7505853aac4b892178f27c3386aec1
2017-07-21 18:01:42 -07:00
Kris Maglione 0fefc0e8c0 Bug 1383215: Part 4 - Use location string as key in modules map. r=mccr8
Using the unmolested module location string as the cache key removes a huge
chunk of overhead when loading cached modules.

This also ensures that multiple URLs are not used to load the same module,
which would result in it being loaded more than once in the new regime

MozReview-Commit-ID: BAWoOJQSTc1

--HG--
extra : rebase_source : e5b295a498caf76e60efec4d174e558e9e55d77b
extra : histedit_source : dd683966b30090b5702264c2903e6050be0e4137
2017-07-24 20:32:42 -07:00
Kris Maglione 5e494303a2 Bug 1383215: Part 3 - Use scache::ResolveURI to resolve module URIs. r=mccr8
Since we now usually load modules from one of the startup caches, we usually
have no need to ever actually create a channel in order to load them.
Resolving the URIs directly is much cheaper in the normal case.

MozReview-Commit-ID: 8W8RMHRnyBa

--HG--
extra : rebase_source : 073ae92c3dc53e86084c1daa1ccfe720ade634c6
extra : histedit_source : cf6cc2b025a839e39aa48bf412ee3a273b549bbe
2017-07-21 15:42:38 -07:00
Kris Maglione 8f6455242f Bug 1383215: Part 1 - Don't resolve module URIs to files when already cached. r=mccr8
MozReview-Commit-ID: KBhXhcJkRjp

--HG--
extra : rebase_source : f5d9852dfa0bbda11d7ceee080bcde7e779c6312
extra : histedit_source : 151752f049ff9e6b2b73de51cbcef0d1d4f31906
2017-07-21 15:11:02 -07:00
Yoshi Huang 7036b3761f Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
Wes Kocher fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Wes Kocher 2673406be5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -07:00
Brian Hackett 5914f8b520 Bug 1349924 - Try to specialize property loads to specific function objects, r=jandem.
--HG--
extra : rebase_source : 1bc1d41304bdc5083e4546995c0e7d4fcd52f977
2017-07-24 14:01:49 -06:00
Steve Fink 78befcf04b Bug 1376842 - Update gdb support code to new wasm SIGSEGV handler, and some other updates, r=tromey
DONTBUILD; this changes no compiled code and is only used when debugging.

--HG--
extra : rebase_source : 4942c1d0c19e4ba6bfdfa3b5d5ff263a64e01822
2017-07-24 17:04:22 -07:00
Jan de Mooij f33379a262 Bug 1368362 - Use setSlotWithType instead of setSlot in InitGlobalLexicalOperation. r=shu
--HG--
extra : amend_source : 7dc591f4c43ebc5ff5fe9d3c4f216a2ac9b2dd6e
2017-07-24 18:41:12 -04:00
Tom Tromey 1ac9609130 Bug 1383155 - remove redundant casts of SN_TYPE; r=jimb
MozReview-Commit-ID: 8hwj36YwAxz

--HG--
extra : rebase_source : f6c1537f6566b3e1aa732718103b21863f15c480
2017-07-21 08:13:19 -06:00
Georg Fritzsche 09d533dae9 Bug 1366294 - Part 1 - Remove base::StatisticsRecorder. r=chutten
The Chromium IPC histogram code used the StatisticsRecorder object for storage.
This is keyed by histogram name, which doesn't match our storage reality anymore.
Instead we use a name to refer to a set of histogram instances that record data from different processes, as well as separating session and subsession data.
Consequently we need to rewrite this storage, which means StatisticsRecorder is not used anymore.

MozReview-Commit-ID: 1LC7YubpKaD
2017-07-24 09:52:26 -04:00