Commit Graph

62321 Commits

Author SHA1 Message Date
Yoshi Huang
726f154a2f Bug 1407682 - Part 3: Move inline code from Nursery.h to Nursery-inl.h and Marking.cpp. r=jonco 2017-10-19 17:27:04 +08:00
Yoshi Huang
56f2a90943 Bug 1407682 - Part 2: Move NurseryChunk to Nursery.cpp. r=jonco 2017-10-18 17:14:53 +08:00
Yoshi Huang
efdeb7661d Bug 1407682 - Part 1: move ArenaCellIndexBytes and MaxArenaCellIndex r=jonco 2017-10-18 17:09:05 +08:00
Jan de Mooij
ab7b5f6697 Bug 1404636 - Special-case typed arrays in PropertyReadNeedsTypeBarrier. r=bhackett 2017-10-26 16:15:35 +02:00
Tooru Fujisawa
ab2b1fb004 Bug 1385112 - Part 2: Add testcase. r=anba 2017-10-26 22:10:31 +09:00
Tooru Fujisawa
afdbd65a3b Bug 1396499 - Part 2: Do not hold reference to expression stack values in GeneratorObject::suspend. r=jandem 2017-10-26 22:10:31 +09:00
Tooru Fujisawa
c8f0b1e5a1 Bug 1396499 - Part 1: Reuse Array object for expression stack values in GeneratorObject::suspend. r=jandem 2017-10-26 22:10:30 +09:00
Attila Craciun
4d25367716 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-26 12:34:39 +03:00
Attila Craciun
0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Jon Coppeard
a6405ef242 Bug 1408375 - Move max malloc bytes parameter to GCSchedulingTunables r=sfink 2017-10-26 10:03:51 +01:00
Jon Coppeard
e69f1e327d Bug 1408375 - Move malloc threshold check to malloc allocation r=sfink 2017-10-26 10:03:51 +01:00
Jon Coppeard
c1cf972836 Bug 1411636 - Remove unnecessary recalculation of GCRuntime::isFull r=sfink 2017-10-26 10:03:51 +01:00
Jan de Mooij
b99ddfe0e7 Bug 1408058 part 3 - Inline slot reads on the prototype in Ion based on Baseline feedback. r=evilpie 2017-10-26 09:38:22 +02:00
Jan de Mooij
3cf15ea9ac Bug 1408058 part 2 - Teach scalar replacement about GuardGroup and GuardUnboxedExpando. r=nbp 2017-10-26 09:37:50 +02:00
Jan de Mooij
1c2f14ee70 Bug 1408058 part 1 - Track preliminary object IC stubs better. r=evilpie 2017-10-26 09:37:20 +02:00
Rofael Aleezada
626c4563b7 Bug 818634 - Remove support for Date.prototype.toLocaleFormat. r=gandalf, r=anba 2017-10-18 21:51:32 -05:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Chris Manchester
3bd4902247 Bug 1403346 - Move C{XX}FLAGS to mozbuild computed flags. r=glandium
This also introduces C{XX}_LDFLAGS variables which contain cflags that
are meant to be passed to the linker, and adds them to various linker
command lines in place of CFLAGS.

MozReview-Commit-ID: GyKlD9nMqrt
2017-10-25 15:12:09 -07:00
Chris Manchester
7539017f92 Bug 1403346 - Use AC_SUBST_LIST for various configure variables containing compile flags. r=glandium
MozReview-Commit-ID: 6BjKBSVGAw4
2017-10-25 15:11:54 -07:00
Chris Manchester
a1d26e4177 Bug 1403346 - Make a separate variable used to append pgo flags to compile command lines. r=glandium
This commit establishes a separate variable to add PROFILE_GEN and PROFILE_USE
CFLAGS to compile and link command lines. Currently the make backend
orchestrates the pgo build steps and is the only thing aware of whether
we're in the profile generate or profile use stage. The flags are separated
here to allow other flags to be moved to mozbuild, but this will not yet
sufficient to perform a PGO build independent of the make backend.

