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

59318 Коммитов

Автор SHA1 Сообщение Дата
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
Heiher 7929efd911 Bug 1344597 - Baldr: MIPS: Fix trap type of unsigned divide by zero. r=luke
---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2017-03-07 08:46:02 +08:00
André Bargull 418fcfb860 Bug 1344487 - Update language subtag registry to version 2017-03-03. r=Waldo 2017-03-04 07:34:46 -08:00
André Bargull bf7e37fbb8 Bug 1317397 - Only set lastIndex for global or sticky RegExps in RegExpBuiltinExec per ES2017. r=arai 2017-03-06 09:57:42 -08:00
André Bargull 982f13db44 Bug 866473 - Implement caseFirst option in Intl.Collator. r=Waldo 2017-03-03 08:13:43 -08:00
Ehsan Akhgari 65b2fe2b53 Bug 1343866 - Scope more nsCOMPtrs in XRE_XPCShellMain(); r=bsmedberg 2017-03-06 15:06:18 -05:00
André Bargull 93cf1cd546 Bug 1344656 - Create ArrayBuffers with the correct prototype in TypedArray constructor with cross-realm TypedArray. r=arai
--HG--
extra : rebase_source : 1fb91bbb1da7500715a2df0dd94707e044ed5209
2017-03-10 01:27:38 -08:00
Luke Wagner bb3b32d117 Bug 1345205 - Bump MaxCodeBytesPerProcess to 140mb on 32-bit and decrease BufferSize to 8mb (r=jandem)
MozReview-Commit-ID: 844p5Sh92eH
2017-03-10 11:22:58 -06:00
Lars T Hansen 0d099cca2b Bug 1345070 - Wasm baseline, don't reload tls on x86 if we don't need it. r=bbouvier
--HG--
extra : rebase_source : d11ede4a9be1963d600db07f7272d2923b22feca
2017-03-10 12:14:11 +01:00
Lars T Hansen a9d65b30bd Bug 1338998 - wasm baseline, align loop headers for perf testing sanity's sake. r=bbouvier
--HG--
extra : rebase_source : 1c7211c5c1c6f7c27d2902d642fe671df6976c20
2017-03-08 15:26:11 +01:00
Benjamin Bouvier 13c9c7567f Bug 1345427: Effectively change output type of MNearbyInt when specializing to float32; r=h4writer
MozReview-Commit-ID: 7u50g0wgwyB

--HG--
extra : rebase_source : c51c7f0ee26196a78fb60094c2aba25fe19bfb72
extra : amend_source : 1d859b2498531e77d386ed26ce11c51aedbaa3d7
2017-03-08 13:39:00 +01:00
Sean Stangl d35ceabd2a Bug 1339190 - Fix Ubuntu shell startup crash. r=bbouvier 2017-03-09 15:40:00 +01:00
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
Tooru Fujisawa 250aee0b68 Bug 420857 - Part 4: Report the position of opening bracket for missing bracket error in array literal. r=anba 2017-03-07 19:54:24 +09:00
Tooru Fujisawa 3bf42393b9 Bug 420857 - Part 3: Report the position of opening brace for missing brace error in object literal. r=anba 2017-03-07 19:54:24 +09:00
Tooru Fujisawa 2a053d2778 Bug 420857 - Part 2: Report the position of opening brace for missing brace error in block. r=anba 2017-03-07 19:54:23 +09:00
Tooru Fujisawa f160f004a3 Bug 420857 - Part 1: Report the position of opening brace for missing brace error in function body. r=anba 2017-03-07 19:54:23 +09:00
Tooru Fujisawa 65e4d7e60d Bug 774744 - Clarify the parameter name or role of the value in some NOT_NONNULL_OBJECT error. r=jwalden 2017-03-07 19:54:23 +09:00
André Bargull 4396e0a2e6 Bug 1299900 - Warn about deprecated Date.prototype.toLocaleFormat method. r=jandem 2017-03-07 09:46:41 -08:00
Jan Varga e161ee742d Bug 1311057 - Part 1: Remove support for packaged apps from asmjscache; r=luke 2017-03-06 18:38:40 +01:00
Carsten "Tomcat" Book d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Christian Holler (:decoder) b25bd63bb7 Bug 1341901 - Make timesAccessed property JS shell only. r=jandem
MozReview-Commit-ID: Iq8vqsFCPwj

