Commit Graph

54170 Commits

Author SHA1 Message Date
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
Phil Ringnalda
4204667ede Back out 735da799e3bb (bug 1211723) for assertion failures and crashes in SharedImmutableStringsCache
CLOSED TREE
2016-03-29 21:57:51 -07:00
Eric Faust
ef48766d83 Bug 1260577 - Fix |obj[expr] += e2| erroneously calling expr.toString() twice. (r=till) 2016-03-29 16:46:20 -07:00
Nick Fitzgerald
35e15a7ddb Bug 1211723 - Share JS source text between JSRuntimes; r=jimb
This commit adds `SharedImmutableStringsCache` which allows for de-duplication
and sharing of immutable strings between threads and JSRuntimes.

Each JSRuntime gets a SharedImmutableStringsCache member, but the accessor
always returns the parent runtime's cache. The caches in child JSRuntime's are
not wasting space, however, as initialization and allocation of the table
happens lazily within SharedImmutableStringsCache.

Furthermore, this commit removes `js::ScriptSource::Parent` and the
`CompressedSourceSet`. They are unnecessary because source text is always shared
via the parent runtime's `SharedImmutableStringsCache` now.
2016-03-29 15:15:47 -07:00
Mike Hommey
96b6664c24 Bug 1257516 - Rename error() to die() and make it take arguments like the logging module. r=ted 2016-03-30 06:59:44 +09:00
Nicholas Nethercote
e114b226dc Bug 1259194 (part 4) - Separate js::ObjectOps from js::Class. r=efaust,mrbkap,bz.
js::ObjectOps is often all null. When it's not all null, it's often duplicated
many times among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 208 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : 5be8fe45f652392571b8a6d7b63777cbafba6ae4
2016-03-24 07:00:29 +11:00
Nathan Froyd
cccdd9fbca 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
Jeff Walden
3ef9bb2477 Bug 1259877 - Rename Invoke[GS]etter to Call[GS]etter, more in line with the spec's calling nomenclature. r=jorendorff
--HG--
extra : rebase_source : 4a810f7b6b6fc6a9849b827b8a593251e02cc915
2016-03-10 21:46:10 -08:00
Jeff Walden
7e3a50ba41 Bug 1259877 - Remove the unused JSObject::callMethod. r=jorendorff
--HG--
extra : rebase_source : 23a67cdd21e564d7f6575ec85a19b7c093cdddc7
2016-03-18 17:56:15 -07:00
Jeff Walden
a1b0adad7b Bug 1259877 - Remove jsarray.cpp's now-unused SortComparatorFunction. r=mrrrgn
--HG--
extra : rebase_source : 39f56e9232cc09c2a64749731a607c270b741172
2016-03-21 15:51:01 -07:00
Jeff Walden
eaedb4a7ed Bug 1259877 - Intl.cpp:GetInternals should directly return its result, not go via outparam. r=till
--HG--
extra : rebase_source : 5e3d0ff09fc3604f32641428f672c54f45d43937
2016-03-18 17:41:01 -07:00
Nicolas B. Pierron
79a7becbc8 Bug 1259476 - Branch Pruning: Check if the Phi nodes have removed uses after popping them out of the worklist. r=jandem 2016-03-29 13:43:22 +00:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -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
Mike Hommey
e5cde501da Bug 1257823 - Move set_define() to the global scope. r=nalexander
For the same reasons as set_config is being moved to the global scope,
we're moving set_define to the global scope here. An additional change
is that set_define is now part of the sandbox itself instead of being
defined within the sandbox, which makes it share the implementation
details with set_config.
2016-03-24 09:04:28 +09:00
Mike Hommey
7cd6c430c1 Bug 1257823 - Move set_config() to the global scope. r=nalexander
The way set_config is set currently makes it difficult to introspect
moz.configure files to know what configuration items are being set,
because they're hidden in the control flow of functions.

This makes some of the moz.configure more convoluted, but this is why
there are templates, and we can improve the recurring cases afterwards.
2016-03-24 09:04:28 +09:00
Jeff Walden
b02d8dd82e Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE 2016-03-23 16:29:46 -07:00
Eric Faust
375ac321d2 Bug 1254122 - Don't bother saving scratch registers across TypeUpdate IC calls. (r=jandem) 2016-03-23 14:43:36 -07:00
Jeff Walden
3c177ea848 Bug 1257779 - Don't make scripted proxies' [[OwnPropertyKeys]] have non-linear behavior in certain cases. r=jonco, r=evilpie
--HG--
extra : rebase_source : be94830d99b229d01a7e4b9f82a140250e5c9d36
2016-03-18 16:45:07 -07:00
Jeff Walden
1dd8dbc3f7 Bug 1246061. r=jandem, r=bz, r=luke, r=froydnj
--HG--
extra : rebase_source : 5b314d4c4c6e0b553290884be7338f8e79c22f71
2016-03-09 00:37:20 -08:00
Jeff Walden
8473d1c60c Bug 1257758 - Adjust step numbering in scripted proxy code to be ES6-correct. r=evilpie
--HG--
extra : rebase_source : f72996471ff4d64a09036df2be619dc6409f249c
2016-03-18 16:44:23 -07:00
Jeff Walden
4503efe0f9 Bug 1257077 - Implement js::Fixed{Invoke,Construct}Args for args of statically-known count, avoiding js::{Invoke,Construct}Args's fallibility. Also implement js::Any{Invoke,Construct}Args as base classes for args, whether or not their count is statically known. r=efaust
--HG--
extra : rebase_source : af364905498c6cf146c2bf6f1640363b8b4aa048
2016-03-18 16:44:23 -07:00
Wes Kocher
34bdd69103 Backed out changeset af93bc155267 (bug 1257929) for failing the newly added assertions
MozReview-Commit-ID: AtMlqXDQaAA
2016-03-23 12:26:40 -07:00
Benjamin Bouvier
1d15c0b202 Bug 1253344: Defer br/br_if/br_table then-block definition to avoid indirections; r=sunfish
MozReview-Commit-ID: FeXMs4M7jHJ

