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

59262 Коммитов

Автор SHA1 Сообщение Дата
Hannes Verschore 8ae83b07f4 Bug 1345801: TraceLogger - Fix TLOPTIONS documentation inaccuracy, r=bhackett 2017-03-09 12:28:38 +01:00
Hannes Verschore d941852838 Bug 1335146: IonMonkey - Don't do flow-aa on blocks without entry predecessor, r=jandem 2017-03-09 12:28:37 +01:00
David Major baf83f442b Bug 1319971: Re-work some static_asserts to get VS2017 compiling. r=luke
VS2017 doesn't consider functions like Foo::offsetOfBar() to be constexpr, so it refuses to allow them in static_asserts.

MozReview-Commit-ID: 3mYgnmEPIx0

--HG--
extra : rebase_source : b7392c054d48068587ae9be7f014ad1c0d4c39a3
2017-03-09 15:13:08 +13:00
Steve Fink 975eedf5ec Bug 1345307 - Implement runtime-wide WeakCache, r=jonco
MozReview-Commit-ID: DX2nNCZrj6

--HG--
extra : rebase_source : a522dc02ac332bbc072845a3433af5a40ba16fe7
2017-03-07 12:55:37 -08:00
Wes Kocher 1e99d508d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaPlT30qXzs
2017-03-08 17:15:46 -08:00
Wes Kocher 3842d8fcef Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Shu-yu Guo 2ecd72ea53 Bug 1108941 - Followup: fix nonunified builds on a CLOSED TREE. 2017-03-08 14:24:23 -08:00
Shu-yu Guo 1dcb2c47c5 Bug 1108941 - Followup: don't expect template literal objects to already have been canonicalized during arguments analysis. (r=jandem) 2017-03-08 14:24:22 -08:00
Shu-yu Guo 45625b49e1 Bug 1108941 - Fix #include order to open a CLOSED TREE. 2017-03-08 13:44:27 -08:00
Shu-yu Guo 6237b16a43 Bug 1108941 - Update tests and whitelist failing test262 tests. 2017-03-08 12:00:55 -08:00
Shu-yu Guo 7170b1291a Bug 1108941 - Use the template literal registry in Ion. (r=jandem) 2017-03-08 12:00:54 -08:00
Shu-yu Guo c91e65240b Bug 1108941 - Implement the per-global template literal registry. (r=arai,jonco) 2017-03-08 12:00:54 -08:00
André Bargull 40a845fc8d Bug 1340583 - Part 6: Update test262 exclusion list. r=shu
--HG--
extra : rebase_source : 95b4985570ea5676c1c27f1fbfea83ccd420a78a
2017-03-07 09:28:53 -08:00
André Bargull 9c682ab8af Bug 1340583 - Part 5: Regenerate test262 files. rs=shu
--HG--
extra : rebase_source : 3ea3736130c8aafbaa999b651aa495fb6317d0be
2017-03-07 09:28:45 -08:00
André Bargull 67da1dfd6a Bug 1340583 - Part 4: Add support for module tests to jstests. r=shu
--HG--
extra : rebase_source : 856805385b20ba17848e8cf7a3357f94949486f9
2017-03-07 09:28:38 -08:00
André Bargull ecb328f9de Bug 1340583 - Part 3: Extend jstests reftest line to allow to define error types. r=shu
--HG--
extra : rebase_source : 19f9cfae17d4c5e16f6919ba40b4b88da659eb58
2017-03-07 09:28:33 -08:00
André Bargull 840bebe2ef Bug 1340583 - Part 2: Change some test262 importer functions in preparation for next patches. r=shu
--HG--
extra : rebase_source : 4812df66b413e7e2144b823c6e04c1978009e086
2017-03-07 09:28:27 -08:00
André Bargull 88f405f22d Bug 1340583 - Part 1: Move static skip-if statements to the top-level jstests.list. r=shu
--HG--
extra : rebase_source : 5ce26162a0973e978271486ec356a32293d1dfbb
2017-03-07 09:28:21 -08:00
André Bargull dac30bb995 Bug 1344789 - Enable passing function name tests from test262 for Intl getter functions. r=Waldo 2017-03-06 10:08:04 -08:00
Brian Hackett 48f2d4f0e9 Bug 1344315 - Suppress protected data checks when handing off runtimes between cooperative threads, r=jandem.
--HG--
extra : rebase_source : a5b9b72ddd254c3f1b494ba5cf7dd83ccc82cc88
2017-03-08 07:23:47 -07:00
Nicolas B. Pierron dccaffb213 Bug 1325073 - Rename mozilla::MakeGenericErrorResult to mozilla::Err. r=Waldo 2017-03-08 13:33:07 +00:00
Tooru Fujisawa 2cbcc06b8b Bug 1345162 - Fix identifier handling in Parser::standaloneFunction to follow new token kinds. r=till 2017-03-08 20:36:51 +09:00
Carsten "Tomcat" Book f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Brian Hackett ecc2958029 Bug 1342642 - Don't modify jitcode when interrupting an idle cooperative thread, r=luke. 2017-03-08 05:11:07 -07:00
Jan de Mooij 68ecb73fdd Bug 1344691 - Make add-dense-element stub support element (re)allocation. r=evilpie 2017-03-08 10:50:51 +01:00
Boris Zbarsky 2ab128503c Bug 1344443. Fix [[SetPrototypeOf]] on cross-origin objects to follow the spec. r=bholley,waldo
MozReview-Commit-ID: JI9fbQTS0PS
2017-03-08 03:14:38 -05:00
Jan de Mooij 3280f38d60 Bug 1344218 - Rewrite IonBuilder::testCommonGetterSetter to search for the holder instead of taking it as argument. r=bhackett
--HG--
extra : rebase_source : 12d6d653076d97f313f14592e4787382b4178f8c
2017-03-08 08:45:35 +01:00
Phil Ringnalda 50ab73503e Backed out changeset efec0bd16f22 (bug 1345261) for failures in test_discardSystemSource.xul 2017-03-07 19:03:00 -08:00
Eric Faust 5af1812bae Bug 1345261 - Remove dead code from js::FunctionToString. (r=sfink) 2017-03-07 16:53:32 -08:00
Wes Kocher 9d3f12083b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Kk6k8R6WCf
2017-03-07 16:45:07 -08:00
Wes Kocher dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Michael Layzell 46ade67ada Bug 1331434 - Part 2: Add MOZ_MAY_CALL_AFTER_MUST_RETURN and MOZ_MUST_RETURN_FROM_CALLER annotations, r=ehsan
MozReview-Commit-ID: 1o2egvdhkqT
2017-03-07 19:06:48 -05:00
Jon Coppeard 51ef98020d Bug 1335751 - Add js::CheckGrayMarkingState friend API to check there are black to gray edges r=sfink 2017-03-05 09:23:09 +00:00
Jon Coppeard 1050582167 Bug 1344686 - Make RegExpShared's read barrier unmark gray if necessary r=sfink 2017-03-07 17:24:22 +00:00
Chris Manchester b3fc54a3dc Bug 1314678 - Don't perform clang plugin checks in artifact builds. r=mshal
Until we have the ability to properly make these flags conditional in
moz.configure, do not perform these checks.

