Commit Graph

54170 Commits

Author SHA1 Message Date
Terrence Cole
39a7ed7f26 Bug 1262203 - Do GC relocation writes in order; r=sfink
--HG--
extra : rebase_source : 81957086c3ed7574a91ff429e385e6ac3d164244
2016-04-06 14:44:10 -07:00
Nick Fitzgerald
01cfd1d6c6 Bug 1248948 - Don't pass non-SavedFrame objects to SavedFrame JSAPI functions; r=tromey r=evilpie 2016-04-05 13:51:00 +02:00
Tooru Fujisawa
9569ed5e0a Bug 933257 - Part 9: Use fdlibm in asm.js. r=luke 2016-03-05 05:18:09 +09:00
Tooru Fujisawa
48f2d46a6a Bug 933257 - Part 7: Remove or reduce sloppy_tolerance in Math function tests. r=jorendorff 2016-01-07 14:21:26 +09:00
Tooru Fujisawa
ed83ebe4b8 Bug 933257 - Part 6: Remove unused math polyfill. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa
3aedc7a677 Bug 933257 - Part 5: Use fdlibm in jsmath.cpp. r=jwalden 2016-01-07 12:30:29 +09:00
Tooru Fujisawa
3779589b28 Bug 933257 - Part 4: Link fdlibm in SpiderMonkey. r=jwalden 2015-11-18 19:13:23 +09:00
Mike Hommey
6886f13b7d Bug 1262020 - Move --with-android-ndk, --with-android-toolchain and --with-android-gnu-compiler-version to moz.configure. r=nalexander 2016-04-06 07:25:13 +09:00
Wes Kocher
e391057015 Backed out changeset 6e65cda2a0eb (bug 1260501)
MozReview-Commit-ID: FPRXGmVDiqM

--HG--
extra : rebase_source : 438cf3e8c0c45c0457349c9b686065005aee10d4
2016-04-05 15:10:52 -07:00
Nicolas B. Pierron
a8ba999f41 Bug 1236114 - IonMonkey: Move 'Sink' phase before the 'Remove Unnecessary Bitops' phase. r=sunfish 2016-04-05 22:10:40 +00:00
Morgan Phillips
a2bda2e267 Bug 1260673 - Use 'in' rather than 'of' for iterating over array indexes; r=evilpie 2016-04-05 12:14:43 -07:00
Terrence Cole
6ab8c8ca99 Bug 1259580 - Hide as many Proxy details as possible behind a detail namespace; r=efaust
--HG--
extra : rebase_source : 9acd8f66646e5104579cde751a85175a365c9662
2016-03-24 13:24:51 -07:00
Terrence Cole
172b7c970b Bug 1259578 - Use GC infrastructure to allocate proxy's malloced blob; r=jonco
--HG--
extra : rebase_source : ed7051ff26fdebc7ebbfbe693880dacee51366fa
2016-03-24 13:03:55 -07:00
Terrence Cole
a3f8065015 Bug 1261649 - Do not use bare ** in a new test; r=sfink
--HG--
extra : rebase_source : 488d04e29c674e355cfa4a1a4776f12d8410b7bf
2016-04-05 11:33:42 -07:00
Morgan Phillips
0ec8bfa5b7 Bug 1260673 - Ensure that Array.sort works with sealed objects; r=jorendorff
--HG--
extra : rebase_source : 1b51a58a4401c04c671193b6128b416b98d0a928
2016-04-04 16:27:21 -07:00
Ted Mielczarek
58e2e722d0 bug 1239083 - use moz.build files to build ICU. r=glandium,waldo
Also fixes bug 926980 - load ICU data from an archive file.

Stop invoking ICU's autoconf build system. Instead, have hand-authored
moz.build files under config/external/icu to build what we need. In addition,
we'll commit a pre-built copy of the ICU data file (currently icudt56l.dat)
under config/external/icu/data to avoid having to build ICU host tools to
generate it. config/external/icu/data also contains some assembly files
which can generate an object file containing the ICU data file contents
so that the JS shell (or standalone JS builds) can be linked directly to
the data without having to deal with the external data file. This requires
yasm or GNU as.

Various bits of packaging have been updated to account for the ICU data file.
XPCOM initialization now sets the ICU data directory so ICU can locate its
data file.

The update-icu.sh script has been modified to read the list of C/C++ source
files out of the ICU Makefiles and update `sources.mozbuild` files under
config/external/icu, as well as build a local copy of ICU using its
autoconf build system to generate the ICU data file to be committed in-tree.