--HG--
extra : rebase_source : c3f10f3dfca091733bb1edefd27e107d52108632
2016-03-23 19:57:58 +01:00
Benjamin Bouvier
2aa9a296cc Bug 1253344: Remove unused pushPhi/popPhi in WasmIonCompile; r=luke
MozReview-Commit-ID: 4Il1Xisw0Ns

--HG--
extra : rebase_source : a91aad87c321b46df8934ffe79e1ea1772e30188
2016-03-17 16:29:59 +01:00
Nicolas B. Pierron
28a96e4120 Bug 1258748 - adjustPhiInputs: Add MBox in the predecessor block instead of the definition block. r=jolesen 2016-03-23 19:03:40 +00:00
Nicolas B. Pierron
8064d05be4 Bug 1247915 - IonMonkey adjustPhiInputs: Handle Phi operands artifact left by removing branches early. r=h4writer 2016-03-23 19:03:39 +00:00
Nicolas B. Pierron
bd7eb8e93a Bug 1257929 - Instruction Reordering: Do not move instructions above the safeInsertTop location. r=bhackett 2016-03-23 18:03:11 +00:00
Nicolas B. Pierron
98bf3f26e5 Bug 1257929 - Add assertions to ensure the safety of entry resume point encoding. r=h4writer 2016-03-23 18:03:11 +00:00
Nicolas B. Pierron
5d2910130b Bug 1247909 - Move MFunctionEnvironment after the entry resume points operands. r=h4writer 2016-03-23 18:03:10 +00:00
Benjamin Bouvier
f1ca01f79f Bug 1258999: Check for OOM after flushing pools when merging MacroAssemblers; r=efaust
MozReview-Commit-ID: 19IdBYtzqHZ

--HG--
extra : rebase_source : 8f6f7c36cfbb9f2ea687f537b846ec83a3bd2c19
2016-03-23 17:49:24 +01:00
Nicolas B. Pierron
33e5f1d53c Bug 1254203 - SnapshotIterator::maybeRead use AutoEnterOOMUnsafeRegion instead of MOZ_CRASH. r=jandem 2016-03-23 16:34:34 +00:00
Boris Zbarsky
9d00c4004b Bug 1255817 part 5. Remove the now-unused xpc::SystemErrorReporter. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky
fb54936d49 Bug 1255817 part 4. Make XPCJSRuntime use MozCrashErrorReporter by default, now that there should be no stray JS_ReportPendingException calls. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky
c4652e0bab Bug 1255817 part 3. Remove the now-unreachable JS_ReportPendingException call in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky
e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky
d31cf3a233 Bug 1256342. Fix typed array iteration to work correctly over Xrays. r=till 2016-03-22 13:49:36 -04:00
Jon Coppeard
1f0e68e646 Bug 1258453 - Compact arenas containing strings r=terrence 2016-03-23 13:27:25 +00:00
Benjamin Bouvier
e414abf3c6 Bug 1258388: Fix number of computed variants in jit_tests.py; r=jonco
MozReview-Commit-ID: 62TYOYpbXQ9