MozReview-Commit-ID: CexvgiadIw0

--HG--
extra : rebase_source : 3944a7c98a6570bf0f30dc01a9d895cc07cc0ff1
2017-03-07 10:21:33 -08:00
Steve Fink 8c57507111 Bug 1343261 - dead object proxies must be swept with their former targets, r=jonco
MozReview-Commit-ID: KM6gNtGWvws

--HG--
extra : rebase_source : 51fc138bce7759773d8858e0285023590b5b903a
2017-03-06 12:27:43 -08:00
Lars T Hansen 937f4d39a3 Bug 1338217 - Wasm, stop patching generated code. r=luke
--HG--
extra : rebase_source : 0813887a80703d1d707fef83a7e5b0c253db2566
2017-03-07 15:37:24 +01:00
Jan de Mooij 78a04d4961 Bug 1344198 - Inline various Shape search functions. r=bhackett 2017-03-07 15:58:13 +01:00
Jan de Mooij 5bd201cb1e Bug 1344334 - Make DoTypeUpdateFallback infallible. r=h4writer 2017-03-07 15:57:28 +01:00
Carsten "Tomcat" Book edb815b89d Backed out changeset b7bcda1f007a (bug 1338217) for bustage on a CLOSED TREE 2017-03-07 15:30:20 +01:00
Lars T Hansen 406327497b Bug 1338217 - Wasm, stop patching generated code. r=luke
--HG--
extra : rebase_source : 6289611dcbed5e596dad08dd4247b126e7d762bc
2017-03-06 16:10:38 +01:00
Benjamin Bouvier 8ed8d74ce8 Bug 1339089: Inline wasm::floor/trunc/nearest/round in the baseline compiler too; r=lth
MozReview-Commit-ID: fekFFUuMjq