MozReview-Commit-ID: 8Pfkzqt6S1W

--HG--
extra : rebase_source : 31426cddddb5543e0191059ba2f2eb069abe7727
2016-04-05 10:09:12 -04:00
Benjamin Bouvier
7321267aef Bug 1261404: Ensure BrTable only set successors once; r=sunfish
MozReview-Commit-ID: 93M9s3Y5v0T

--HG--
extra : rebase_source : 3b42f44ca38a6efca341bef72fb19ac9b68eb7da
2016-04-04 16:02:25 +02:00
Nicholas Nethercote
0faa7a06ba Bug 1261720 (part 2) - Move ClassExtension::isWrappedNative into js::Class::flags. r=jorendorff.
This saves 10 KiB of static data on 64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : f0e9c5cdba7f5a71cda046152691de6a5184a223
2016-04-04 08:47:15 +10:00
Nicholas Nethercote
f7dab46ae8 Bug 1261720 (part 1) - Separate js::ClassExtension from js::Class. r=jorendorff,bz.
js::ClassExtension is often all null. When it's not all null, it's often
duplicated among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 17 KiB per process on
64-bit, and half that on 32-bit.

--HG--
extra : rebase_source : eb78ade09ce268e886d091f6cbc38d7e5e912527
2016-04-04 08:45:07 +10:00
Jim Blandy
a6d253f357 Bug 1251529: Provide default constructor for ShellAllocationMetadataBuilder. r=orange
--HG--
extra : rebase_source : 98777531d8c40caa22b7bfe07f446a89256ce88a
2016-04-04 20:35:28 -07:00
Heiher
120ec40ed5 Bug 1260694 - IonMonkey: MIPS: Inline get MIPS flags. r=huangwenjun06
---
 .../jit/mips-shared/Architecture-mips-shared.cpp   | 24 +++++++++++++---------
 js/src/jit/mips-shared/Architecture-mips-shared.h  | 12 ++++++++---
 2 files changed, 23 insertions(+), 13 deletions(-)
2016-04-05 11:03:38 +08:00
Jim Blandy
0746148760 Bug 1251529: Provide default constructor for js::AllocationMetadataBuilder, js::SavedStacks::MetadataBuilder. r=shu
--HG--
extra : amend_source : 10a64241ab5d77e7477d3aefe59c52f73a0952d6
2016-04-04 19:37:54 -07:00
Jim Blandy
62682b1571 Bug 1251529: Pass AutoEnterOOMUnsafeRegion to allocation metadata builder methods. r=fitzgen
--HG--
extra : rebase_source : a0f34c84c6c0bfb287864ed915b9110664ca56a9
2016-02-29 18:27:10 -08:00
Jim Blandy
49a9f03a0a Bug 1251529: Replace allocation metadata callback with a builder class. r=fitzgen
--HG--
extra : rebase_source : 402692faee74c11e8cc322038d8a2fac54c7341e
2015-08-12 15:17:16 -07:00
Jim Blandy
b44fbd0499 Bug 1251529: In object metadata world, rename "object metadata" to "allocation metadata" and "callback" to "builder". r=fitzgen
Exceptions:
- AutoSetNewObjectMetadata and its related type are still exclusively about objects.
- JSCompartment::objectMetadataTable is still only about objects.
- the ObjectMetadataMap type still only has objects as keys.

Non-exceptions:

The builder type, and the JSCompartment member:
ObjectMetadataCallback -> AllocationMetadataBuilder
objectMetadataCallback -> allocationMetadataBuilder

jsfriendapi.h interface:
SetObjectMetadataCallback -> SetAllocationMetadataBuilder
GetObjectMetadata -> GetAllocationMetadata

JSCompartment methods:
hasObjectMetadataCallback -> hasAllocationMetadataBuilder
getObjectMetadataCallback -> getAllocationMetadataBuilder
setObjectMetadataCallback -> setAllocationMetadataBuilder
forgetObjectMetadataCallback -> forgetAllocationMetadataBuilder
addressOfMetadataCallback -> addressOfMetadataBuilder

Shell and testing functions:
SavedStacksMetadataCallback -> SavedStacksMetadataBuilder
ShellObjectMetadataCallback -> ShellAllocationMetadataBuilder
EnableShellObjectMetadataCallback -> EnableShellAllocationMetadataBuilder
enableShellObjectMetadataCallback -> enableShellAllocationMetadataBuilder
GetObjectMetadata -> GetAllocationMetadata
getObjectMetadata -> getAllocationMetadata