--HG--
extra : rebase_source : 29fd9a6c771ba2c3d977d24d30f36744bee160ae
2016-03-21 15:54:29 +01:00
Hannes Verschore
2bae02511f Bug 1257194: Only run test if oomAfterAllocations is present r=bustage 2016-03-23 06:37:24 -04:00
Jon Coppeard
3342e15fa9 Bug 1258314 - Use TraceNullableEdge where appropriate throughout the engine r=terrence 2016-03-23 09:41:17 +00:00
Jon Coppeard
a96e801d60 Bug 1258314 - Add internal TraceNullableEdge API r=terrence 2016-03-23 09:41:17 +00:00
Jon Coppeard
5a6dacabd9 Bug 1258407 - Limit GC heap growth parameters r=sfink 2016-03-23 09:41:17 +00:00
Hannes Verschore
66a8f5a00d Bug 1257194: Tracelogger - Check for oom in drainTracelogger, r=bbouvier 2016-03-23 05:35:08 -04:00
Hannes Verschore
7bd0a31c18 Bug 1255316 - IonMonkey: Also take into account the offsetAdjustment when folding MLoadUnboxedObjectOrNull, r=jandem 2016-03-23 05:25:21 -04:00
Hannes Verschore
2eef49456a Bug 1257594 - Make it possible to select which test to debug in jit-tests, r=sfink 2016-03-23 05:25:19 -04:00
Bob Owen
db4259c176 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-23 08:10:43 +00:00
Tooru Fujisawa
27f480e18c Bug 1219757 - Part 12: Remove JS_NewRegExpObjectNoStatics and JS_NewUCRegExpObjectNoStatics. r=till
--HG--
extra : amend_source : 996f82ff6b70c700de0c28fddb9e7e84d0ced91b
2015-11-25 22:38:05 +09:00
Tooru Fujisawa
6312fb10ee Bug 1219757 - Part 11: Remove multiline parameter from JS_SetRegExpInput. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
0861e18d03 Bug 1219757 - Part 10: Remove HandleObject parameter from JS_NewRegExpObject and JS_NewUCRegExpObject. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
8c65079353 Bug 1219757 - Part 9: Remove OBJECT_FLAG_REGEXP_FLAGS_SET flag. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
988c8f40cc Bug 1219757 - Part 8: Remove RegExpStatics::getFlags and RegExpStatics::flags. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
99e1dc1ceb Bug 1219757 - Part 7: Remove RegExpStatics::multiline and RegExpStatics::setMultiline. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
4932f4c1bc Bug 1219757 - Part 6: Remove multiline parameter from RegExpStatics::reset. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
3af98dddbe Bug 1219757 - Part 5: Remove RegExpObject::createNoStatics. r=till 2015-11-25 22:38:05 +09:00
Tooru Fujisawa
e8d18d12d9 Bug 1219757 - Part 4: Remove RegExpStatics* parameter from RegExpObject::create. r=till 2015-11-25 22:38:04 +09:00
Tooru Fujisawa
66ce27e9b6 Bug 1219757 - Part 3: Rename Self-hosting regexp_construct_no_statics to regexp_construct. r=till 2015-11-25 22:38:04 +09:00
Tooru Fujisawa
1fe1905f28 Bug 1219757 - Part 2: Remove RegExpStaticsUse parameter from RegExpInitialize. r=till 2015-11-25 22:38:04 +09:00
Tooru Fujisawa
d9e3bca691 Bug 1219757 - Part 1: Remove RegExp.multiline accessor. r=till 2015-11-25 22:38:04 +09:00
Tooru Fujisawa
8b3aa73ad5 Bug 1219757 - Part 0: Remove RegExp.multiline warning. r=till 2016-02-21 20:40:37 +09:00
Nick Fitzgerald
78a56fafbd Bug 1258847 - Set PTHREAD_MUTEX_ERRORCHECK for js::Mutex in debug builds. r=sfink
--HG--
extra : rebase_source : 0aa29d45838d9452fbc2b1c5249878ab62a580e3
2016-03-22 15:51:00 -04:00
Nick Fitzgerald
c24a33f5b9 Bug 1258818 - Fix bad search/replace from b411b94f8d91 (from bug 956899). r=terrence
--HG--
extra : rebase_source : 8114621d6bf163626fc14530ef455f5c65103a0c
2016-03-22 12:58:00 -04:00
Heiher
66f38e521d Bug 1258907 - IonMonkey: MIPS32: Fix MacroAssembler::branchValueIsNurseryObject. r=arai
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-23 09:35:24 +08:00
Mike Hommey
aec687f13d Bug 1258618 - Use True instead of '1' for add_old_configure_assignment. r=nalexander 2016-03-23 09:24:53 +09:00
Mike Hommey
9b54a468a9 Bug 1258618 - Use True instead of '1' for set_define. r=nalexander 2016-03-23 09:24:51 +09:00
Mike Hommey
521861c0e2 Bug 1258618 - Use True instead of '1' for set_config. r=nalexander 2016-03-23 09:24:50 +09:00
Wes Kocher
1922ce7aa8 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: KCev5FqbsuD
2016-03-22 16:57:35 -07:00
Boris Zbarsky
c01ae6afbe Back out bug 1256342 too, for now, still CLOSED TREE. 2016-03-22 19:55:55 -04:00
Wes Kocher
c47b5bf99f Merge inbound to central, a=merge
MozReview-Commit-ID: 8nLQgyb8Wfd
2016-03-22 16:45:43 -07:00
Till Schneidereit
7630fb42a2 Bug 911216 - Part 12: Windows build bustage fix on a CLOSED TREE. r=efaust
--HG--
extra : rebase_source : 6ca1428bdf7013c060ce13a6a389903937c4c58e
2016-03-23 00:43:41 +01:00
Boris Zbarsky
a107417359 Back out bug 1256376 for now until I can figure out what's going on with it. I am sorry for the CLOSED TREE. 2016-03-22 19:27:47 -04:00
Shu-yu Guo
b004031f7c Bug 1258000 - Make jit_test.py print a nice error message if test list is empty after filtering. (r=sfink) 2016-03-22 16:19:52 -07:00
Shu-yu Guo
0e6d958a14 Bug 1254578 - Fix OOM case when rematerializing frames. (r=jandem) 2016-03-22 16:19:52 -07:00
Shu-yu Guo
993f8db69f Bug 1253246 - Handle DebugScopeProxies around unqualified varobjs in setname. (r=jorendorff) 2016-03-22 16:19:52 -07:00
Sebastian Hengst
8893133146 Backed out changeset 0516f9a5ad9d (bug 1256342) for Reftest, Jit and Spidermonkey failures. r=bustage on a CLOSED TREE 2016-03-22 21:11:35 +01:00
Sebastian Hengst
700bac6991 Backed out changeset c2e6b3fb0892 (bug 1256376) 2016-03-22 21:11:26 +01:00
Sebastian Hengst
4e4e0bcb49 Backed out changeset 8bb1cce4804d (bug 1257919) 2016-03-22 21:11:05 +01:00
Sebastian Hengst
055a2f1834 Backed out changeset 6403c45366e0 (bug 1257919) 2016-03-22 21:10:55 +01:00
Sebastian Hengst
60e4be8fc0 Backed out changeset 1b5db6edd791 (bug 1257919) 2016-03-22 21:10:45 +01:00
Sebastian Hengst
0e9bf1445a Backed out changeset 6e95ee3cd4c6 (bug 1257919) 2016-03-22 21:10:21 +01:00
Sebastian Hengst
336c2cc4ae Backed out changeset 08f1c7239cdf (bug 1257919) 2016-03-22 21:10:01 +01:00
Boris Zbarsky
5df498fbd2 Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
38af226a36 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
8ba7a0b580 Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
8ef4cc7c3d Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
c978d9ded6 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
9f5d00ed32 Bug 1256376. Fix forEach on typed arrays to work over Xrays from web extension sandboxes. r=till 2016-03-22 13:49:58 -04:00
Boris Zbarsky
b1ae62c00b Bug 1256342. Fix typed array iteration to work correctly over Xrays. r=till,bholley 2016-03-22 13:49:36 -04:00
Jon Coppeard
67dfdde2d4 Bug 1257903 - Fix spurious GC hazard on a CLOSED TREE r=me 2016-03-22 17:44:03 +00:00
Benjamin Bouvier
c908b0daa2 Bug 1258346: Check for success in calls to append() in WasmBinaryToText: r=jorendorff
MozReview-Commit-ID: 8SRN9CEf275