--HG--
extra : rebase_source : 1b347f0c63f37b056ae1c0a884eb66a4594d66bd
2017-03-03 18:11:07 +01:00
Wes Kocher 1b29a33fce Merge m-c to autoland, a=merge
MozReview-Commit-ID: K0Q4b2wzvlJ
2017-03-03 17:29:54 -08:00
Tom Schuster f9f619721e Bug 1341263 - Optimize null/undefined comparisons more in CompareIC. r=jandem 2017-03-03 16:12:40 +01:00
Sebastian Hengst a3bf7b3e62 Backed out changeset cfd2fd77ff04 (bug 1339999) for failing handling-oom-during-exception-throwing.js. r=backout on a CLOSED TREE 2017-03-03 15:43:24 +01:00
Till Schneidereit 77f2f8b1ac Bug 1339999 - Properly handle OOM during exception throwing in all Promise code. r=arai
MozReview-Commit-ID: 2S5uosso0wN
2017-03-03 14:55:42 +01:00
Carsten "Tomcat" Book 06813a3df9 Merge mozilla-central to mozilla-inbound 2017-03-03 13:06:37 +01:00
Carsten "Tomcat" Book cf269a43bd merge mozilla-inbound to mozilla-central a=merge 2017-03-03 13:03:48 +01:00
Tooru Fujisawa 9b8c984305 Bug 1316098 - Optimize out result object allocation for await/return in async function. r=till 2017-03-03 17:11:14 +09:00
Benjamin Bouvier bedd21936f Bug 1336139: Set and restore FPU precision before applying the u64 -> f32 conversion on x86; r=sunfish
MozReview-Commit-ID: 5dMdTwiWRx

--HG--
extra : rebase_source : 357a49b9f7cade2fa96c1822221b14694d52250a
2017-03-01 16:49:52 +01:00
Yury Delendik b12f5d0357 Bug 1343581 - Expose wasm function return value to Debugger.Frame. r=luke
MozReview-Commit-ID: 4XPGHhrZTvM

--HG--
extra : rebase_source : 093cb711c63c61f9a1e451eaf3ef3f021846b162
2017-03-02 13:25:17 -06:00
Yury Delendik 9bb3caade2 Bug 1338914 - Optimize hidden/internal script detection for devtools. r=shu
MozReview-Commit-ID: JT1TJtJUGrq

--HG--
extra : rebase_source : 82229aaff05fbc383714b134cdfc92aff6dbe0d4
2017-02-22 12:25:36 -06:00
Sebastian Hengst c435fc24fc Backed out changeset c92fa71c097e (bug 866473) for hazard failures in Intl.cpp. r=backout 2017-03-02 17:11:10 +01:00
André Bargull d2897810ce Bug 1342478: Support loading modules from relative paths in shell module loader. r=jonco 2017-03-02 02:35:15 -08:00
André Bargull e30f7fab5b Bug 1314148: Correctly handle wrapped typed arrays in TypedArray.prototype.set. r=lth, waldo 2017-03-02 01:53:38 -08:00
André Bargull 1d82da3e61 Bug 866473: Implement caseFirst option in Intl.Collator. r=Waldo 2017-03-02 03:01:09 -08:00
Brian Hackett 8ad28d4fd4 Bug 1341317 - Require runtimes to be single threaded while the Gecko profiler is in use, r=shu.
--HG--
extra : rebase_source : 4dd365b76b2b91b73764bcd28e25cbb5bd324f00
2017-03-02 05:11:28 -07:00
Carsten "Tomcat" Book 614b0dd569 Merge mozilla-central to mozilla-inbound 2017-03-02 14:06:01 +01:00
Lars T Hansen b8bb5f5b0b Bug 1333447 - ARM assembler: fast paths for putting simple instructions. r=nbp 2017-03-02 12:50:45 +01:00
Carsten "Tomcat" Book 7853fbfb05 Backed out changeset c807c80d954a (bug 1333447) wrong patch landed
--HG--
extra : rebase_source : e29bdd815e16efbb2018c16bbc89851b203d2889
2017-03-02 12:47:37 +01:00
Benjamin Bouvier 15b94c6a30 Bug 1336139: Fix uint64 to floating-point conversion; r=sunfish
MozReview-Commit-ID: 4Lk4ifPqO9d

