André Bargull
fdd4efc6a5
Bug 1345769 - Part 3: Keep whitespace unchanged in expected source code for compareSource. r=arai
...
--HG--
extra : rebase_source : a9d7ae56da7869e5e11b0bc625888a176d031e0a
2017-03-09 09:58:49 -08:00
André Bargull
8577312162
Bug 1345769 - Part 2: Remove word normalization step from compareSource. r=arai
...
--HG--
extra : rebase_source : 5a4e6354fdecde816a5180c256452e30100c3890
2017-03-09 09:58:42 -08:00
André Bargull
6b5a8dada2
Bug 1345769 - Part 1: Remove unused NewExpression and e4x normalization from compareSource. r=arai
...
--HG--
extra : rebase_source : 97888c8bd6a67e87f8beec9d74f2e123b2689bc0
2017-03-09 09:58:32 -08:00
Christian Holler
1965d4b2e1
Bug 1345906 - Add ReloadPrefsCallback for fuzzing.enabled pref. r=jandem
...
MozReview-Commit-ID: 5lNyaebmt1h
--HG--
extra : rebase_source : 331dcf55caaa662203a501e5d0fa16f692b61793
2017-03-09 16:47:34 +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
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
André Bargull
f4c81ce327
Bug 1343513. r=jandem
...
--HG--
extra : rebase_source : 56a42284dd36cc0fa5df3437fe0569b06dddc4fc
2017-03-02 08:33:24 -08:00
André Bargull
c185fff942
Bug 1343375 - Update RegExp.prototype.replace and .match to call ToLength(lastIndex) for non-global RegExp and handle recompilations. r=arai
2017-03-02 06:51:18 -08:00
Lars T Hansen
dac400d763
Bug 1333447 - ARM assembler: fast paths for putting simple instructions. r=nbp
2017-01-26 10:32:50 +01:00
Carsten "Tomcat" Book
9fe85d32f3
Backed out changeset 7453899cfe44 (bug 1333446) for landing with wrong bug number
2017-03-02 12:26:14 +01:00
Lars T Hansen
74511359e5
No bug: Keep 'none' target compiling, tip from jandem. r=me
...
--HG--
extra : rebase_source : 1fd6dd8119466298a9c8fdf8358e284e143ecc17
2017-03-02 10:00:20 +01:00
Lars T Hansen
1fa9ee95c9
Bug 1329676 - Wasm: eliminate redundant bounds checks on indirect calls. r=luke
...
--HG--
extra : rebase_source : b2d2f93ddd2ff9c9cce7541159488ac95f6c3a5a
extra : source : 511c518b767e6f7beb78e1d72cd94df380c5758f
2017-02-27 09:28:53 +01:00
Lars T Hansen
d0e10d0f4a
Bug 1333446 - ARM assembler: fast paths for putting simple instructions. r=nbp
...
--HG--
extra : rebase_source : 8fdcd9f0fe43684149e480a96fca6ebf965ec848
2017-03-02 09:40:38 +01:00
Jon Coppeard
e37c8ad5d4
Bug 1343590 - Improve CallArgs gray marking assertions r=sfink
2017-03-02 10:23:15 +00:00
Jon Coppeard
82cbd987a2
Bug 1338623 - Add a slower but more exact gray marking check for checking correctness r=sfink r=mccr8
2017-03-02 10:22:47 +00:00
Sylvestre Ledru
e0fb6996ea
Bug 1342665 - Disable header sorting for js/ r=jolesen
...
MozReview-Commit-ID: Cj6WWwqv2R2
--HG--
extra : rebase_source : 4304a0d024a56616c9d135b13d07b9805c330a99
2017-03-01 11:56:48 +01:00
André Bargull
d064f2c3ff
Bug 1343043 - Part 2: Enable previously disabled test262 tests. r=shu
2017-02-27 13:39:58 -08:00
André Bargull
9f390ff099
Bug 1343043 - Part 1: Remove some global variables from shell.js and instead declare them locally in tests. r=shu
2017-02-27 13:51:39 -08:00
André Bargull
f5150ddf41
Bug 1340146 - Part 2: Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
2017-02-27 09:55:21 -08:00
André Bargull
23a673a28d
Bug 1340146 - Part 1: Normalize paths for module registry in shell module loader. r=jonco
2017-02-28 03:31:25 -08:00
Brian Hackett
deb1eaae99
Bug 1341321
- Require runtimes to be single threaded when using a Debugger, r=jandem.
...
--HG--
extra : rebase_source : 42f88769ddd36082339664cad86acd1f6dff5d67
2017-03-01 07:15:50 -07:00
Carsten "Tomcat" Book
b43c07a10c
Merge mozilla-central to mozilla-inbound
2017-03-01 16:39:27 +01:00
Carsten "Tomcat" Book
3b3f4c17a2
merge mozilla-inbound to mozilla-central a=merge
2017-03-01 11:40:59 +01:00
Tooru Fujisawa
bb44116931
Bug 1329113
- Use PropertyIteratorObject* in AutoCloseIterator. r=sfink
2017-03-01 13:34:45 +09:00
Tooru Fujisawa
8d91d7841a
Bug 1342634 - Use --optimize/--no-optimize style in autospider.py r=sfink
2017-03-01 13:34:45 +09:00
Tooru Fujisawa
822174c52d
Bug 1319638 - Part 2: Change line number of a function created by Function constructor to start from 1. r=shu
2017-03-01 13:34:45 +09:00
Nicolas B. Pierron
71e99a4d66
Bug 1341951 - Use override keyword for all virtual methods of Recover Instructions. r=Waldo
2017-03-01 13:36:50 +00:00
Nicolas B. Pierron
53e2d4c026
Bug 1341951 - Replace RInstructionStorage copy by a cloneInto function on every RInstruction. r=Waldo
2017-03-01 13:36:50 +00:00
Tooru Fujisawa
e4598a4995
Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary. r=shu
2017-03-01 20:40:05 +09:00
Tooru Fujisawa
c60d1be9c1
Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError. r=shu
2017-03-01 20:40:05 +09:00
Tooru Fujisawa
ab32c358c6
Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function. r=shu
2017-03-01 20:40:05 +09:00
Tooru Fujisawa
242fbfe0d7
Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}. r=shu
2017-03-01 20:40:05 +09:00
Tooru Fujisawa
c6a69a3c6c
Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}. r=shu
2017-03-01 20:40:04 +09:00
Tooru Fujisawa
62afed54a5
Bug 1343481 - Part 2: Stop using StarGegerator for async function. r=shu
2017-03-01 20:40:04 +09:00
Tooru Fujisawa
f7e4224690
Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method. r=shu
2017-03-01 20:40:04 +09:00
André Bargull
0fa1b47441
Bug 1050755: Allow to call Date.UTC with fewer than two arguments per ES2017. r=shu
...
--HG--
extra : rebase_source : 22adaa402fd624259702d2c05810cc0858dbd75f
2017-02-27 13:22:45 -08:00
Zibi Braniecki
b6bc066991
Bug 1329904 - Introduce mozIntl.DateTimeFormat. r=Waldo
...
MozReview-Commit-ID: LKUcrg0bht4
--HG--
extra : rebase_source : abe40dec1d13d3f7d372453ae6bf1a69c1252233
2017-02-14 16:05:47 -08:00
Tooru Fujisawa
8e9c527458
Bug 1343072 - Update HasLiveStackValueAtDepth to follow the change in JSTRY_FOR_OF r=shu
2017-03-01 16:43:04 +09:00
Tom Tromey
550affaf12
Bug 1343292
- change return types in GenericPrinter; r=nbp
...
MozReview-Commit-ID: 1GJYujhrWj7
--HG--
extra : rebase_source : 90aef429db4285707f23105f950d9d930f98c21b
2017-02-28 14:18:40 -07:00
Wes Kocher
dbf209197e
Backed out 2 changesets (bug 1340146) for spidermonkey bustage a=backout
...
Backed out changeset 5556b171034e (bug 1340146)
Backed out changeset c355a0ffcb10 (bug 1340146)
MozReview-Commit-ID: JTVSUcenPdC
2017-02-27 15:28:34 -08:00
Wes Kocher
d2b28917c0
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 7UN77Uvxgus
2017-02-27 13:37:44 -08:00
Wes Kocher
1e95bd721f
Merge inbound to central, a=merge
...
MozReview-Commit-ID: F0XvCKnh8H7
2017-02-27 13:34:55 -08:00
André Bargull
a8358b9891
Bug 1340146 - Process js/src/shell JavaScript files as self-hosted in eslint plugin. r=evilpie
...
--HG--
extra : rebase_source : c34e54150dafbab3f6422b1beb0689b9ced87608
2017-02-27 09:55:21 -08:00
Benjamin Bouvier
ee24048334
Bug 1342956: Fix promise_test in wasm-testharness.js; r=luke
...
MozReview-Commit-ID: IfPkWSw05pX
--HG--
extra : rebase_source : cf2ffc8c0f3640dbfbcd3a633df8d9f3db8093f1
2017-02-27 17:35:18 +01:00
André Bargull
bdc5d2e7cf
Bug 1340146 - Normalize paths for module registry in shell module loader. r=jonco
...
--HG--
extra : rebase_source : 8712d18be190acc67416d33850844b1fb6c247a7
2017-02-27 07:49:29 -08:00
Tom Schuster
f69d3a9d55
Bug 1342402 - Use optimized GetElement in JSON. r=jandem
2017-02-27 16:43:24 +01:00
André Bargull
455dcb1fcb
Bug 1342648 - Only define PluralRules constructor when calling addIntlExtras in test262 PluralRules tests. r=gandalf
...
--HG--
extra : rebase_source : 17c29061f6ff57bacdc3e56462b859266c71b643
2017-02-25 01:59:42 -08:00
André Bargull
7705059007
Bug 1340148 - Disallow function redeclarations at module top level. r=jonco
...
--HG--
extra : histedit_source : aebb69bd265fe7429737b118a48986e3f69c2de9
2017-02-27 07:15:53 -08:00
Benjamin Bouvier
7fd59c572e
Bug 1342176: Enable 80-bits precision for the x87 floating-point unit; r=jandem
...
MozReview-Commit-ID: 1Y4H0ywIX5Q
--HG--
extra : rebase_source : 80c0df972e471878ccaab043f874ef3d5d83de1b
extra : histedit_source : 40b745f2d0f68e9a038a186de264c3102ea19bb4
2017-02-23 20:03:46 +01:00
Ehsan Akhgari
4f4a529bd2
Bug 1342719 - Optimize away a virtual function call in AccessCheck::isChrome; r=bholley
2017-02-27 09:39:50 -05:00
Tooru Fujisawa
ac394c8f93
Bug 1322019 - followup: Change a testcase for decompilation to follow the change. r=bustage
2017-02-27 20:46:31 +09:00
Tooru Fujisawa
62794b35b6
Bug 1322019 - Part 6: Decompole NEWARRAY+INITELEM_ARRAY/INITELEM_INC to [...]. r=nbp
2017-02-27 20:02:56 +09:00
Tooru Fujisawa
54043392f7
Bug 1322019 - Part 5: Print stack transition in dis() function output. r=nbp
2017-02-27 20:02:56 +09:00
Tooru Fujisawa
87031e6deb
Bug 1322019 - Part 4: Remove unnecessary if in BytecodeParser::simulateOp. r=nbp
2017-02-27 20:02:55 +09:00
Tooru Fujisawa
922fcc522a
Bug 1322019 - Part 3: Reflect the case that stack values are kept instead of newly pushed in BytecodeParser::simulateOp. r=nbp
2017-02-27 20:02:55 +09:00
Tooru Fujisawa
3fde96235d
Bug 1322019 - Part 2: Decompile more opcodes. r=nbp
2017-02-27 20:02:55 +09:00
Tooru Fujisawa
f58b3f1c81
Bug 1322019 - Part 1: Put unary operator inside parens in expression decompilation. r=nbp
2017-02-27 20:02:55 +09:00
Jan de Mooij
5e3013cebd
Bug 1339535 - Set the hadElementsAccess flag less eagerly to avoid unnecessary Shape changes. r=evilpie
2017-02-27 18:56:58 +01:00
Benjamin Bouvier
d80b2440cc
Bug 1342893: Add signatures for function imports and exports in wasmTestMode; r=luke
...
MozReview-Commit-ID: 7s7nqLAioHr
--HG--
extra : rebase_source : cadf62b262f1508eba8d4dde81b475d9b2b1392a
extra : amend_source : e9f9fc0765fb0385523770910831fad762acd66d
2017-02-27 13:39:59 +01:00
Ted Campbell
af82d53726
Bug 1337763 - Add DenseInHole IC to CacheIR r=jandem
...
MozReview-Commit-ID: KsHopYVLeb
--HG--
extra : rebase_source : f62e9d8ba716da1f680d7f5a5990ea758822e466
2017-02-23 16:04:48 -05:00
Ted Campbell
1c323dd0b6
Bug 1337763 - Factor out GeneratePrototypeHoleGuards r=jandem
...
MozReview-Commit-ID: JvSj1dyEMnC
--HG--
extra : rebase_source : 43a6f9e9acc27994cea9ac61c6f4123f8d190140
2017-02-23 16:02:42 -05:00
Jan de Mooij
9fa749d29e
Bug 1341067 followup - Fix non-unified build bustage. r=red
2017-02-27 10:00:02 +01:00
Jan de Mooij
ed8798799e
Bug 1341067 - Port Ion SetProp/SetElem IC to CacheIR. r=h4writer
2017-02-27 09:32:49 +01:00
Phil Ringnalda
ab84dcd8f5
Merge m-i to m-c, a=merge
2017-02-26 10:48:26 -08:00
Tooru Fujisawa
a88a89805e
Bug 1342553 - Part 0.2: Support JSOP_CHECKISCALLABLE in JIT. r=shu
2017-02-26 14:02:37 +09:00
Tooru Fujisawa
8c428ebcee
Bug 1342553 - Part 0.1: Use try-catch for IteratorClose in for-of. r=shu
2017-02-26 14:02:36 +09:00
Phil Ringnalda
13720d9c89
Merge m-c to m-i
2017-02-25 13:35:20 -08:00
Phil Ringnalda
da4ecf2f5c
Merge m-i to m-c, a=merge
2017-02-25 10:33:48 -08:00
Jan de Mooij
8e25a8bd29
Bug 1342439 part 2 - Optimize CheckRecursionLimit to avoid uninlined RunningWithTrustedPrincipals call. r=luke
2017-02-25 16:14:19 +01:00
Jan de Mooij
76f56574e3
Bug 1342439 part 1 - Replace macros to check for overrecursion with functions. r=luke
2017-02-25 16:07:56 +01:00
Brian Hackett
be3d9f1c9f
Bug 1338642 - Backout bug 1315596 (Don't evict bundles which won't help with allocating the target bundle), r=sunfish.
2017-02-25 05:32:59 -07:00
Jan de Mooij
9d0be99a0b
Bug 1342345
part 2 - Use a Vector for AutoCycleDetector. r=jonco
2017-02-25 12:23:44 +01:00
Jan de Mooij
ce45ed0a77
Bug 1342345
part 1 - Use a Vector for JSON cycle detector. r=evilpie
2017-02-25 12:22:28 +01:00
Luke Wagner
a43669cbbd
Bug 1342497
- Baldr: store current frame, not previous frame, in wasm::FrameIterator (r=yury)
...
MozReview-Commit-ID: 98mKbra2ehf
--HG--
extra : rebase_source : 75ced81ff98c040b585c75157cb4a405a967e840
2017-02-24 21:52:35 -06:00
Tooru Fujisawa
f5a7718580
Bug 104442 - Part 1: Report the position and the kind of previous declaration for redeclaration error. r=anba
2017-02-25 12:52:33 +09:00
Masatoshi Kimura
7be7b11a1c
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Tooru Fujisawa
71a80300a4
Bug 1340850 - Add --noconf option to autospider.py to skip running configure before building. r=sfink
2017-02-23 05:49:14 +09:00
Shu-yu Guo
361a8713a8
Bug 1341061 - Test. (r=arai)
...
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 16:51:11 -08:00
Shu-yu Guo
a4b26febc0
Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
...
Also refactor some stuff in this area.
Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:
1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
already, and GETBOUNDNAME is always preceded by BINDNAME.
2. '.this' doesn't need to be checked, because '.this' can't be assigned
to in a compound assignment or inc/dec.
3. For a global name there is never @@unscopables on the global
environments, so GNAME ops, while doing repeated lookups, remain valid
optimizations because the repetition is unobservable.
4. We *will* do double @@unscopable lookup in the case of a script
compiled for a syntactic scope then run under a non-syntactic
WithEnvironmentObject (e.g. like frame scripts). But this is
Gecko-specific and outside the spec, so we can do whatever we want
here.
2017-02-24 16:51:10 -08:00
Shu-yu Guo
2c8d8f538b
Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai)
2017-02-24 16:51:10 -08:00
Shu-yu Guo
4faffe5818
Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai)
2017-02-24 16:51:10 -08:00
Shu-yu Guo
d6089d585f
Bug 1341061 - Refactor NAME-related runtime functions. (r=arai)
2017-02-24 16:51:10 -08:00
Sebastian Hengst
257eeceb19
Backed out changeset 82cdbd24d06f (bug 1341061) for failing crashtest 366271-1.html. r=backout
2017-02-24 23:10:56 +01:00
Sebastian Hengst
e460fecacb
Backed out changeset 2cb11cb34069 (bug 1341061)
2017-02-24 23:10:26 +01:00
Sebastian Hengst
45b22b7436
Backed out changeset 76c74d43a9b0 (bug 1341061)
2017-02-24 23:10:21 +01:00
Sebastian Hengst
12475239db
Backed out changeset 559f43c43369 (bug 1341061)
2017-02-24 23:10:16 +01:00
Sebastian Hengst
1642f69ece
Backed out changeset 456c1dcfe087 (bug 1341061)
2017-02-24 23:09:59 +01:00
Shu-yu Guo
08c7d6f388
Bug 1342273 - Improve frontend tracelogging. (r=h4writer)
2017-02-24 12:52:13 -08:00
Shu-yu Guo
11db464a8a
Bug 1341061 - Test. (r=arai)
...
Will remove once https://github.com/tc39/test262/pull/869 merges and we
sync.
2017-02-24 12:52:13 -08:00
Shu-yu Guo
1f9ef5342d
Bug 1341061 - Manually unwrap WithEnvironmentObjects in GETBOUNDNAME. (r=arai)
...
Also refactor some stuff in this area.
Documenting why I think it's correct to use GETBOUNDNAME only for
dynamic (vs global) lookups, without the normal NAME checks:
1. GETBOUNDNAME doesn't need to check TDZ because BINDNAME does it
already, and GETBOUNDNAME is always preceded by BINDNAME.
2. '.this' doesn't need to be checked, because '.this' can't be assigned
to in a compound assignment or inc/dec.
3. For a global name there is never @@unscopables on the global
environments, so GNAME ops, while doing repeated lookups, remain valid
optimizations because the repetition is unobservable.
4. We *will* do double @@unscopable lookup in the case of a script
compiled for a syntactic scope then run under a non-syntactic
WithEnvironmentObject (e.g. like frame scripts). But this is
Gecko-specific and outside the spec, so we can do whatever we want
here.
2017-02-24 12:52:13 -08:00
Shu-yu Guo
390589726c
Bug 1341061 - Rename GETXPROP to GETBOUNDNAME for clarity. (r=arai)
2017-02-24 12:52:13 -08:00
Shu-yu Guo
456932d2a6
Bug 1341061 - Fix Opcodes.h comments to say 'environment' instead of 'scope' to refer to the runtime objects. (r=arai)
2017-02-24 12:52:12 -08:00
Shu-yu Guo
b1ecf17d44
Bug 1341061 - Refactor NAME-related runtime functions. (r=arai)
2017-02-24 12:52:12 -08:00
Steve Fink
fadad6757e
Bug 1337072 - Implement helper routines for inspecting and breaking on mark bits, r=jonco
...
MozReview-Commit-ID: FhdPEVo3BOi
--HG--
extra : rebase_source : 63f71add6af053a25876f8f250436d8b3bf82893
2017-02-06 10:56:16 -08:00
Steve Fink
3c066c06e6
Bug 1337465 - Create proper help strings for JS shell namespace objects, r=jonco
...
MozReview-Commit-ID: Ha6gkvgUIgZ
--HG--
extra : rebase_source : 9272fd8f06280b19a25250fa43d970cfa72389a6
2017-02-17 14:04:06 -08:00
Luke Wagner
3486b55697
Bug 1341749 - Backout test (r=red)
...
MozReview-Commit-ID: EZAL9Urln2d
2017-02-24 11:48:41 -06:00
Steve Fink
ef3d545285
Bug 1342301 - Split out an "optimize" key from configure-args, r=arai
...
--HG--
extra : rebase_source : 4e6b682d848e1d6e0c081903efb89b982db693f8
2017-02-23 19:35:49 -08:00
Steve Fink
5b823a90ec
Bug 1337427 - Add MOZ_MUST_USE to GCVector bool returns, r=woof!
...
MozReview-Commit-ID: FuGjTr08mpL
--HG--
extra : rebase_source : f4adc4ad2b7558f25b344f8f4a7667ca05eed9c9
2017-02-07 16:13:04 -08:00
Steve Fink
a38125cbf4
Bug 1337427 - Implement GCVector::sweep, r=jonco
...
MozReview-Commit-ID: 6q2OlAHHMsy
--HG--
extra : rebase_source : 7985e133488f60cd8d87080bc221785bab09399c
2017-02-07 16:12:25 -08:00
Luke Wagner
fc5f17cd6c
Bug 1341749 - Drain job queue even after error (r=bbouvier)
...
MozReview-Commit-ID: D7rjnADZ5if
--HG--
extra : rebase_source : 09b662af12898c40fcefc3f294abfa4fd577d97c
2017-02-24 09:30:38 -06:00
Olli Pettay
66be2f31cc
Bug 1342244, try to avoid extra CompartmentPrivate::Get calls during Rewrap, r=bholley
...
--HG--
extra : rebase_source : 951f392a2d19a509ce951213686684cc326f4895
2017-02-24 15:03:38 +02:00
Lars T Hansen
1c373598e5
Bug 1342353 - Wasm baseline, properly compute aligned frame size. r=bbouvier
...
--HG--
extra : rebase_source : 93c6561711452bc4be22031e03be64a4627d65fd
extra : histedit_source : b8a96a58356138a310a3f049b2c6c336f10d9e56
2017-02-24 10:47:55 +01:00