Delayed metadata collection:
shouldDelayMetadataCallback -> shouldDelayMetadataBuilder
JSCLASS_DELAY_METADATA_CALLBACK -> JSCLASS_DELAY_METADATA_BUILDER
suppressObjectMetadataCallback -> suppressAllocationMetadataBuilder

--HG--
extra : rebase_source : 54af5a56edd9b39466fa418f7a72fc586d0482d3
2015-09-01 15:26:46 -07:00
Wes Kocher
df53918788 Backed out changeset d51e76f5d0b8 (bug 1260104) for apparently tripling the runtime of SM(p) jobs and also introducing a failure in SM(p) jobs
MozReview-Commit-ID: EyLduy3EMOl
2016-04-04 15:42:00 -07:00
Wes Kocher
46f04c50ca Backed out 5 changesets (bug 911216) for apparently tripling the runtime of SM(p) jobs along with introducing a failure in SM(p)
Backed out changeset d70235224525 (bug 911216)
Backed out changeset 2f503e373e6f (bug 911216)
Backed out changeset 2e98f8b36bc6 (bug 911216)
Backed out changeset bd5acdf4a2a1 (bug 911216)
Backed out changeset 58716e562690 (bug 911216)

MozReview-Commit-ID: 807ajHOZvQn
2016-04-04 15:41:17 -07:00
Mike Hommey
e6d52431b6 Bug 1261531 - Remove most obvious cases of useless AC_DEFINEs. r=chmanchester
- HW_THREADS doesn't appear to be doing anything.

- USE_ARM_KUSER is not used since bug 675078. This also removes the configure
  flag that sets it.

- HAVE_SETBUF and HAVE_SNPRINTF are leftover from bug 944935.

- MOZ_MEMORY_GONK is leftover from bug 804303.
2016-04-05 07:16:44 +09:00
Mike Hommey
c25921b32d Bug 1261531 - Remove most obvious cases of useless AC_SUBSTs. r=chmanchester
- DEVELOPER_OPTIONS, INTEL_CC, INTEL_CXX, MOZ_ENABLE_QTMOBILITY,
  GTK_CONFIG are or even were never used outside configure.

- MOZ_PROFILELOCKING which gradually became a no-op over the years. This
  also removes the configure flag that sets it.

- XULRUNNER_STUB_NAME is xulrunner-only, and xulrunner is gone. This
  also removes the configure flag that sets it.

- The only use of MOZ_CAN_RUN_PROGRAMS was removed in bug 780561.

- AR_LIST and AR_DELETE have not been used since bug 584474.

- MOZ_COMPONENT_NSPR_LIBS is leftover from bug 1036894.

- MOZ_PNG_ARM_NEON_CHECK is not used since bug 980488.

- MOZ_WEBRTC_LEAKING_TESTS has been no-oped by bug 825510.

- VPX_NEED_OBJ_INT_EXTRACT and NO_INTEGRATED_AS_CFLAGS are not used since
  bug 1151175.

- WCHAR_CFLAGS is not used since bug 904985.
2016-04-05 07:16:44 +09:00
Mike Hommey
1eda7fa37b Bug 1261359 - Don't set HOST_{C,CXX,LD}FLAGS from {C,CXX,LD}FLAGS at all. r=nalexander
In bug 1260996, we straightened things up for the host flags on cross
compile builds, where the situation was that they were effectively empty
by default, and that hasn't changed.

While working on bug 1260996, it has become clear that there is no much
point in setting the host flags from the target flags on non cross
compile builds, especially when the target flags come from the environment.

That creates a discrepancy with cross compilation builds for no real
reason, and there are effectively too few host things to build that it
would matter anyways. The flags that do matter are the ones for C++11,
C99, and optimisations, and they all are set independently of what is
being removed here.
2016-04-05 07:16:44 +09:00
Mike Hommey
2f27499d10 Bug 1261263 - Remove -fgnu89-inline. r=froydnj
It seems the reason why it was added back in bug 719659 is gone.
2016-04-05 07:16:44 +09:00
Mike Hommey
989453a94b Bug 1261263 - Switch from -std=gnu++0x to -std=gnu++11. r=froydnj
All the GCC and clang versions we support support the latter, so let's
use it.
2016-04-05 07:16:44 +09:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
Nicolas B. Pierron
94139855f1 Bug 1257929 - Add assertions to ensure the safety of entry resume point encoding. r=h4writer 2016-04-04 17:15:12 +00:00
Nicolas B. Pierron
060a25a7c5 Bug 1257929 - Special case OSR block to avoid bloating safeInsertTop condition. r=h4writer 2016-04-04 17:15:11 +00:00
Benjamin Bouvier
5c506bf453 Bug 1261577: Always set the result of a dead loop in wasm; r=luke
MozReview-Commit-ID: LqtkWNyWlcz