--HG--
extra : rebase_source : 6fb02f83e4a617cc889d1049b20fd8f9d0484f56
2016-03-21 15:09:08 +01:00
Jon Coppeard
1583dc9934 Bug 1257903 - Compact arenas containing shapes r=terrence 2016-03-22 13:23:49 +00:00
Geoff Brown
3c73a0f0ec Bug 1257948 - More Android test manifest cleanup; r=jmaher 2016-03-22 07:22:43 -06:00
Nicolas B. Pierron
a4d6e6d62a Bug 1257089 - Weaken the assertions to account for unreachable annotation added by Range Analysis. r=sunfish 2016-03-22 12:39:07 +00:00
Carsten "Tomcat" Book
53f935b036 Merge mozilla-central to mozilla-inbound 2016-03-22 12:31:09 +01:00
Carsten "Tomcat" Book
5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Nick Fitzgerald
771a7148d1 Bug 1257019 - Add move construction to js::Mutex<T>. r=terrence 2016-03-21 16:39:00 -04:00
Mike Hommey
b93503b5e7 Bug 1257468 - Move JS_STANDALONE to moz.configure. r=nalexander 2016-03-22 11:09:43 +09:00
Mike Hommey
cec6eb6fbb Bug 1257468 - Replace tests on BUILDING_JS with tests on MOZ_BUILD_APP==js. r=nalexander
Now that MOZ_BUILD_APP is set to js when building js/src, we can
distinguish those builds with MOZ_BUILD_APP==js instead of BUILDING_JS.
Consequently, remove BUILDING_JS.
2016-03-22 11:09:42 +09:00
Mike Hommey
31d2c022bd Followup for bug 1257445 - Remove the AutoStopwatch::getCPU implementation using sched_getcpu. r=jimb
It was always preprocessed out because the XP_LINUX condition it was using
originally was never satisfied, and when turning that condition to __GLIBC__,
which is more realistic, enabling that code path, web-platform-tests crash on
Linux64 debug.
2016-03-22 10:38:41 +09:00
Jim Blandy
0a2e45670b Bug 1258555: Fix return type of js::GCPointerPolicy::needsSweep. r=terrence
--HG--
extra : rebase_source : 987a12c8e8d32eb13aabd057e7ffa8a77ca84be0
2016-03-21 15:23:08 -07:00
Jim Blandy
7fd97d95b1 Bug 1258578: Improve documentation for js::RelocatablePtr. DONTBUILD r=terrence
--HG--
extra : rebase_source : 9f053ef5360f9723f69f613a88246f35452632b0
extra : amend_source : dc97b52f1f39457c2c68f06f51020bfd7b961f87
2016-03-21 16:49:33 -07:00
Mike Hommey
d8e5f51dde Bug 1257445 - Move some platform-specific defines to moz.configure. r=gps 2016-03-22 09:25:48 +09:00
Mike Hommey
a08d9ac38e Bug 1257445 - #ifdef on __GLIBC__ for sched_getcpu, which is a glibc feature. r=jimb
XP_LINUX means the kernel is Linux, which can mean glibc, bionic
(Android), etc. Only the former supports sched_getcpu.

"Fortunately", XP_LINUX was never set for js/src, so this wasn't a
problem... until we do set it, which we do in this bug.
2016-03-22 09:25:43 +09:00
Mike Hommey
9a0f2f15ea Backout changeset 136f541c4406 (bug 1257445) for Android bustage on a CLOSED TREE 2016-03-22 08:40:37 +09:00
Mike Hommey
0ea268dc18 Backout changesets f5090987b7c6, 48a94777837d and a63437a74f7a (bug 1257468) for SM bustage on a CLOSED TREE 2016-03-22 08:27:28 +09:00
Mike Hommey
a74a4e5dde Bug 1257468 - Move JS_STANDALONE to moz.configure. r=nalexander 2016-03-22 08:05:00 +09:00
Mike Hommey
37d7b30422 Bug 1257468 - Replace tests on BUILDING_JS with tests on MOZ_BUILD_APP==js. r=nalexander
Now that MOZ_BUILD_APP is set to js when building js/src, we can
distinguish those builds with MOZ_BUILD_APP==js instead of BUILDING_JS.
Consequently, remove BUILDING_JS.
2016-03-22 08:05:00 +09:00
Mike Hommey
9116f85e0e Bug 1257445 - Move some platform-specific defines to moz.configure. r=gps 2016-03-22 08:05:00 +09:00
Carsten "Tomcat" Book
58f863b9a0 Merge mozilla-central to fx-team 2016-03-22 12:32:56 +01:00
Victor Porof
8dd039677b Bug 1258302 - Create a categories module instead of placing everything in global.js, r=jsantell 2016-03-22 10:17:20 +01:00
Benjamin Bouvier
7674573171 Bug 1255691: Implement Select; r=sunfish
MozReview-Commit-ID: 4Pb2z4fTyYG

--HG--
extra : rebase_source : 3be6f3ee4b1602bf35c987146f5c35c4e0f69c2d
2016-03-14 11:27:42 +01:00
Carsten "Tomcat" Book
417d5d9533 Backed out changeset 0fedfd441a06 (bug 1256992) for gtest failures 2016-03-22 09:54:55 +01:00
Nick Alexander
e90bd4aabb Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
MozReview-Commit-ID: 63yJGdgPbhe