MozReview-Commit-ID: IX30l2MvvNc
2017-10-25 15:10:04 -07:00
Chris Manchester
94d7650a55 Bug 1403346 - Use AC_SUBST_LIST for OS_COMPILE_C{XX}FLAGS. r=glandium
MozReview-Commit-ID: Iz2slNFKR81
2017-10-25 15:10:04 -07:00
Chris Manchester
5c1a91facd Bug 1403346 - Expand references to the objdir in old-configure. r=glandium
MozReview-Commit-ID: LtReuXQwheR
2017-10-25 15:10:04 -07:00
Chris Manchester
5ce7957d0f Bug 1403346 - Use AC_SUBST_LIST for DSO_CFLAGS and DSO_PIC_CFLAGS r=glandium
MozReview-Commit-ID: 7aJ7uOR6tjO
2017-10-25 15:10:03 -07:00
Gregory Szorc
ae7cf57366 Bug 1411081 - Move --enable-optimize/MOZ_OPTIMIZE to moz.configure; r=glandium
The Rust optimization logic is tied to --enable-optimize/MOZ_OPTIMIZE
and --enable-debug/MOZ_DEBUG. In order to more easily implement more
customization, let's move --enable-optimize/MOZ_OPTIMIZE to
moz.configure so its value can be consulted there.

The logic here is a bit wonky. The option behaves like a boolean
or a string. If a string, MOZ_OPTIMIZE is set to 2. Otherwise it
is 1 or unset depending on the boolean value.

The custom compiler flags string is passed to old-configure, where it
overwrites whatever old-configure derived as the default value.
We stop short of moving all references to MOZ_OPTIMIZE_FLAGS to
moz.configure because there are a handful of them and I don't want
to scope bloat.

MozReview-Commit-ID: 6iNDu2HwLGr

--HG--
extra : rebase_source : a64f1236012d13913f21253df1b9b5ff0ae8ea6e
2017-10-24 19:54:48 -07:00
Gregory Szorc
b7a368158f Bug 1411081 - Move assignment of default value for MOZ_OPTIMIZE_FLAGS; r=glandium
It is now closer in the file to where other default values are computed.

MozReview-Commit-ID: BffCEb6FAUP

--HG--
extra : rebase_source : 81b17131f9330d89818a36ffff625b672c19c01e
2017-10-24 19:30:48 -07:00
Sylvestre Ledru
836ea838b4 Bug 1411545 - streamClosed: Fix the implicit-fallthrough warning r=luke
MozReview-Commit-ID: 4LYbud51tH7

--HG--
extra : rebase_source : 24c86592adefae8b9a23f0d57c8e1c6af6dc1354
2017-10-25 13:37:01 +02:00
Attila Craciun
7bcf901c3b Merge inbound to mozilla-central r=merge a=merge 2017-10-25 12:30:28 +03:00
André Bargull
ab1d21c223 Bug 1410937 - Directly initialize result arrays in String.prototype.split specializations. r=jandem 2017-10-24 01:05:50 +09:00
André Bargull
c20b56fe3d Bug 1410640 - Enable nursery allocation of arrow functions. r=jonco 2017-10-24 18:25:46 +09:00
Tom Schuster
d3b457113a Bug 638054 - Remove or fix tests outside JS using watch/unwatch. r=bz,fitzgen 2017-10-24 20:48:14 +02:00
Tom Schuster
e0d164f174 Bug 638054 - Mostly remove JS tests using watch/unwatch. r=jorendorff 2017-10-24 20:48:14 +02:00
Tom Schuster
a71971bc6c Bug 638054 - Remove the guts of the watch/unwatch implementation. r=jorendorff 2017-10-24 20:48:14 +02:00
Tom Schuster
7a6aff2c7e Bug 638054 - Remove watch class-hook and proxy trap r=jorendorff,bz 2017-10-24 20:48:14 +02:00
Sebastian Hengst
24b7b2eb7c merge mozilla-central to autoland. r=merge a=merge 2017-10-24 23:59:14 +02:00
Mike Hommey
bf5c85e4ef Bug 1411156 - Set MOZ_DEBUG globally as both a CONFIG and a #define. r=mshal
Bug 1365460 introduced code paths behind MOZ_DEBUG #ifdefs, but
MOZ_DEBUG is never defined, while it is available in CONFIG in
moz.builds. This is kind of a confusing situation, but the fact that
we've been able to avoid those problems for so long would tend to
put the blame on mozjemalloc, and fixes should go there.

