Commit Graph

54075 Commits

Author SHA1 Message Date
Tooru Fujisawa
771965e01f Backed out changeset b77cb94666ca (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa
93f1e442be Backed out changeset 56e25768c99a (bug 887016) 2016-03-28 06:49:55 +09:00
Tooru Fujisawa
a8c4d852ec Backed out changeset dee348be6685 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
c1b73afff6 Backed out changeset 4be734a14524 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
ab25ebfb49 Backed out changeset 537d40121b6d (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
0be2d6fd80 Backed out changeset f23a61067cef (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
1a7246417a Backed out changeset f373233a8c82 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
33adcddf77 Backed out changeset 716a5a6539d7 (bug 887016) 2016-03-28 06:49:54 +09:00
Tooru Fujisawa
7a09a0d6d7 Backed out changeset 01da4d30fd11 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa
b4262a84d4 Backed out changeset 7db6a99ec546 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa
0335cde994 Backed out changeset 817e8aab2348 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa
599d9b7e14 Backed out changeset 58946916593b (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa
daf8fc1ae7 Backed out changeset b903c18bbb32 (bug 887016) 2016-03-28 06:49:53 +09:00
Tooru Fujisawa
2031ec8443 Bug 887016 - Part 17: Mark sunspider/check-string-unpack-code.js timeout on cgc jittest. r=till 2016-01-15 14:50:14 +09:00
Tooru Fujisawa
9adec29b39 Bug 887016 - Part 16: Use RegExpSearcher in RegExp.prototype[@@search] optimized path. r=till 2016-01-28 18:56:12 +09:00
Tooru Fujisawa
71b182b38f Bug 887016 - Part 15: Use RegExpSearcher in RegExp.prototype[@@replace] optimized path. r=till 2016-01-28 18:56:09 +09:00
Tooru Fujisawa
d1bd26b205 Bug 887016 - Part 14: Add RegExpSearcher. r=h4writer 2016-01-28 18:56:02 +09:00
Tooru Fujisawa
6b1b1f0a0b Bug 887016 - Part 13: Implement RegExp.prototype[@@split] and call it from String.prototype.split. r=h4writer,till 2015-09-05 22:01:43 +09:00
Tooru Fujisawa
9f7f609d44 Bug 887016 - Part 12: Implement RegExp[@@species] getter. r=evilpie 2015-10-25 02:19:03 +09:00
Tooru Fujisawa
af196ee294 Bug 887016 - Part 11: Implement RegExp.prototype[@@replace] and call it from String.prototype.replace. r=h4writer,till 2015-09-05 22:01:41 +09:00
Tooru Fujisawa
39a8931577 Bug 887016 - Part 10: Implement RegExp.prototype[@@search] and call it from String.prototype.search. r=till 2015-09-05 22:01:40 +09:00
Tooru Fujisawa
c77fd5e9a2 Bug 887016 - Part 9: Implement RegExp.prototype[@@match] and call it from String.prototype.match. r=till 2015-09-05 21:55:06 +09:00
Tooru Fujisawa
877fae40b2 Bug 887016 - Part 8: Add ObjectHasPrototype. r=nbp 2016-01-27 23:43:04 +09:00
Tooru Fujisawa
1b4d64f711 Bug 887016 - Part 7: Add RegExpInstanceOptimizable. r=nbp 2016-01-28 18:55:24 +09:00
Tooru Fujisawa
e866ceb7f2 Bug 887016 - Part 6: Add RegExpPrototypeOptimizable. r=nbp 2015-11-22 03:07:36 +09:00
Tooru Fujisawa
ca44f32c7d Bug 887016 - Part 5: Add HasOwnDataPropertyPure. r=jandem 2015-11-22 03:01:42 +09:00
Tooru Fujisawa
4c2c38e7dd Bug 887016 - Part 4: Add GetOwnNativeGetterPure. r=jandem 2015-11-22 03:01:02 +09:00
Tooru Fujisawa
fbe37bdf2c Bug 887016 - Part 3: Add LookupOwnPropertyPure. r=jandem 2015-11-22 02:55:46 +09:00
Tooru Fujisawa
358b91a7cc Bug 887016 - Part 2: Add self-hosting RegExpCreate intrinsic. r=till 2015-11-22 02:55:45 +09:00
Tooru Fujisawa
64ec8d861c Bug 887016 - Part 1: Add native RegExpCreate. r=h4writer 2015-09-05 21:55:01 +09:00
Tooru Fujisawa
9768046d65 Bug 1165052 - Part 13: Add tests for ArraySpeciesCreate. r=efaust 2015-08-07 08:02:32 +09:00
Tooru Fujisawa
bfb9cdbb28 Bug 1165052 - Part 12: Use ArraySpeciesCreate in Array.prototype.splice. r=efaust,evilpie 2015-12-23 13:30:58 +09:00
Tooru Fujisawa
fed10eb387 Bug 1165052 - Part 11: Use ArraySpeciesCreate in Array.prototype.slice. r=efaust 2016-03-05 18:57:53 +09:00
Tooru Fujisawa
d8a1a10ae2 Bug 1165052 - Part 10: Use ArraySpeciesCreate in Array.prototype.map. r=efaust 2015-08-07 08:02:18 +09:00
Tooru Fujisawa
87d38c6060 Bug 1165052 - Part 9: Use ArraySpeciesCreate in Array.prototype.filter. r=efaust 2015-08-07 08:02:14 +09:00
Tooru Fujisawa
0ad9aa8c7f Bug 1165052 - Part 8: Use ArraySpeciesCreate in Array.prototype.concat. r=efaust 2015-12-23 13:30:47 +09:00
Tooru Fujisawa
136d9cd232 Bug 1165052 - Part 7: Implement native ArraySpeciesCreate wrapper. r=efaust 2015-12-23 13:30:12 +09:00
Tooru Fujisawa
beb1cb8a0a Bug 1165052 - Part 6: Implement self-hosted ArraySpeciesCreate. r=efaust 2015-12-23 13:28:38 +09:00
Tooru Fujisawa
05dfc47913 Bug 1165052 - Part 5: Inline IsWrappedArrayConstructor intrinsic. r=jandem 2015-11-16 09:01:56 +09:00
Tooru Fujisawa
3a18d80234 Bug 1165052 - Part 4: Inline IsConstructor intrinsic. r=jandem 2015-11-16 09:01:37 +09:00
Tooru Fujisawa
2026279fc4 Bug 1165052 - Part 3: Add IsWrappedArrayConstructor intrinsic. r=efaust 2015-12-23 12:46:35 +09:00
Tooru Fujisawa
6b7debe3ec Bug 1165052 - Part 2: Add IsArraySpecies. r=efaust 2015-12-23 12:43:15 +09:00
Tooru Fujisawa
34c808c8c7 Bug 1165052 - Part 1: Implement Array[@@species] getter. r=efaust 2015-08-07 07:53:32 +09:00
Tooru Fujisawa
7155770a42 Bug 1233642 - Part 2: Self-host Array.prototype.concat. r=efaust 2015-12-18 17:02:27 +09:00
Tooru Fujisawa
0586c2ef05 Bug 1233642 - Part 1: Add IsArray intrinsic. r=efaust 2015-12-19 19:51:32 +09:00
Tooru Fujisawa
4b31181e38 Bug 1165053 - Part 9: Add IsArrayBufferSpecies and avoid calling SpeciesConstructor on normal case. r=lth 2016-01-14 19:37:04 +09:00
Tooru Fujisawa
41b35cb5aa Bug 1165053 - Part 8: Add GetGetterPure. r=lth 2015-12-23 12:42:13 +09:00
Tooru Fujisawa
b56636042a Bug 1165053 - Part 7: Call SpeciesConstructor in TypedArray ctors. r=lth 2016-03-05 18:57:51 +09:00
Tooru Fujisawa
c032794aa6 Bug 1165053 - Part 6: Refactor TypedArrayObjectTemplate::fromArray. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa
531fd4169d Bug 1165053 - Part 5: Add native SpeciesConstructor wrapper. r=lth 2015-12-20 19:15:09 +09:00
Tooru Fujisawa
af741bb69b Bug 1165053 - Part 4: Add SpeciesConstructor tests for ArrayBuffer.prototype.slice. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa
5482fe3cbe Bug 1165053 - Part 3: Add SpeciesConstructor tests for TypedArray.prototype.{filter,map,slice,subarray}. r=evilpie 2015-12-20 19:14:50 +09:00
Tooru Fujisawa
3078067bcb Bug 1165053 - Part 2: Implement %TypedArray%[@@species] getter and ArrayBuffer[@@species] getter. r=evilpie 2015-12-20 19:14:44 +09:00
Tooru Fujisawa
88b0db3d43 Bug 1165053 - Part 1: Handle when ArrayBuffer species constructor returns wrapped ArrayBuffer. r=jwalden 2016-01-14 15:11:26 +09:00
Tooru Fujisawa
cb9286f0aa Bug 1165053 - Part 0.3: Inline ArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:37 +09:00
Tooru Fujisawa
863f2c7e9c Bug 1165053 - Part 0.2: Inline PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Tooru Fujisawa
2e027fb88d Bug 1165053 - Part 0.1: Add PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Jan de Mooij
097454bf25 Bug 1256298 - Make DoCallFallback consume a bit less stack space. r=Waldo
--HG--
extra : rebase_source : f50088c9df0ccac1cf397dbf5136fac8f74e756d
2016-03-26 19:52:30 +01:00
Jan de Mooij
a5da57cddc Bug 1258105 - Port object length stubs to CacheIR. r=efaust 2016-03-26 13:22:12 +01:00
Tooru Fujisawa
088a697b40 Bug 1258327 - Part 7: Move ToOperand from CodeGeneratorShared to CodeGeneratorX86Shared. r=nbp 2016-03-26 09:40:23 +09:00
Tooru Fujisawa
0637c368c5 Bug 1258327 - Part 6: Remove ToOperand call from mips-shared and mips64 CodeGenerator. r=hev 2016-03-26 09:40:23 +09:00
Tooru Fujisawa
f73a73f6bf Bug 1258327 - Part 5: Remove dummy ToOperand definition from arm64 CodeGenerator. r=jandem 2016-03-26 09:40:23 +09:00
Tooru Fujisawa
6bc0e03a9f Bug 1258327 - Part 4: Remove ToOperand call from arm CodeGenerator. r=jandem 2016-03-26 09:40:23 +09:00
Tooru Fujisawa
0865d8e0cd Bug 1258327 - Part 3: Remove Operand variant from branch32 except x86-shared. r=nbp 2016-03-26 09:40:22 +09:00
Tooru Fujisawa
9175c8771e Bug 1258327 - Part 2: Remove Operand variant from bailoutCmp32. r=nbp 2016-03-26 09:40:22 +09:00
Tooru Fujisawa
f4cf54780c Bug 1258327 - Part 1: Move ToAddress from CodeGeneratorMIPSShared to CodeGeneratorShared. r=hev 2016-03-26 09:40:22 +09:00
Nathan Froyd
4293df4c63 Bug 1259772 - don't pass -fno-reorder-functions to clang on Android; r=glandium 2016-03-25 18:28:32 -04:00
Steve Fink
acb7e66cb5 Bug 944164 - Update jorendb to current function names, and much else:
Change how I/O redirection works
Add brief output format
Implement p/flags
Many other changes
r=NPOTB so DONTBUILD, and I am the only user

MozReview-Commit-ID: 2sAxYcYHs72

--HG--
extra : rebase_source : eb73c3d59c2622aa168d0cb05abcb0492fa08ee5
2016-03-25 10:52:43 -07:00
Mike Shal
22bd1820b5 Bug 1252931 - Remove INSTALL/PP_TARGETS from js/src/*; r=gps
MozReview-Commit-ID: Lb0V5x1aP7z
2016-03-18 19:32:45 -04:00
Jon Coppeard
86a9981bc9 Bug 1258436 - Remove GC suppression in JSFunction::createScriptForLazilyInterpretedFunction. r=sfink 2016-03-23 02:30:00 -04:00
Nick Fitzgerald
9b4df5f594 Bug 1259540 - Fix missing header include that breaks FILES_PER_UNIFIED_FILE=1. r=till 2016-03-24 12:10:00 -04:00
Wes Kocher
ea76ed99d7 Backed out changeset 95494e68c722 (bug 1177488) for crashes in test_bug732665.xul CLOSED TREE
MozReview-Commit-ID: IFUHUBUCnCD
2016-03-25 12:11:48 -07:00
Wes Kocher
3ce5bf8db5 Backed out changeset 8e8e5cdc1ff4 (bug 1259007) for browser_ext_browserAction_pageAction_icon.js failures
MozReview-Commit-ID: ZFPSFB0jmw
2016-03-25 10:46:22 -07:00
4esn0k
a4142bfd1f Bug 1259007 - Update for Merge to use only one buffer; r=mrrrgn
--HG--
extra : rebase_source : 7d1c6716513d401bd04aa5a879cb6cdba6f68e7f
2016-03-24 17:39:13 -07:00
Nathan Froyd
418aa2af4f Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jan de Mooij
f0acf4dfcc Bug 1247312 - Don't generate invalid LDRD instructions on ARM. r=nbp 2016-03-25 12:25:52 +01:00
Shu-yu Guo
1277f4579f Bug 1252464 - Remove FrameRange cray cray in favor of using GCVectors. (r=jimb) 2016-03-24 15:42:39 -07:00
Francois Marier
63c2afbc28 Bug 1259288 - Safe Browsing should be fully disabled in our test suites. r=gcp
MozReview-Commit-ID: 2og99Gl9w9n

--HG--
extra : rebase_source : 33961d97454e71e5b7fc3ad5f9eb145099c0fc6e
2016-03-23 17:59:55 -07:00
Gregory Szorc
7ca3e9dc57 Bug 1186060 - Build with Visual Studio 2015 Update 1; r=ted, ehsan
This commit switches Windows builds from Visual Studio 2013
to Visual Studio 2015 Update 1.

Previously, Visual Studio was installed on the builders as part
of the base system image. Starting with this commit, we obtain
Visual Studio from a pre-generated, self-contained archive
containing the executables, Windows SDK, and other support
files. This means that new Windows toolchains can be installed
without having to modify configuration of machines in automation!

The mozconfigs for Visual Studio 2015 are a bit different from
existing mozconfigs.

Because it appears to be completely redundant and not necessary,
the LIBPATH variable has been dropped.

The order of paths in PATH, LIB, and INCLUDE has changed. The new
order more accurately reflects what would be defined by
vcvarsall.bat.

As part of switching to Visual Studio 2015, the Universal CRT is
now required. So, the 2015 mozconfigs export WIN_UCRT_REDIST_DIR
to define the location to those files.

The switch to Visual Studio 2015 also involves the switch from
the Windows 8.1 SDK to the Windows 10 SDK. However, we still
target an old version of Windows, so this hopefully shouldn't
have any significant fallout.

It's worth noting that switching to Visual Studio 2015 makes
builds - especially PGO builds - significantly faster. Our
PGO build times in automation are ~1 hour faster. Our regular
builds appear to be a few minutes faster.

MozReview-Commit-ID: Pa5GW8V87Q

--HG--
extra : rebase_source : bff4fad17f781d8d21bdb941bdd500955d1e9f08
extra : amend_source : faa3038c290fdf5cdd3e24a45ba2a37490f68c17
extra : source : 56b27306d3257445f70374aa78fc5bd42ef300ce
2016-03-24 09:12:19 -07:00
Jan de Mooij
4dd42983c5 Bug 1233921 - Fix profiler crash when we're doing a debugger bailout. r=shu
--HG--
extra : rebase_source : 481f79748327a7b32261725738469167220344cd
2016-03-24 16:50:28 +01:00
Steve Fink
7d98cffc64 Bug 1257722 - Prevent stdout/stderr from getting closed, r=jorendorff
--HG--
extra : rebase_source : 24c5cd83bb3f42d15d27433445694e74d2cc1f8a
2016-03-23 09:23:13 -07:00
Pip
7b1dd2c692 Bug 1258632 - Distinguish signed/unsigned MDiv/MMod in GVN. r=bbouvier
Modify the congruentTo method of MDiv and MMod opcodes to take into
account signedness, which is necessary for correct code generation.

--HG--
extra : rebase_source : 73037989ae280384c9bb2fd21f5e58243f06da4f
2016-03-22 09:41:00 +01:00
Nick Fitzgerald
ba85a895cf Bug 1258535 - Part 0: Add more and stronger asserts that SavedStacks-related JSAPI methods are called correctly; r=jandem
--HG--
extra : rebase_source : 2fc39fbc35478283acba54a9ee44855df7a51b04
2016-03-23 13:26:00 +01:00
Tom Schuster
96226d8425 Bug 875433 - Implement Array.prototype.values. r=jorendorff.
--HG--
extra : commitid : COQ24oLNaPl
extra : rebase_source : 800c882bfae5481e3580a2e4de00bac1cda1a57f
2016-03-21 10:44:35 -05:00
Jason Orendorff
d738e7170c Bug 1258163 - Implement Array.prototype[@@unscopables]. r=shu, r=bholley.
--HG--
extra : commitid : 56kAI0JkVDz
extra : rebase_source : a328ca4df3406bff9ff0d7c8fedb1a04c77ae4e6
2016-03-23 12:17:58 -05:00
Jason Orendorff
9ce1b63b98 Bug 1054759 - Part 2: ES6 Symbol.unscopables. r=shu.
--HG--
extra : commitid : Jo4Umn8SDxR
extra : rebase_source : 61729004d0f31b2882106204addc5901c398bc11
2015-12-09 10:42:40 -05:00
Jason Orendorff
9c43ff9d2e Bug 1054759 - Part 1: Reinstate JS_FOR_EACH_WELL_KNOWN_SYMBOL. r=shu.
--HG--
extra : commitid : KeRbmyYsyyb
extra : rebase_source : 62df15c861dbcf2cfebb422fcfdc28edfe9c3995
2016-03-15 09:52:46 -05:00
Jan de Mooij
c8691fd70c Bug 1258349 - Remove a bogus assert. r=efaust 2016-03-24 15:25:41 +01:00
Jan de Mooij
8ec2ffd60c Bug 1258301 - Use TraceNullableEdge for CacheIR pointers. r=jonco 2016-03-24 15:25:25 +01:00
Jan de Mooij
ea2850d95e Bug 1255949 - Check fallible flag in MBoundsCheck::congruentTo. r=h4writer 2016-03-24 15:09:49 +01:00
Jan de Mooij
aefea38a98 Bug 1254622 - Relookup group->newScript in CreateThisForFunctionWithGroup. r=bhackett 2016-03-24 15:09:41 +01:00
Benjamin Bouvier
ffdfd4717f Bug 1215834: Followup to add sys to the list of imports; r=jonco
MozReview-Commit-ID: KCUKi4xPo68

--HG--
extra : rebase_source : ce3291595a89d640c3c4bd01194728814faeaed3
extra : histedit_source : 1d3e966a13511cf7b1776af383cc07cb92181234
2016-03-24 11:13:39 +01:00
Martin Thomson
2238c2d4d1 Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
MozReview-Commit-ID: K97lKyhlsW8
2016-03-24 16:12:56 +11:00
Heiher
83da00f716 Bug 1258910 - OdinMonkey: MIPS64: Implement AsmSelectI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 21 +++++++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  1 +
 2 files changed, 22 insertions(+)
2016-03-24 11:51:30 +08:00
Heiher
2de1fdd4f0 Bug 1258910 - OdinMonkey: MIPS: Implement AsmSelect. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 41 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 js/src/jit/mips-shared/Lowering-mips-shared.cpp    | 21 +++++++++++
 js/src/jit/mips-shared/Lowering-mips-shared.h      |  1 +
 4 files changed, 64 insertions(+)
2016-03-24 11:51:25 +08:00
Heiher
cb6c8447ab Bug 1258910 - IonMonkey: MIPS: Implement float-point conditional move instructions. r=huangwenjun06
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp | 30 ++++++++++++++++++++++++
 js/src/jit/mips-shared/Assembler-mips-shared.h   | 12 ++++++++++
 2 files changed, 42 insertions(+)
2016-03-24 11:51:20 +08:00
Gregory Szorc
449929f5a5 Bug 1124033 - Replace blanket disabling of VS2015 warnings with C5026 and C5027; r=ehsan
Wv:18 was added in bug 1119072 as a quick way to get the tree building
with VS2015. Now that we're closer to rolling out VS2015 support, we
want to expose its new warnings.

This patch replaces the blanket disabling of new warnings in VS2015 with
just disabling C5026 and C5027, which relate to symbols being implicitly
defined as deleted.

MozReview-Commit-ID: 8uniydfNJns

--HG--
extra : rebase_source : 5ca239cd20216e89115d1faeffc036b6eecb85ca
2016-03-23 17:12:56 -07:00
Gregory Szorc
6a9168778b Bug 1124033 - Disable C4311 and C4312 in directories exhibiting warnings; r=ehsan
There are a long tail of C4311 and C4312 warnings in VS2015. Rather than
wait until all of them are fixed to land VS2015, we're taking the easy
way out and disabling these warnings in every directory currently
exhibiting a warning. This is evil. But it is a lesser evil than
globally disabling C4311 and C4312. At least with this approach new
C4311 and C4312 warnings in directories that aren't suppressing them
shouldn't be introduced.

MozReview-Commit-ID: 2cwWrjMD6B9

--HG--
extra : rebase_source : 3e7b8ea042765fdf138f5ca93a0f9dab75a95fcd
2016-03-23 17:19:20 -07:00
Mike Hommey
90692a1ac0 Bug 1257823 - Move add_old_configure_assignment() to the global scope. r=nalexander
Similar to set_config, set_define and imply_option, but this is a
sandboxed function that stays sandboxed.
2016-03-24 09:04:28 +09:00
Mike Hommey
6a8ed3e4a8 Bug 1257823 - Move imply_option() to the global scope. r=nalexander
Like set_config and set_define, we move imply_option to the global
scope.
2016-03-24 09:04:28 +09:00