--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Terrence Cole
5398dfc03d Bug 1251922 - Do not create metadata objects for temporary parse globals; r=fitzgen
--HG--
extra : rebase_source : b2d1357aed9e0ad0ef0af61b5b38ec634b4b3278
2016-03-01 15:13:08 -08:00
Shu-yu Guo
b4a736d2a2 Backed out changesets b61921a307e9 and e9e74f6bd12a (bug 1054759) for breaking web compat by implementing Symbol.unscopables without Array.prototype[@@unscopables]. 2016-03-19 19:18:12 -07:00
Morgan Phillips
bfae7eddf8 Bug 1257053 - Only make use of error stashing (via PossibleError) when it is necessary; r=jorendorff
By un-necessarily stashing errors we make it difficult to reason about what's happening in the code,
introducing situations where it's possible for errors to "pile up" and attempt to clobber one another.
2016-03-18 14:47:45 -07:00
Ryan VanderMeulen
71d53d758e Bug 1252707. r=terrence 2016-03-19 15:16:30 -04:00
Till Schneidereit
069b390f89 Bug 911216 - Part 11: Implement all Promise inspection functionality as Debugger getters. r=shu,fitzgen
--HG--
rename : dom/promise/tests/test_dependentPromises.html => js/src/tests/ecma_6/Promise/dependent-promises.js
extra : rebase_source : af4f22cb26a42d3e6262e7fe582ea301c9055a70
2016-02-10 23:10:08 +01:00
Till Schneidereit
cbced0986f Bug 911216 - Part 10: Support debugger hooks for creation and settling of promises. r=shu
--HG--
extra : rebase_source : d78b721b7252323dfa965c453d42b14796b677ed
2016-02-10 23:09:14 +01:00
Till Schneidereit
2a402a8b6e Bug 911216 - Part 9: Properly handle rejecting wrapped promises in the face of xray wrappers. r=efaust,f=bz
--HG--
extra : rebase_source : 95c7089a4d489d769f99a0cfd3d9cce742b730f3
2016-03-22 16:18:47 +01:00
Till Schneidereit
445098e888 Bug 911216 - Part 8: Properly wrap and unwrap |then| callbacks for xrayed Promises. r=efaust,f=bz
--HG--
extra : rebase_source : a296c19e9d9450ce093fdae272d805a9ed508b0c
2016-03-22 16:18:44 +01:00
Jan de Mooij
bafee28b4b Bug 1257408 - Fix VS2015 C4312 warnings in js/src. r=nbp 2016-03-19 11:04:33 +01:00
Jan de Mooij
40674d62ed Bug 1240502 - Fix debug-only dense elements check in SpreadCallOperation to not fail after a TI OOM. r=arai 2016-03-19 11:02:21 +01:00
Tom Schuster
83a06ac06d Bug 1256688 - Continue using getPropertyDescriptor for has in Sandbox. r=peterv 2016-03-19 01:30:03 +01:00
Tom Schuster
6961cb0fa4 Bug 1256688 - Continue using getPropertyDescriptor for has in XrayWrapper. r=peterv 2016-03-19 01:30:03 +01:00
Tom Schuster
ed7a4103c8 Bug 1256688 - Change BPH::has to follow [[HasProperty]] for ordinary objects. r=jorendorff 2016-03-19 01:30:03 +01:00
Shu-yu Guo
e6b741350f Bug 1254164 - Make aliasedBodyLevelLexicalBegin a uint32. (r=Waldo) 2016-03-18 15:07:27 -07:00
Shu-yu Guo
0982c58ddb Bug 1257045 - Give Debugger wrappers of wasm code their own CCW key kinds. (r=jimb) 2016-03-18 15:07:26 -07:00
Shu-yu Guo
640a45c5b3 Bug 1238555 - Always update the LazyScript's static scope chain when emitting functions. (r=till) 2016-03-18 15:07:26 -07:00
Shu-yu Guo
23adc21e58 Bug 1254185 - Deal with missing arguments assigned to block bindings. (r=jimb) 2016-03-18 15:07:26 -07:00
Chris Manchester
d91718bd8c Bug 1256966 - Move NIGHTLY_BUILD and RELEASE_BUILD to Python configure. r=glandium
MozReview-Commit-ID: 2Z3XMO2n681
2016-03-18 11:24:11 -07:00
Tooru Fujisawa
1acf9bbc23 Bug 1248289 - Part 1: Inline _GetNextMapEntryForIterator intrinsic. r=jandem 2016-03-19 02:42:08 +09:00
Tooru Fujisawa
916265ed4f Bug 1248289 - Part 0: Change OrderedHashTable::Range::ht member from a reference to a pointer to use offsetof. r=sfink 2016-03-19 02:41:44 +09:00
Jon Coppeard
7ed132a5e3 Bug 1254376 - Add a read barrier to the global's debugger vector r=jimb 2016-03-18 10:14:30 +00:00
Jon Coppeard
e8da73b559 Bug 1257186 - Refactor the way compacting GC passes lists of arenas to background tasks to avoid possible race r=terrence 2016-03-18 10:14:30 +00:00
Jon Coppeard
01807e3860 Bug 1257496 - Add information about cycle count and GC state to our GC stats r=sfink 2016-03-18 10:14:29 +00:00
Jan de Mooij
bf89b25bca Bug 1257234 - Detect main thread's stack size at runtime, on Windows. r=ted 2016-03-18 09:38:57 +01:00
Ryan VanderMeulen
7f33dece32 Backed out changeset 962dbeaf5c5d (bug 1238555) for opt-only jit-test failures. 2016-03-18 00:01:02 -04:00
Ryan VanderMeulen
87f79e1213 Backed out changeset fbc336fb47f9 (bug 1257045) for jit-test failures. 2016-03-17 23:59:31 -04:00
Shu-yu Guo
ecec854b11 Bug 1257045 - Give Debugger wrappers of wasm code their own CCW key kinds. (r=jimb) 2016-03-17 18:53:04 -07:00
Shu-yu Guo
0f91ae27d6 Bug 1238555 - Always update the LazyScript's static scope chain when emitting functions. (r=till) 2016-03-17 18:53:04 -07:00
Shu-yu Guo
3490838493 Bug 1250192 - Do not synthesize a var binding for Annex B.3.5 if there is an arg binding of the same name. (r=jorendorff) 2016-03-17 18:53:03 -07:00
Mike Hommey
f9fef6c7cd Bug 1257434 - Remove MOZ_DEMANGLE_SYMBOLS and MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS from js/src/old-configure.in. r=ted
While not directly related to the others from this bug, I stumbled upon
this while looking why there were references to MOZ_DMD in
js/src/old-configure.in while it was never set there.

MOZ_DEMANGLE_SYMBOLS is tied to MOZ_STACKWALKING, which is not set in
js/src/old-configure.in.