--HG--
extra : rebase_source : f0d1aaab707be21c876f82a9c9e71cb7a0454d5c
2017-03-03 17:34:03 +01:00
Benjamin Bouvier c79ba38a9d Bug 1339089: Inline floor/ceil/trunc/nearest in Ion when we have sse4; r=sunfish
MozReview-Commit-ID: GeanJppUSn3

--HG--
extra : rebase_source : 42dfdbf2176903ed7849412148a192c646a0d9da
2017-03-03 20:30:30 +01:00
Tooru Fujisawa 92eba5e44a Bug 1344753 - Update for-of stack depth in ControlFlowGenerator::processWhileOrForInLoop. r=jandem 2017-03-07 22:41:04 +09:00
Carsten "Tomcat" Book 96fe421b34 Merge mozilla-central to autoland 2017-03-08 17:04:17 +01:00
David Teller c1b5f21196 Bug 1343483 - Determine how long functions remain syntax-parsed before they are full-parsed;r=shu
In many cases, to speed up start, compiling a ScriptSource will not
compile the functions themselves, but will rather syntax-parse them
(to check for syntax errors), leaving full compilation for
later. However, if we find ourselves in a case in which the function
is needed almost immediately, we need to full-parse the function
immediately after the syntax-parse, which is wasteful.

This changeset intends to measure how often this happens, by exporting
through Telemetry the duration between the end of the syntax-parse and
the start of the full-parse for each function.

As a memory optimization, instead of storing a timestamp for the
syntax-parse of each function, we store a single timestamp for an
entire ScriptSource. This assumes that all functions of the
ScriptSource are syntax-parsed at approximately the same instant,
which should be mostly true for everything except perhaps `eval` and
`new Function`. Then, when time comes to delazify a function, we
simply determine the time elapsed since the ScriptSource was compiled.

Histogram JS_PARSER_COMPILE_LAZY_AFTER_MS starts at 10ms (anything
smaller is often not measurable) and stops at 10s (anything larger can
safely be said to be not wasteful).

MozReview-Commit-ID: 6Ycy2OIIiAt

--HG--
extra : rebase_source : 0ccd6f51189b3ad8056e9f39e267235d68f6e2db
2017-03-06 21:22:00 +01:00
Makoto Kato 37ffe9aa86 Bug 1340393 - Remove -FS option on SIMPLE_PROGRAM. r=glandium
Although bug 1322703 is backed out, we can remove -FS options to build SIMPLE_PROGRAM.

MozReview-Commit-ID: 7uO3We5hc5n

--HG--
extra : rebase_source : 6f909c4f38ba5a5bdffed7f9ca5be0030b9c681b
2017-03-07 17:19:04 +09:00
Jan de Mooij a7b166f847 Bug 1344721 - Eliminate unnecessary null check from Ion post barriers when we know the object is non-null. r=jonco 2017-03-07 09:03:17 +01:00
Ehsan Akhgari df3bce859e Bug 1344974 - Part 3: Speed up principal access checks in WrapperFactory::Rewrap() by eliminating virtual dispatch and inling; r=bholley 2017-03-07 00:29:44 -05:00
Ehsan Akhgari 3169d6c35c Bug 1340710 - Part 6: Store BasePrincipal::{mOriginNoSuffix,mOriginSuffix} as a pair of atoms; r=bholley
This has the nice side effect of making nsIPrincipal::GetOrigin() a bit faster
by avoiding computing the origin each time.
2017-03-06 22:27:53 -05:00