--HG--
extra : rebase_source : fa95cefdc1eea76824692e39678c048daac29200
2017-02-10 16:26:15 +01:00
Jon Coppeard 1095f5de68 Bug 1338623 - Don't assert on gray debugger proxy targets that will eventaully become black r=sfink 2017-03-03 10:45:47 +00:00
Jon Coppeard 615b27674b Bug 1338623 - Use IsNotGray in all gray marking assertions r=sfink 2017-03-03 10:45:47 +00:00
Wes Kocher 9746f81e53 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FzykkWPQCrq

--HG--
rename : browser/modules/test/browser_UsageTelemetry_content.js => browser/modules/test/browser/browser_UsageTelemetry_content.js
rename : browser/modules/test/browser_UsageTelemetry_content_aboutHome.js => browser/modules/test/browser/browser_UsageTelemetry_content_aboutHome.js
rename : browser/modules/test/browser_UsageTelemetry_searchbar.js => browser/modules/test/browser/browser_UsageTelemetry_searchbar.js
rename : browser/modules/test/browser_UsageTelemetry_urlbar.js => browser/modules/test/browser/browser_UsageTelemetry_urlbar.js
2017-03-01 17:48:44 -08:00
Sebastian Hengst 2975da8533 Backed out changeset e7c397118fd2 (bug 1340393) to fix Windows pgo builds after bug 1322703 got backed out. r=backout,bustage-fix on a CLOSED TREE 2017-03-01 19:31:06 +01:00
Ted Campbell 86750f7cbe Bug 1342483 - Preserve envChain in Ion if script uses lexical environments r=jandem
Under rare cases, Ion was optimizing out |envChain| while lexical environments
were in use, leading to a crash during bailout. This extends the criteria for
preserving the |envChain| slot to include lexical blocks.

MozReview-Commit-ID: 4sd42F4TIq8

--HG--
extra : rebase_source : 348a44f9dcae30d6e0e5f78b5fd17e0867532b7f
2017-03-03 10:10:13 -05:00
Ted Campbell 1bf6490c28 Bug 1342483 - Add JSScript::needsBodyEnvironment r=jandem
MozReview-Commit-ID: ETGQtw2sIGJ

--HG--
extra : rebase_source : 78cd866d31ad5ab01b35c4674f3fe34893cf4ac9
2017-03-03 10:03:06 -05:00
André Bargull e10fb026e9 Bug 1343493 - Update tzdata in ICU data files to 2017a. r=Waldo 2017-03-02 02:11:16 -08:00
Luke Wagner ae252d1508 Bug 1343594 - Baldr: issue warning for binary-to-text on huge modules (r=yury)
MozReview-Commit-ID: F60JnOQB8G2

--HG--
extra : rebase_source : 3a5abbfd80cbee4dde9c3a313ae9b1f747d4093b
2017-03-02 16:49:46 -06:00
Luke Wagner 361811005e Bug 1343594 - Baldr: remove dead functionlocs (r=yury)
MozReview-Commit-ID: 2gkcP5rkQjM

--HG--
extra : rebase_source : 9d64dc791c141dbc37acd1dbb7bb629a6b443154
2017-03-02 16:49:08 -06:00
Wes Kocher 07e4f78152 Backed out changeset 76bf73578801 (bug 1339999) for spidermonkey failures a=backout
MozReview-Commit-ID: JUFGKn6m5Q7
2017-03-02 14:33:21 -08:00
Till Schneidereit 46e6d63397 Bug 1339999 - Properly handle OOM during exception throwing in all Promise code. r=arai
MozReview-Commit-ID: 2S5uosso0wN
2017-03-02 22:55:51 +01:00