Except that bug 1261161 explains that the only existing alternative
(the DEBUG #define), as used in MFBT, is not working for spidermonkey,
so it actually makes sense to converge to MOZ_DEBUG rather than DEBUG.

So start defining MOZ_DEBUG globally, fixing the mozjemalloc issues of
not having the debug code enabled. Bug 1261161 can then take care of
changing the DEBUG #ifdefs.

--HG--
extra : rebase_source : 37e3d03ac8350c62c8059d4ca01d1ecfdf5f421a
2017-10-24 14:07:37 +09:00
Tom Ritter
6a8841a184 Bug 1411374 Do not redefine PATH_MAX if it is already defined r=njn
MozReview-Commit-ID: trabOdGWYD

--HG--
extra : rebase_source : e5ffae150ece205c41bb69dc6f2b068f03a5b8ac
2017-10-24 00:36:58 -05:00
Tom Ritter
be2cb401bc Bug 1372958 Stack alignment on Windows is 4 bytes, not 16 r=luke
MozReview-Commit-ID: sLOruY3UJE

--HG--
extra : rebase_source : e137df3bed9573efdc26e5d5b47bb5e08f0d2dec
2017-10-06 16:43:07 -05:00
Luke Wagner
24d7896fa3 Bug 1406421 - Baldr: actual streaming compilation (r=lth)
MozReview-Commit-ID: FMvlJ5kmmSX

--HG--
extra : rebase_source : 260b093a2daac5bc06fe7908f2b2b163bb4200fc
2017-10-24 10:03:06 -05:00
Ralph Giles
6095257b3d Bug 1411363 - Update Cargo.lock files for Rust 1.22. r=froydnj
Cargo 0.23.0-beta, included with Rust 1.22.0-beta.2, wants to
move the top-level package description out of the [root] section
of Cargo.lock and into a parallel [[package]] section.
Accept this update by temporarily running the build without
passing --frozen and committing the result.

This is accepted by the cargo versions included in the current
and previous stable rust releases, so it will work with all
supported toolchains.

MozReview-Commit-ID: 1hMykhTknHi

--HG--
extra : rebase_source : 153d2016cd5e637584ea1d755198fbd1a5e7067e
2017-10-24 10:00:24 -07:00
eric skoglund
56b4904679 bug 802760: Document all ISO-8601 date parsing exceptions r=anba,gandalf
Update the documentation for ParseISOStyleDate to reflect the current
specification and the extensions we allow.

MozReview-Commit-ID: 2Zlrrj45bOc

--HG--
extra : rebase_source : dd83e84b5e6d803096f5eb937ba14ae2ac9f04c4
2017-10-17 13:13:58 +02:00
Sebastian Hengst
31bf3a1a42 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4Lk5P5UYmTe
2017-10-24 11:52:35 +02:00
Jeff Walden
ebcae2c450 Bug 1410194 - Add support for $262.IsHTMLDDA to test262-host.js. r=anba 2017-10-18 12:53:25 -07:00
Nicholas Nethercote
3842370ed8 Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive. This patch splits that macro into three new ones that are harder to
mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 3e2bbec4737b696e1c86579ae54be4cb3186c100
2017-10-13 16:12:57 +11:00
Tooru Fujisawa
a40fb0ce29 Bug 1410283 - Cache AsyncGeneratorRequest object. r=till 2017-10-21 23:14:43 +09:00
Lars T Hansen
304d01b456 Bug 1409196 - Specialize loadSafeWhenRacy and storeSafeWhenRacy on arm64 for uint8_clamped to pacify Clang. f=jbeich, r=me
--HG--
extra : rebase_source : fe715ddc38cf335444fe7e67905d0c30cf7ded26
extra : amend_source : 2bffcf146e840a042f688630c2a7fb9874e31e3a
2017-10-18 22:26:04 +01:00
Sebastian Hengst
091894faea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpMeK9OdQsz
2017-10-21 10:59:18 +02:00
Sebastian Hengst
aa75559a2f merge mozilla-central to autoland. r=merge a=merge 2017-10-21 00:16:08 +02:00
Steve Fink
8c663a745c Bug 1408584 - Disallow empty clonebuffer, r=kanru
--HG--
extra : rebase_source : 0b51db6f6f9870eb06fb96d21a35983aaa21a06d
extra : amend_source : ac2b16a60ed63c0eb579bad5508cc877f9f3662d
2017-10-16 11:23:30 -07:00
Tom Ritter
ddc7e1dff8 Bug 1410438 Resolve unused result warning in js/src/jscntxt.cpp r=njn
MozReview-Commit-ID: Jsj5zofv4lK

--HG--
extra : rebase_source : 8eabd1b7860a57978d2277b2b8b948e440c47fac
2017-10-19 01:46:40 -05:00
Boris Zbarsky
6a07397359 Bug 1354730. Disable named property object (aka global scope polluter) behavior for all Xrays. r=kmag
MozReview-Commit-ID: KmbXFfSzH0N
2017-10-16 10:58:09 -04:00