--HG--
extra : rebase_source : cfa09a0c3b31d6ecdd16a596a8c94228e5092652
2016-04-04 14:15:12 +02:00
Benjamin Bouvier
98052b9e34 Bug 1261813: Ensure the argument to wasmBinaryToText always has a buffer; r=luke
MozReview-Commit-ID: ImtX6OLIkpc

--HG--
extra : rebase_source : f1b5fdaad5f485f06b6be5451a48766269a30e9c
2016-04-04 17:09:29 +02:00
Benjamin Bouvier
4d0f270c59 Bug 1259936: Extra test case; r=luke
MozReview-Commit-ID: 8kgJcBm52A1

--HG--
extra : rebase_source : 8463fa9c8c064ce2b3680ea5aad0151497a99f30
2016-04-04 16:52:07 +02:00
Till Schneidereit
ea0d5e374a Bug 911216 - Part 17: Make promise-related Debugger.Object.prototype getters work with wrapped promises. r=shu 2016-04-04 17:55:03 +02:00
Till Schneidereit
8939d2d31a Bug 911216 - Part 15: Port Promise reaction jobs to C++ to enable correct async stacks. r=efaust 2016-03-22 16:22:24 +01:00
Till Schneidereit
1217778c5a Bug 911216 - Part 14: Add support for tracking unhandled promise rejections, exposed through a JSAPI function. r=efaust 2016-03-22 16:22:23 +01:00
Till Schneidereit
0384df1a97 Bug 911216 - Part 13: Set Promise allocation stack as async stack for Promise callback jobs. r=efaust,bz 2016-03-22 16:22:23 +01:00
Till Schneidereit
2bd7c5e7bb Bug 1260104 - Fix make source-package regressions introduced by phytonification of the configure scripts. r=sfink 2016-04-04 17:53:29 +02:00
Benjamin Bouvier
086a17a465 Bug 1259936: Baldr: Simplify calls stack bytes management; r=luke
MozReview-Commit-ID: H7VzCSKNwco

--HG--
extra : rebase_source : 214fcef5ea13e6d96f766d3c9d001ade849825dd
extra : amend_source : 81dafe184c1e4d56b3cf601476f65a77259071cc
2016-03-31 13:42:38 +02:00
Lars T Hansen
2abb7f68c0 Bug 1260835 - Atomics.wait returns strings + remove symbolic constants. r=jolesen
--HG--
extra : rebase_source : 9ff59a7ef9669cdcc63fa599cc871e6c57a9ed5a
2016-04-02 08:41:28 -07:00
Lars T Hansen
c3701b806a Bug 1260910 - introduce 'wait' and 'wake'. r=bbouvier
--HG--
extra : rebase_source : ffca8d69322ab07a2b6e4b5b9a9a4dd5cb313728
2016-04-02 09:17:20 -07:00
Lars T Hansen
f4dc70d21c Bug 1225028 - remove Atomics.fence. r=bbouvier
--HG--
extra : rebase_source : 01f95d41a7f869d26cf7a602d16743801eb0de9d
2016-04-02 08:55:24 -07:00
Lars T Hansen
d6d3b3bc60 Bug 1259544 - remove futexWakeOrRequeue. r=bbouvier
--HG--
extra : rebase_source : 16fc76f38e011f15f3eef291c877aaee053776df
2016-03-31 15:23:23 -07:00
Lars T Hansen
b65e9a82a4 Bug 1231926 - add assertions on BYTEOFFSET_SLOT. r=waldo
--HG--
extra : rebase_source : c0003e525f87e89c264ecde700532fe76445e510
2016-03-24 17:11:10 +01:00
Lars T Hansen
43a06b20d4 Bug 1253351 - count argument of futexWake defaults to +Infinity. r=bbouvier
--HG--
extra : rebase_source : 269248db8d70f6e5c55836129b50fba621c3e7f7
2016-03-24 17:01:26 +01:00