Commit Graph

63098 Commits

Author SHA1 Message Date
Mike Hommey
5f5b6efb65 Bug 1426555 - Make autospider builds use --enable-stdcxx-compat on Linux only. r=sfink
Some of the variants are multi-platforms, and having
--enable-stdcxx-compat in their definition will break when the option is
moved over to python configure.

While here, prepare for --enable-stdcxx-compat actually doing something
(it currently doesn't), by adding an exception for it in
check_vanilla_allocations.py.

--HG--
extra : rebase_source : ee1647421542209cf0137db703c4f7e7f06cbc91
2017-12-21 09:50:16 +09:00
arthur.iakab
373adc6f0d Merge Inbound to mozilla-central r=merge a=merge 2017-12-22 00:19:24 +02:00
Dragan Mladjenovic
ebf5c48dc5 Bug 1406999: [MIPS32] Cleanup floating point registers handling; r=nbp 2017-12-20 14:30:56 +01:00
Florian Quèze
22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Florian Quèze
0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Florian Quèze
e0f995ea08 Bug 1421992 - hand written cleanup patch to make xpcshell tests pass after replacing do_check_* with Assert.*, r=Gijs. 2017-12-21 11:08:19 +01:00
Florian Quèze
032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Csoregi Natalia
12c47a01be Merge inbound to mozilla-central r=merge a=merge 2017-12-21 12:01:59 +02:00
Narcis Beleuzu
1edf89e8c4 Backed out changeset 1f7837e3840d (bug 1406999) for build bustages on MacroAssembler.cpp r=backout on a CLOSED TREE 2017-12-21 07:14:33 +02:00
Mike Hommey
38ff4b7d87 Bug 1426558 - Make autospider builds not rely on system libnspr. r=sfink
The only reason autospider builds succeed in running tests at the moment
is that there is a libnspr4 library installed at the system level on
Centos that is binary compatible with what the js shell requires.

While on the long run we should just avoid depending on libnspr4 at all,
in the short term, we should make the effort to make those tests use the
libnspr4 present in dist/bin.

For the tests executed from js/src/Makefile.in, it turns out there is
already a level of wrapping that does that, relying on run-mozilla.sh,
which is only installed on gecko builds. Installing it on standalone js
builds solve half the problem.

The other half is addressed by setting LD_LIBRARY_PATH before invoking
the js shell in the various places it's invoked.

--HG--
extra : rebase_source : 25f4b1f5c78eb84e48046dc83798f07eb02d4a81
2017-12-21 10:11:13 +09:00
Dragan Mladjenovic
4a3769fa44 Bug 1406999 - [MIPS32] Cleanup floating point registers handling. r=nbp 2017-12-20 23:40:37 -05:00
Sean Stangl
d30019b2d4 Bug 1425387 - Skip automatically-inserted NOPs while patching. r=bbouvier 2017-12-20 23:32:41 -05:00
Jeff Walden
1cd5e89895 Bug 1393287 - Rejigger ctypes library close() code so that it's safe against PR_UnloadLibrary incidentally invoking an indirect function call (which happens if sandboxing code overrides some of the signal code underlying the library-unload entrypoint). r=sfink
--HG--
extra : rebase_source : f8049d8646c9764dc68bf2dc33a0ecd893fb5692
2017-12-18 17:49:13 -08:00
Brindusan Cristian
68f2d0d8de Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-20 23:46:31 +02:00
David Teller
4a5148bb3b Bug 1426371 - Fix file/path for Windows binjs jsapi-tests;r=Yoric
This patch fixes several errors in Windows file/path management for
the binjs-decoder jsapi-tests:

- under Windows, files should be explicitly opened as "binary",
  otherwise the Windows version of the libc can be creative about
  their contents;
- "*.binjs" should not be part of the path;
- I/O functions don't all have the same return value conventions to
  notify of an error.

MozReview-Commit-ID: 51rVpRlcUai

--HG--
extra : rebase_source : a7d977c7dc0aecb05c4bbbf4547dedffbd4ec974
2017-12-19 11:18:41 +01:00
Ryan VanderMeulen
97773bdfd8 Bug 1426504 - Add missing this-> to fix mass bustage when Gecko 59 merges to Beta. r=jandem
--HG--
extra : rebase_source : 4acf1b7760418794a347c67a007f6bfd2420ac6b
2017-12-20 17:07:39 -05:00
Jason Orendorff
2f9a01eb0b Bug 1425995 - Add boilerplate to a TypedObject test so it runs only if TypedObject is defined. r=djvj
This will prevent the test from going permaorange when Gecko 59 merges to Beta.

--HG--
extra : rebase_source : 27a825187cbf27bc6254027ce27681d8730e86b5
2017-12-20 10:14:27 -06:00
Steve Fink
02a910737b Bug 1426439 - Allow stack reporting for timed out tests, r=jonco
--HG--
extra : rebase_source : c8685a61852c64697f46299c5dd2e33d8682fab2
extra : histedit_source : 596be6d6af6058b78f90115a03e7407c85c2391f
2017-11-20 16:10:01 -08:00
Steve Fink
1a5cf5873b Bug 1410528 - Define MOZ_CRASHREPORTER and MOZ_AUTOMATION_BUILD_SYMBOLS for recurse_syms, r=glandium
--HG--
extra : rebase_source : fbb7948d135e56b82777124a3afc6b2003ac212a
extra : histedit_source : 99c878b29234e684e2776a15c10b0c9cc0cd815c
2017-12-19 15:36:17 -08:00
David Major
58e7ba18e5 Bug 1426198: Skip the linker version check in lld builds. r=glandium 2017-12-20 10:28:24 -05:00
David Major
18a5250f02 Bug 1425906: Rename LINK to LINKER throughout the build system. r=glandium
Windows linkers give special meaning to getenv("LINK"), which makes `export LINK=...` in mozconfigs do unexpected things.
2017-12-20 09:07:46 -05:00
Mike Hommey
865254371e Bug 1426003 - Add a build job for spidermonkey with JIT disabled. r=sfink
Building for some tier-3 platforms imply building without a JIT, and it
happens quite regularly that this setup is broken by API changes in
Spidermonkey.

This adds a new job with JIT disabled, but skip tests for now because
some fail or crash.

--HG--
extra : rebase_source : 3c6e1dfb3cd7d0bff59c494f6230c9f1b55479ed
2017-12-16 02:06:46 +09:00
Dorel Luca
8d7dc32e0f Merge mozilla-inbound to mozilla-central r=merge a=merge
--HG--
extra : amend_source : ab6e52d7abe431d1530dac3f5b0b09f7a8c18d62
2017-12-19 12:08:53 +02:00
Dragan Mladjenovic
1153291ad5 Bug 1425203 - Update gdb support code to use new signature of wasm SIGSEGV/SIGBUS handler. r=bbouvier
--HG--
extra : rebase_source : 62f959f1d8d93d7a12be46f1bbe4b2fd75dd882d
2017-12-18 20:07:10 -05:00
Steve Fink
5b721eca4c Bug 1425634 - Use a statically linked minidump_stackwalk for JS shell stacks (binary is from build-tools), r=glandium
--HG--
extra : rebase_source : c8e2200013329da63a601e919a902cb96b6f47de
2017-12-15 22:22:25 -08:00
Steve Fink
6c225d1905 Bug 1351559 - Make fuzzing builds match firefox more closely, r=jonco
--HG--
extra : rebase_source : af836bee8642447855b50913ebbe1e345ecaed15
2017-12-15 10:13:12 -08:00
Nathan Froyd
de9853b2ff Bug 1425035 - move --enable-ui-locale to moz.configure; r=gps
We need MOZ_UI_LOCALE even when building the JS shell so
config/config.mk variable assignments don't run into issues.  But it
doesn't make any sense to configure a UI locale for the JS shell.  So
make --enable-ui-locale a normal `option`, but give it a `default`,
which is the value shell-only builds will always see.

--HG--
extra : amend_source : 047759dd6ec446d9d6f8f5992ed9cf6628ce859e
2017-12-18 14:21:26 -08:00
Csoregi Natalia
9743e10556 Backed out 3 changesets (bug 1409852) for build bustage and failing test_js_dev_error_interceptor.js. r=backout on a CLOSED TREE
Backed out changeset 06368bf1a32c (bug 1409852)
Backed out changeset 46fce9a2622d (bug 1409852)
Backed out changeset 649d7bdf80ad (bug 1409852)
2017-12-21 15:31:27 +02:00
David Teller
d96eed4450 Bug 1409852 - Expose a hook to be informed whenever an exception is thrown;r=jandem
This hook should help us diagnose more easily typoes in our chrome code.

To avoid painting ourselves in a corner in case we need to optimize
exceptions at some later point, the API is restricted to Nightly -
which is where it will be the most useful anyway.

MozReview-Commit-ID: FvDnaALKHox

--HG--
extra : rebase_source : b3cb46b658c0638183fb80fb11f8a50d9aab28d4
2017-11-16 10:36:30 +01:00
Sebastian Hengst
92ed624d10 merge mozilla-central to autoland. r=merge a=merge
--HG--
extra : rebase_source : db451eb58e88563fe7709c8f4b3e69135df66253
2017-12-21 13:38:16 +02:00
Andi-Bogdan Postelnicu
0465786209 Bug 1425826 - prevent null pointer dereference in BinASTParser::parseBlockStatementAux. r=jorendorff
MozReview-Commit-ID: FMIfHez97Yd

--HG--
extra : rebase_source : 523843d83a7b0795612d871b6f6001ec9a1e7d87
2017-12-21 10:57:55 +02:00
Rofael Aleezada
1502723c61 Bug 1403556: Changed ParseNodeKind from enum to enum class r=jandem 2017-12-19 22:44:31 -06:00
Jon Coppeard
c48ac43ecd Bug 1399866 - Assert proxy private is not gray on creation r=sfink 2017-12-18 09:59:21 +00:00
Jon Coppeard
5dc5f44d8c Bug 1425504 - Remove Shape::update method which is not defined anywhere r=jorendorff 2017-12-18 09:59:21 +00:00
Jan de Mooij
b1e0ae2573 Bug 1420462 - Fix rooting hazard. r=red 2017-12-16 21:49:40 -06:00
Jan de Mooij
26beafba66 Bug 1420462 - Add an EnumerableOwnProperties fast path for unboxed objects. r=anba
--HG--
extra : rebase_source : bf36e7381b1b6ef4ed6a898c6625ab437febd8df
2017-12-16 20:43:52 -06:00
Coroiu Cristina
cf5c1f8db6 Merge mozilla-central to mozilla-inbound. r=merge
--HG--
extra : amend_source : 198dee9af9b4902873b814a9a64c05049cca564f
2017-12-17 00:42:08 +02:00
Jan de Mooij
f7105f3f2e Bug 1412420 - Ensure upper bits are zeroed when calling a function that returns int32. r=nbp 2017-12-16 16:22:13 -06:00
David Teller
8af5435a34 Bug 1377007 - Tweak BoyerMoorePositionInfo::SetInterval to keep PGO builds happy;r=jandem
Attempting to build Bug 137707 fails with Linux 64 PGO (and only with
Linux 64 PGO) with the following error:

INFO -  /builds/worker/workspace/build/src/js/src/irregexp/RegExpEngine.cpp:2326:5: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow]
INFO -       for (int i = interval.from(); i <= interval.to(); i++) {
INFO -       ^^^

I suspect that this is actually a bug in PGO itself, rather than in
the code. However, replacing `<= interval.to()` with `!= interval.to()
+ 1` seems to do the trick.

MozReview-Commit-ID: IsayKhgkwWq

--HG--
extra : rebase_source : e4f3712b9606177326a00e15102a96c144ec26a8
2017-12-06 14:05:35 +01:00
David Teller
0da9f18390 Bug 1377007 - autospider.py,runcppunittests.py export the path to directory js/src,r=Yoric
Some tests need to find out js/src to locate their test
data. Exporting this information as part of the environment.

MozReview-Commit-ID: JAefL2arhJL

--HG--
extra : rebase_source : b99d55c4ab4335ea938d8f3a9c733ea74f02fddf
2017-12-08 11:14:12 +01:00
Ted Campbell
2b76618a43 Bug 1425413 - Fix non-jit platform MacroAssembler failure. r=jorendorff
MozReview-Commit-ID: FR1eUPTkMsb
2017-12-15 11:44:00 -06:00
Jan de Mooij
c8e7910919 Bug 851769 part 3 - Inline GetLengthProperty. r=anba
--HG--
extra : rebase_source : 9eb4f0ce998217a4a736ff18119ef06675fe77a8
2017-12-14 21:39:56 -06:00
Jan de Mooij
ea3919e272 Bug 851769 part 2 - Fast path Array.prototype.reverse when no pre-barriers are needed. r=anba
--HG--
extra : rebase_source : 4330eebdf397ffe43b40887b767c225a9aea0660
2017-12-14 21:39:29 -06:00
Jan de Mooij
d19ee0ef94 Bug 851769 part 1 - Handle arrays with length <= 1 more efficiently in Array.prototype.reverse. r=anba
--HG--
extra : rebase_source : fdf3bf32165011b3051bcd5ca1b6ad349ca7b8c1
2017-12-14 21:37:33 -06:00
Nathan Froyd
cd85ab8af7 Bug 1422734 - move --enable-small-chunk-size to moz.configure; r=chmanchester 2017-12-03 13:44:55 -05:00
Jeff Walden
fd497a09a8 Bug 1424951 - Add a comment to Parser.h documenting the inheritance hierarchy comprising a Parser. r=arai 2017-12-13 01:02:52 -06:00
Jeff Walden
c01efcb5a2 Bug 1424946 - Move GeneralParser::noSubstitutionTaggedTemplate into a baser class. r=arai 2017-12-12 15:21:01 -06:00
Jeff Walden
34875d001a Bug 1424946 - Move GeneralParser::stringLiteral into a baser class. r=arai 2017-12-12 15:21:01 -06:00
Jeff Walden
d7888d1994 Bug 1424946 - Move GeneralParser::identifierReference into a baser class. r=arai 2017-12-12 15:21:00 -06:00
Jeff Walden
6877c4e9f7 Bug 1424946 - Move GeneralParser::checkAndMarkSuperScope into a baser class. r=arai 2017-12-12 15:21:00 -06:00