MOZ_COMPONENTS_VERSION_SCRIPT_LDFLAGS is specific to building XPCOM
binary components, which there are none of under js/src.
2016-03-18 09:05:53 +09:00
Mike Hommey
03219400f6 Bug 1257434 - Move --enable-vtune and --enable-profiling to moz.configure. r=ted
old-configure and js/src/old-configure interestingly didn't handle both
the same way. But vtune support is only actually implemented in js/src,
so only the rules from js/src/old-configure matter (nothing was
enforcing the decistion from old-configure to js/src/old-configure), and
this is what is implemented here.
2016-03-18 09:05:53 +09:00
Mike Hommey
8e033edefa Bug 1257434 - Move --enable-callgrind to moz.configure. r=ted
Remove the unused DEFINES set in js/xpconnect/shell/moz.build,
subsequently making the MOZ_CALLGRIND subst unused, so don't add a
set_config for it.
2016-03-18 09:05:53 +09:00
Mike Hommey
89cb71ad55 Bug 1257434 - Move --enable-instruments to moz.configure. r=ted 2016-03-18 09:05:53 +09:00
Mike Hommey
58397bd671 Bug 1257434 - Move --enable-jprof to moz.configure. r=ted 2016-03-18 09:05:53 +09:00
Mike Hommey
31f294ed62 Bug 1257418 - Remove USE_DEPENDENT_LIBS. r=gps
Its value is always 1, and never used. Even when there were different
possible values back before bug 627277 (5 years ago), it was not used.
In fact, it hasn't been used since bug 298044 (more than 10 years ago).
2016-03-18 09:05:53 +09:00
Wes Kocher
dd288c5851 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 8OPSNnf1LiA
2016-03-17 14:46:24 -07:00
Carsten "Tomcat" Book
03c0241391 Backed out changeset 4b3b0c66d132 (bug 1257418) 2016-03-17 16:03:31 +01:00
Mike Hommey
032b04800b Bug 1257418 - Remove USE_DEPENDENT_LIBS. r=gps
Its value is always 1, and never used. Even when there were different
possible values back before bug 627277 (5 years ago), it was not used.
In fact, it hasn't been used since bug 298044 (more than 10 years ago).
2016-03-17 14:08:19 +09:00
Makoto Kato
ca18e9df71 Bug 552533 - Support thiscall Win32 ABI for js-ctypes. Original patch is dwitte. r=jorendorff
MozReview-Commit-ID: 5gatJC2xRek
2016-03-17 12:00:35 +09:00
Jason Orendorff
b82c949ced Bug 1256956 - Silence some GCC warnings. r=luke.
--HG--
extra : commitid : DSvLpEoSinI
extra : rebase_source : 2a801a7f74212d9cec100deb23de899f0c3d50e3
2016-03-15 10:26:26 -05:00
Steve Fink
07ed9e0dde Bug 1257223 - Fix os.file.redirect(null), r=jonco
--HG--
extra : rebase_source : 47f402c85b7df994db56d69559dfcb528e7b95d4
extra : amend_source : bea76dd9db5c5f48f59819daf2184bafd303b492
2016-03-16 11:04:22 -07:00
Till Schneidereit
4ecef93ff0 Bug 911216 - Part 4: Add self-hosting intrinsic for creating arrays in other compartments. r=efaust 2016-02-10 23:09:13 +01:00
Till Schneidereit
51e16e717a Bug 911216 - Part 3: Allow wrapped self-hosted functions and intrinsics in the callFunction debug check. r=efaust 2016-02-10 23:09:13 +01:00
Jon Coppeard
b3d77f00f5 Bug 1244412 - Fix suprious GC hazard r=me 2016-03-17 12:47:54 +00:00
Jon Coppeard
b6a1dd10ad Bug 1244412 - Remove ZoneCellIterUnderGC now it's no longer needed and refactor r=terrence 2016-03-17 10:05:55 +00:00
Jon Coppeard
ded0bc1da4 Bug 1244412 - Make ZoneCellIter work correctly whether called under GC or not r=terrence 2016-03-17 10:05:55 +00:00
Jon Coppeard
0b5afe375a Bug 1252653 - Fix intermittent failures in incremental-state.js jittest r=terrence 2016-03-17 10:05:54 +00:00
Jan de Mooij
e8f258d984 Bug 1255352 - Use initial CacheIR infrastructure and use it for some simple Baseline stubs. r=efaust
--HG--
extra : rebase_source : 0d4f5bceeac2dd409b9a65a78a30571ace4a0ede
2016-03-17 10:28:00 +01:00
Makoto Kato
13e6b287dc Bug 1257055 - Use jit/arm64/Architecture-arm64.h on non-JIT aarch64. r=lth
MozReview-Commit-ID: EmzEDleNc7E
2016-03-17 15:26:09 +09:00
Tooru Fujisawa
3569deb1b0 Bug 1153978 - Part 3: Use the build id instead of the XDR_BYTECODE_VERSION constant. r=jandem 2016-01-01 14:19:20 +09:00
Tooru Fujisawa
49dcc9b049 Bug 1153978 - Part 2: Clear pending exception thrown from XDR related APIs when ignoring ReadCachedScript failure. r=bz 2016-03-22 16:48:38 +09:00
Tooru Fujisawa
e2a8d2a6b4 Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Bob Owen
72e4566fa4 Bug 1256992: Initialize Windows sandbox BrokerServices before any child processes are created. r=aklotz, r=bholley 2016-03-22 07:40:03 +00:00
Heiher
99f8b5b2e3 Bug 1258593 - IonMonkey: JitTests: Fix Float32 Not tests. r=h4writer
---
 js/src/jit-test/tests/ion/testFloat32-correctness.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2016-03-22 15:27:32 +08:00
Heiher
016cef71ee Bug 1258599 - OdinMonkey: MIPS: Only reserving stack for argument registers on O32. r=huangwenjun06
---
 js/src/asmjs/WasmStubs.cpp | 4 ++++
 1 file changed, 4 insertions(+)
2016-03-22 14:04:20 +08:00
Heiher
bcb9e0a303 Bug 1258277 - OdinMonkey: MIPS: Leave ARCH_BITS for CPUID. r=huangwenjun06
---
 js/src/jit/mips-shared/Architecture-mips-shared.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-03-22 14:04:14 +08:00
Jason Orendorff
06e68fbd5a Bug 1054759 - Part 2: ES6 Symbol.unscopables. r=shu.
--HG--
extra : commitid : 6tJ71m09YRE
extra : rebase_source : fc29ab93512744a82097c17abf32dc59f94105b9
extra : amend_source : e4ee1645fa47ed24948a98ef10066ef89b03b887
2015-12-09 10:42:40 -05:00
Jason Orendorff
09e9e76a4d Bug 1054759 - Part 1: Reinstate JS_FOR_EACH_WELL_KNOWN_SYMBOL. r=shu.
--HG--
extra : commitid : GLjJKPqPZJa
extra : rebase_source : 7825b82482fa082fc99a4a24d304182db8de96cb
extra : amend_source : 62934b9ef564b82dbac1c5d3e73f72d2e753c2ab
2016-03-15 09:52:46 -05:00
Mike Hommey
747e8cd9f5 Bug 1256988 - Remove NO_X11. r=chmanchester
It hasn't done anything since bug 191447, 13 years ago
2016-03-17 06:49:44 +09:00
Mike Hommey
13cf8281d0 Bug 1256988 - Remove useless Gtk/accessibility check in js/src/old-configure.in. r=chmanchester 2016-03-17 06:49:44 +09:00
Mike Hommey
b6f701b9e1 Bug 1256988 - Move MOZ_WIDGET_TOOLKIT to moz.configure. r=chmanchester 2016-03-17 06:49:44 +09:00
Mike Hommey
0366070f0d Bug 1256988 - Move --with-gonk to moz.configure. r=chmanchester 2016-03-17 06:49:44 +09:00
Jakob Stoklund Olesen
7cb51cc5e3 Bug 1256945 - Coerce SIMD lane indexes with ToNumber(). r=bbouvier
The SIMDToLane() function in the SIMD.js specification uses ToNumber() to
coerce lane index arguments to a number before checking the the index is an
integer in range.

Add an ArgumentToLaneIndex() function to SIMD.cpp that implements the same
semantics. This function throws a RangeError if the coerced argument is not
integral or out of range.

Update tests to match the new semantics. The differences are:

- More values are accepted as lane indexes (null, true, false, "5.0", ...).
- A TypeError is only thrown if ToNumber fails. If the argument can be coerced
  to a number, a RangeError is thrown if other checks fail.

Fix the testShuffleForType() test in ests/ecma_7/SIMD/swizzle-shuffle.js which
should have been calling `shuffle` but was calling `swizzle`.

MozReview-Commit-ID: 7w5KhWwKmeF

--HG--
extra : rebase_source : 1bedc9df4c157080be53b356c7f31f7588c3bceb
2016-03-16 10:15:35 -07:00
Gregory Szorc
c45a901dcb Bug 1257040 - Disable C4577 to unblock compilation on VS2015; r=jorendorff
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the warnings this patch masks are
in an included ICU header, which is a 3rd party project. So our hands
appear tied.

MozReview-Commit-ID: FHzp6v5yUKG

--HG--
extra : rebase_source : cd22e81394ce7e537fb8cd93a3ae62dcb99b8567
2016-03-14 23:23:34 -07:00
Steve Fink
19538f46e4 Bug 1250709 - Clobber builds, r=terrence
--HG--
extra : rebase_source : 70e1fd311c814ffff0e14e7c18fc8450e2306d2a
extra : source : 68e3c64301214d4a656f9aadea250f13ec768480
extra : histedit_source : 62c67cd4aba93b3fda3f4d142f1d2f69b52887ec
2016-02-24 15:14:17 -08:00
Steve Fink
102d2256d2 Address review comments from bug 1246804
--HG--
extra : rebase_source : 7e31c9f90e7fdf7d8973445772fed10828c1808c
2016-03-15 14:22:13 -07:00
Nicolas B. Pierron
3cca9ceb73 Bug 1256702 - Skip the operand of MAssertRecoveredOnBailout encoded in the snapshot. r=h4writer 2016-03-16 12:48:31 +00:00
Jon Coppeard
f0d2a7676e Bug 1256672 - Make OOM alloc counters 64 bit. r=terrence 2016-03-15 11:46:00 +01:00
Carsten "Tomcat" Book
41c5d93a8a Backed out changeset 5e4e30fff99b (bug 1235677) for landing with wrong bugnumber 2016-03-16 10:59:41 +01:00
Benjamin Bouvier
03908696a0 Bug 1256637: Set definition before returning early in EmitBrTable; r=luke
MozReview-Commit-ID: CJXMIMT22vA

--HG--
extra : rebase_source : cd4a995abdf740a83699eb5221ded1f61d4fae84
2016-03-15 17:39:45 +01:00
Benjamin Bouvier
9d8ec528dd Bug 1256480: Allow passing Float32 arguments to FFI on the stack; r=luke
And forbid SIMD arguments for the moment, as FFI SIMD arguments should be
either objects (interpreter) or unboxed registers (ion).

MozReview-Commit-ID: HWXYiFfmK51

--HG--
extra : rebase_source : f3e278048a2901a734e4c7592615a0801eb2cb15
2016-03-15 16:00:45 +01:00
Jon Coppeard
95bb5373a4 Bug 1256699 - Fix jittests --repeat option r=sfink 2016-03-16 09:41:57 +00:00
Jon Coppeard
93d786cfd8 Bug 1235677 - Refactor OOM simulation and make counters 64 bit r=terrence 2016-03-16 09:41:57 +00:00
Jon Coppeard
566118d25e Bug 1235677 - Wait for helper threads before resetting OOM simulation r=terrence 2016-03-16 09:41:56 +00:00
Jan de Mooij
804a9eea98 Bug 1256306 - Bump the Windows stack limit. r=bholley
--HG--
extra : rebase_source : 56e9c5e72d471ba0de010ac1f49a0f1f94baa5d7
2016-03-16 09:35:16 +01:00
Jan de Mooij
8ba4ef4a51 Bug 1256633 - Reject wasm i64 ops on platforms that don't support them yet. r=bbouvier
--HG--
extra : rebase_source : c01709907020861dd69186b4142afbaea568962a
2016-03-16 09:32:25 +01:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Tooru Fujisawa
50608d5d55 Bug 1256088 - Merge mock app-info implementation into AppInfo.jsm. r=gps 2016-03-16 16:58:29 +09:00
Gregory Szorc
44df4a390e Bug 1257005 - Don't use debug runtime in standalone SpiderMonkey builds; r=glandium
This patch effectively synchronizes code from old-configure.in to
js/src/old-configure.in. Before, the top-level configure would set
MOZ_NO_DEBUG_RTL when using MOZ_MEMORY on Windows. This would get
inherited when the top-level configure invoked the js/src configure.

Since js/src's configure didn't have the same code, we never set
MOZ_NO_DEBUG_RTL when running a standalone js/src configure. This caused
the debug runtime to be used in standalone SpiderMonkey builds.

There is still some code in the root old-configure.in around CRT
handling that js/src/old-configure.in doesn't have. This will
likely get consolidated as part of the conversion to configure.py.

MozReview-Commit-ID: CD834DhIlLS

--HG--
extra : rebase_source : 9252c0166acf7ac5c760d530ca1dcbb740adb3e2
extra : source : a007293e6ab06df203c09a5535f5591667c45af2
2016-03-15 19:20:35 -07:00
Gregory Szorc
54f6848af2 Backed out changeset a007293e6ab0 (bug 1257005)
SM(p) failures.
2016-03-15 18:33:33 -07:00
Gregory Szorc
f4a5fb8079 Bug 1257005 - Don't use debug runtime in standalone SpiderMonkey builds; r=glandium
This patch effectively synchronizes code from old-configure.in to
js/src/old-configure.in. Before, the top-level configure would set
MOZ_NO_DEBUG_RTL when using MOZ_MEMORY on Windows. This would get
inherited when the top-level configure invoked the js/src configure.

Since js/src's configure didn't have the same code, we never set
MOZ_NO_DEBUG_RTL when running a standalone js/src configure. This caused
the debug runtime to be used in standalone SpiderMonkey builds.

MozReview-Commit-ID: CD834DhIlLS

--HG--
extra : rebase_source : c0ae3a5308ff9525c63b949a40504180c47ce5fb
2016-03-15 16:27:28 -07:00
Mike Hommey
9015326e32 Bug 1256990 - Move tar detection to moz.configure. r=chmanchester 2016-03-16 08:26:47 +09:00
Mike Hommey
ad3d599d5f Bug 1256584 - Remove AC_PROG_INSTALL and AC_PROG_LN_S. r=gps
We don't use the result of those tests:
- INSTALL is set in config.mk to something derived from NSINSTALL.
- LN_S is never used.
2016-03-16 07:12:53 +09:00
Mike Hommey
377f0ec95c Bug 1256512 - Move TARGET_CPU and TARGET_OS to moz.configure. r=chmanchester
And remove the unused TARGET_VENDOR
2016-03-16 07:12:53 +09:00
Steve Fink
5acfe256eb Bug 1246804 followup to fix mode bits
--HG--
extra : rebase_source : b0d234d2814c7400a5f0d6c8414b4bdec5f32bd8
2016-03-15 10:58:25 -07:00
Hannes Verschore
b77dc68db3 Bug 1250964: SharedStubs - Remove bogus assert, r=bogus on CLOSED TREE 2016-03-15 13:35:07 -04:00
Benjamin Bouvier
10477e49cf Bug 1254167: Don't allow folding to full range for atomic accesses; r=sunfish
MozReview-Commit-ID: 23Gj5nV3oqq

--HG--
extra : rebase_source : 78a0dc0e271300eb73b54936823fe196d86c4296
extra : amend_source : 1ad1df412d9e8d608e9cb9f80684362271ab5d23
2016-03-08 20:18:46 +01:00
Nicolas B. Pierron
a69cc3e5ee Bug 1186006 - Assert that all blocks have an entry resume point, excepts for unreachable one added by the Value Numbering. r=sunfish 2016-03-15 16:55:43 +00:00
Nicolas B. Pierron
3a24c0c1be Bug 1186006 - Add a copy of the successor resume point to the split-edge blocks. r=bhackett 2016-03-15 16:55:42 +00:00
Hannes Verschore
474d0151fe Bug 1250964: SharedStubs - Don't add invalid stubs, r=jandem 2016-03-15 12:21:18 -04:00
Terrence Cole
b958bb0b21 Bug 1256089 - Fix Mutex support for tier-3 platforms; r=froydnj 2016-03-14 10:43:19 -07:00
Till Schneidereit
db904728ee Bug 911216 - Part 7: Implement ES6 Promises in the JavaScript engine. r=efaust
--HG--
extra : rebase_source : 44ac4d767f6b2298acea444675c7177cb8f0d602
2015-11-10 12:34:00 +01:00
Till Schneidereit
40b836d965 Bug 911216 - Part 6: Shim new promise-related Debugger.Object accessors using PromiseDebugging. r=shu
--HG--
extra : rebase_source : f113601df25267eaba4696103f448cbad1c103ea
2016-03-22 15:54:44 +01:00
Mike Hommey
494c580cc0 Bug 911216 - Part 5: Add --enable-sm-promise configure flag. r=chmanchester
--HG--
extra : rebase_source : aaa660be82b623b83d3efba287c0126e73de4e3c
2016-03-09 16:09:25 +09:00
Till Schneidereit
4f3a29c32a Bug 1257588 - Don't ignore self-hosted frames when getting a saved frame's async cause. r=fitzgen
--HG--
extra : rebase_source : edf09b478bcef18ee63088845fda068ab9fef3dc
2016-03-22 15:54:15 +01:00
Boris Zbarsky
167f9e9718 Bug 1256376 followup to fix -Werror bustage on Windows. 2016-03-22 18:11:54 -04:00
Jim Blandy
db7bf419d6 Bug 1257395: Update comments for GCHashTable and GCPolicy. DONTBUILD r=terrence
--HG--
extra : rebase_source : 12d7d4f2b7a1178498e1499c1f68b0033449f887
2016-03-16 18:16:01 -07:00
Boris Zbarsky
42b3bbe27a Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
efa07c06d1 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
655d4654c8 Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
12ede800fa Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
44088b97d0 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
4610148fbe Bug 1256376. Fix forEach on typed arrays to work over Xrays from web extension sandboxes. r=till 2016-03-22 13:49:58 -04:00
Boris Zbarsky
741f862a59 Bug 1256342. Fix typed array iteration to work correctly over Xrays. r=till,bholley 2016-03-22 13:49:36 -04:00
Jeff Walden
c5201c49a4 Bug 1253099. r=arai, r=efaust
--HG--
extra : rebase_source : 148819be2c54f47acdb54fc8425686c2bd2162d0
2016-03-05 04:28:53 -08:00
Jeff Walden
e6341e6a3a Bug 1242810. r=jandem
--HG--
extra : rebase_source : 4aef209ab4171efb039c45efe650b0989da00095
2016-03-02 17:52:08 -08:00