Граф коммитов

54352 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 036485d4d3 Merge mozilla-central to mozilla-inbound 2016-04-15 13:59:07 +02:00
Carsten "Tomcat" Book 8801f025b6 Backed out changeset 889ea0524ad2 (bug 1264420) for turning into a perma fail testfailure 2016-04-15 13:56:50 +02:00
Jon Coppeard 2e96d42cf8 Bug 1264420 - Speed up bug-1259306.js test so it doesn't time out r=terrence 2016-04-15 10:04:06 +01:00
Jon Coppeard 126492d6cf Bug 1264429 - Trace script pointers in IonCache r=terrence 2016-04-15 10:03:40 +01:00
Benjamin Bouvier d9d48e8f8b Bug 1263618: Adapt assertions in RegExp*Raw functions for int32_t; r=arai
MozReview-Commit-ID: ItCAUIEmR9r

--HG--
extra : rebase_source : 7fdfe283511f8f3623063094a2402a661c5f7619
extra : amend_source : c07faffd297115ae74abe003812058fe653bb2fe
2016-04-11 16:38:03 +02:00
Terrence Cole 64b12b1c09 Bug 1257810 - ReleaseAcquire should be adequate for a counter; r=sfink
--HG--
extra : rebase_source : d7a5e7be5a85144573a43970848c1f2337a8c470
2016-04-07 11:28:34 -07:00
Benjamin Bouvier cd2b8610c4 Bug 1262208: update test case; r=me 2016-04-11 12:44:46 +02:00
Benjamin Bouvier 9126d25abe Bug 1262208: Generalize the disabled compilation mode message for asm.js; r=luke
MozReview-Commit-ID: ERdr7xy6DeO

--HG--
extra : rebase_source : f893716bbf21b9026e893cc3c70e51d52aa91996
2016-04-07 13:56:24 +02:00
Nick Fitzgerald 03303bde0d Bug 1263270 - Sort census reports by smallest node ID counted, rather than number of nodes counted. r=jimb 2016-04-08 16:21:00 -04:00
Ryan VanderMeulen 445015283b Backed out changeset 7f1da255d058 (bug 1119537) for causing frequent SM(e) Memory-drainAllocationsLog-13.js timeouts. 2016-04-09 15:02:53 -04:00
Tooru Fujisawa ef64174f6e Bug 1263341 - Check lastIndex in non-global replace. r=till 2016-04-09 23:22:53 +09:00
Tooru Fujisawa f0791a344f Bug 1263139 followup: Mark String-match-flags.js shell only. r=bustage 2016-04-09 10:25:23 +09:00
Tooru Fujisawa c1b2d5b90a Bug 1263139 - Apply ToString to non-standard flags argument of String.prototype.{match,search,replace}. r=till 2016-04-09 08:29:59 +09:00
Jonathan Watt b4b32352f6 Bug 1263074 - Change the JavaScript syntax error message for the old octal literal notation to suggest the new notation. r=Waldo 2016-03-25 14:35:41 +00:00
Terrence Cole ee336d6356 Bug 1119537 - Make decommit a proper GC phase; r=jonco
--HG--
extra : rebase_source : 0dc09a101b094ce9ccd5e39e3dd8a3f9aca08cea
2016-02-26 08:03:30 -08:00
Tom Schuster 4a02bfc0dc Bug 1204562 - GetMethod should not box the receiver argument. r=till 2016-04-08 17:11:11 +02:00
Heiher a80468e17d Bug 1263094 - IonMonkey: MIPS: Change members to non-virtual in CodeGenerator. r=arai
---
 js/src/jit/mips32/CodeGenerator-mips32.h |  8 ++++----
 js/src/jit/mips64/CodeGenerator-mips64.h | 14 +++++++-------
 2 files changed, 11 insertions(+), 11 deletions(-)
2016-04-08 22:32:16 +08:00
Heiher a1f74d2efd Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpretFromI64/ToI64. r=bbouvier
---
 js/src/jit/mips64/CodeGenerator-mips64.cpp | 16 ++++++++++++++++
 js/src/jit/mips64/CodeGenerator-mips64.h   |  2 ++
 2 files changed, 18 insertions(+)
2016-04-08 22:32:12 +08:00
Heiher 0bdc79ef7f Bug 1263090 - OdinMonkey: MIPS: Implement AsmReinterpret. r=bbouvier
---
 .../jit/mips-shared/CodeGenerator-mips-shared.cpp  | 28 ++++++++++++++++++++++
 js/src/jit/mips-shared/CodeGenerator-mips-shared.h |  1 +
 2 files changed, 29 insertions(+)
2016-04-08 22:32:08 +08:00
Tooru Fujisawa 41d71a39c9 Bug 1263118 - Fix replace substitution without any capture. r=till 2016-04-08 21:38:46 +09:00
Hannes Verschore 3c242b4de7 Bug 977966: Fix flags of testcase, r=me 2016-04-08 05:47:34 -04:00
Hannes Verschore 0e4e221a50 Bug 1262453 - IonMonkey: Remove Nops which try to decrease liveness of instructions, but fail, r=bhackett 2016-04-08 05:47:32 -04:00
Hannes Verschore 36c320bfc2 Bug 1259403 - Tracelogger: Always make sure there are 3 free slots for events, r=bbouvier 2016-04-08 05:47:30 -04:00
Hannes Verschore d46e65855f Bug 1259403 - Tracelogger: Only increase capacity by multiples of 2, r=bbouvier 2016-04-08 05:47:28 -04:00
Hannes Verschore 3813a2138f Bug 1246552 - IonMonkey: Don't eliminate toString on objects and symbols, r=jandem 2016-04-08 05:47:26 -04:00
Hannes Verschore 99dfa87ea8 Bug 1254106 - IonMonkey: Disable assertion of incorrect labels on OOM on ARM, like on x86 and x64, r=jandem 2016-04-08 05:47:24 -04:00
Boris Zbarsky 1998448029 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
Bill McCloskey 8b6c0ca54e Bug 1260945 - Add missing isSystem check (r=bholley) 2016-04-07 17:15:25 -07:00
Nicholas Nethercote dbc9af380e Bug 1262731 - Add JS_InitWithFailureDiagnostic(). r=sfink.
This will help identify the cause of some Firefox start-up crashes when JS
initialization fails.

--HG--
extra : rebase_source : 3ed3c5e60f487e0ca11dc13bab93aa820ca8273f
2016-04-08 09:08:49 +10:00
Steve Fink 5d4511e5b1 Bug 1259848 - Various fixes for finding gcc in the correct location for spidermonkey TC builds and hazard shell builds, r=terrence
MozReview-Commit-ID: CIMSylw6JDr

--HG--
extra : rebase_source : 55eef7df6161f73e7dc903950766e9f0141aa79d
2016-03-22 14:04:45 -07:00
Steve Fink a3c9c8db0c Bug 1259843 - Upgrade sixgill to fix destructor handling, r=terrence
MozReview-Commit-ID: I4hv33aVpBs

--HG--
extra : rebase_source : ac707808d41be363c05ef1869b1c75499eb09ff1
2016-04-07 11:33:16 -07:00
Nick Fitzgerald 4b153b389a Bug 1258535 - Check for the existence of a global before checking if its standard classes are resolved; r=jandem
MozReview-Commit-ID: K2YgqJvwF7j
2016-04-07 14:15:42 -07:00
Nicolas B. Pierron 5272f4ef64 Bug 1261426 - GDB Scripts: Prevent gdb Memory.error when dereferencing null pointers. r=tromey 2016-04-07 13:31:57 +00:00
Tooru Fujisawa ae7d2914fe 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 1e9b2aa06a Bug 887016 - Part 16: Use RegExpSearcher in RegExp.prototype[@@search] optimized path. r=till 2016-01-28 18:56:12 +09:00
Tooru Fujisawa 23739dcaa6 Bug 887016 - Part 15: Use RegExpSearcher in RegExp.prototype[@@replace] optimized path. r=till 2016-01-28 18:56:09 +09:00
Tooru Fujisawa dc39863d18 Bug 887016 - Part 14: Add RegExpSearcher. r=h4writer 2016-01-28 18:56:02 +09:00
Tooru Fujisawa dd2692b0e2 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 c06f3481c2 Bug 887016 - Part 12: Implement RegExp[@@species] getter. r=evilpie,bholley 2015-10-25 02:19:03 +09:00
Tooru Fujisawa 7d12904dfe 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 78e5236cee 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 4d74d76aa9 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 630208ba15 Bug 887016 - Part 8: Add ObjectHasPrototype. r=nbp 2016-01-27 23:43:04 +09:00
Tooru Fujisawa ed2c803aeb Bug 887016 - Part 7: Add RegExpInstanceOptimizable. r=nbp 2016-01-28 18:55:24 +09:00
Tooru Fujisawa 6d7ce2b913 Bug 887016 - Part 6: Add RegExpPrototypeOptimizable. r=nbp 2015-11-22 03:07:36 +09:00
Tooru Fujisawa e7ca3ed9eb Bug 887016 - Part 5: Add HasOwnDataPropertyPure. r=jandem 2015-11-22 03:01:42 +09:00
Tooru Fujisawa 0574e426ad Bug 887016 - Part 4: Add GetOwnNativeGetterPure. r=jandem 2015-11-22 03:01:02 +09:00
Tooru Fujisawa 17acc7cb94 Bug 887016 - Part 3: Add LookupOwnPropertyPure. r=jandem 2015-11-22 02:55:46 +09:00
Tooru Fujisawa 6e8ddee9e1 Bug 887016 - Part 2: Add self-hosting RegExpCreate intrinsic. r=till 2015-11-22 02:55:45 +09:00
Tooru Fujisawa c4d9af3906 Bug 887016 - Part 1: Add native RegExpCreate. r=h4writer 2015-09-05 21:55:01 +09:00
Tooru Fujisawa f13aacf9a1 Bug 1165052 - Part 13: Add tests for ArraySpeciesCreate. r=efaust 2015-08-07 08:02:32 +09:00
Tooru Fujisawa f04b3eedc6 Bug 1165052 - Part 12: Use ArraySpeciesCreate in Array.prototype.splice. r=efaust,evilpie 2015-12-23 13:30:58 +09:00
Tooru Fujisawa 3ddda6989d Bug 1165052 - Part 11: Use ArraySpeciesCreate in Array.prototype.slice. r=efaust 2016-03-05 18:57:53 +09:00
Tooru Fujisawa b97a67e1ec Bug 1165052 - Part 10: Use ArraySpeciesCreate in Array.prototype.map. r=efaust 2015-08-07 08:02:18 +09:00
Tooru Fujisawa bbeebf0ef0 Bug 1165052 - Part 9: Use ArraySpeciesCreate in Array.prototype.filter. r=efaust 2015-08-07 08:02:14 +09:00
Tooru Fujisawa 669fbd01d7 Bug 1165052 - Part 8: Use ArraySpeciesCreate in Array.prototype.concat. r=efaust 2015-12-23 13:30:47 +09:00
Tooru Fujisawa 6e4195e031 Bug 1165052 - Part 7: Implement native ArraySpeciesCreate wrapper. r=efaust 2015-12-23 13:30:12 +09:00
Tooru Fujisawa 4c8c81fd44 Bug 1165052 - Part 6: Implement self-hosted ArraySpeciesCreate. r=efaust 2015-12-23 13:28:38 +09:00
Tooru Fujisawa 66b8e38b83 Bug 1165052 - Part 5: Inline IsWrappedArrayConstructor intrinsic. r=jandem 2015-11-16 09:01:56 +09:00
Tooru Fujisawa 35b8a2fd92 Bug 1165052 - Part 4: Inline IsConstructor intrinsic. r=jandem 2015-11-16 09:01:37 +09:00
Tooru Fujisawa e80037c86b Bug 1165052 - Part 3: Add IsWrappedArrayConstructor intrinsic. r=efaust 2015-12-23 12:46:35 +09:00
Tooru Fujisawa 2bdebb8857 Bug 1165052 - Part 2: Add IsArraySpecies. r=efaust 2015-12-23 12:43:15 +09:00
Tooru Fujisawa 886ad96018 Bug 1165052 - Part 1: Implement Array[@@species] getter. r=efaust,bholley 2015-08-07 07:53:32 +09:00
Tooru Fujisawa 28cf450f2c Bug 1233642 - Part 2: Self-host Array.prototype.concat. r=efaust,bholley 2015-12-18 17:02:27 +09:00
Tooru Fujisawa 6a959de223 Bug 1233642 - Part 1: Add IsArray intrinsic. r=efaust 2015-12-19 19:51:32 +09:00
Tooru Fujisawa 5efb474b91 Bug 1165052 - Part 0: Add throwOutOfMemory testing function and use it instead of Array.prototype.splice in test_oom_reporting.html. r=efaust 2016-04-07 19:20:22 +09:00
Tooru Fujisawa b8e4858daa 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 da93f3ea4f Bug 1165053 - Part 8: Add GetGetterPure. r=lth 2015-12-23 12:42:13 +09:00
Tooru Fujisawa 671b135804 Bug 1165053 - Part 7: Call SpeciesConstructor in TypedArray ctors. r=lth 2016-03-05 18:57:51 +09:00
Tooru Fujisawa b97c87c62f Bug 1165053 - Part 6: Refactor TypedArrayObjectTemplate::fromArray. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa 894fd72d42 Bug 1165053 - Part 5: Add native SpeciesConstructor wrapper. r=lth 2015-12-20 19:15:09 +09:00
Tooru Fujisawa 705c8d59d3 Bug 1165053 - Part 4: Add SpeciesConstructor tests for ArrayBuffer.prototype.slice. r=lth 2015-12-20 19:15:54 +09:00
Tooru Fujisawa 3a0b5095ae 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 1d61393303 Bug 1165053 - Part 2: Implement %TypedArray%[@@species] getter and ArrayBuffer[@@species] getter. r=evilpie 2015-12-20 19:14:44 +09:00
Tooru Fujisawa f28ae392ef Bug 1165053 - Part 1: Handle when ArrayBuffer species constructor returns wrapped ArrayBuffer. r=jwalden 2016-01-14 15:11:26 +09:00
Tooru Fujisawa 6e95072f22 Bug 1165053 - Part 0.3: Inline ArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:37 +09:00
Tooru Fujisawa 62d38868c7 Bug 1165053 - Part 0.2: Inline PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Tooru Fujisawa 5bcc718783 Bug 1165053 - Part 0.1: Add PossiblyWrappedArrayBufferByteLength self-hosting intrinsic. r=jwalden 2016-03-05 18:56:36 +09:00
Nicolas B. Pierron d4650a7b28 Bug 1261426 - GDB Scripts: Use the ExecutableAllocator as a fallback solution for finding JIT pages. r=tromey 2016-04-07 10:04:10 +00:00
Nicolas B. Pierron 8837ca1deb Bug 1261426 - GDB Scripts: Add pretty printers for js::jit::ExecutableAllocator. r=jandem 2016-04-07 10:04:09 +00:00
Benjamin Bouvier ad6e9687bd Bug 1262367: Baldr: Rename "trap" to "unreachable"; r=luke
MozReview-Commit-ID: B8Lgj4mF5aq

--HG--
extra : rebase_source : 8b024a6daa420eeca5fafe180ae58ba222a720e8
extra : amend_source : bce7ecb1dcbcf8e0001e461577da9e4eccfd048f
2016-04-06 10:36:42 +02:00
Morgan Phillips 3232bedaff Bug 1261904 - Refactor Debugger.Object.getErrorMessageName; r=jimb
There is no reason for this method to take an argument.

--HG--
extra : rebase_source : d9c33cd66396a1abb4f85f04331d10469b964fd6
2016-04-05 23:30:44 -07:00
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
Lars T Hansen b40b83ba87 Bug 1259392 - nail down isLockFree(4) for good. r=jolesen
--HG--
extra : rebase_source : 16fd4ff1b8345fda097152986d663293e591163f
2016-03-24 19:42:29 +01:00
Lars T Hansen 34cfaec35b Bug 1253371 - make atomics range checking conformant. r=jolesen
--HG--
extra : rebase_source : 96e3d48967ccc47eda7689d180d5077e7d08f7b4
2016-03-24 18:14:37 +01:00
Nicholas Nethercote 3e563eab78 Bug 1260984 (part 3) - Separate js::ClassSpec from js::Class. r=jorendorff.
js::ClassSpec 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 138 KiB per process on 64-bit, and half
that on 32-bit.

--HG--
extra : rebase_source : 852ac6770ace46958d018107e78c5c44ebd6528a
2016-04-01 10:59:54 +11:00
Nicholas Nethercote 5bb643ae93 Bug 1260984 (part 2) - Reduce ObjectOps exposure. r=jorendorff.
A number of ObjectOps instances are more exposed than they need to be. This
patch converts several to be either private (within a class) or static (within
a file).

--HG--
extra : rebase_source : f994ac229caa799da66d920d748ec1154fc9206f
2016-03-31 19:24:29 +11:00
Nicholas Nethercote b4b3e059d6 Bug 1260984 (part 1) - Remove ClonedBlockObject::objectOps_. r=jorendorff.
It's full of nulls which means that JS_NULL_OBJECT_OPS suffices.

--HG--
extra : rebase_source : 4f330175c7212b3e336b22ebae43b28399c5a90c
2016-03-31 19:20:04 +11:00
Morgan Phillips 9050862722 Bug 1255133 - Surface links to external documentation alongside relevant error messages 1/2; r=bgrins
--HG--
extra : rebase_source : 2c285070e648d42ccdd523c2415c6c6c6ed1a871
extra : amend_source : c6dd5cd109d6a767523dab6d35f8f3509995d9cd
2016-04-01 23:17:49 -07:00
Morgan Phillips 3fd9c37a6a Bug 1260509 - Implement String.prototype.padStart / padEnd; r=jorendorff
--HG--
extra : rebase_source : 40ab774040a9f278538352404246f50fa06fd850
extra : amend_source : 63ce3f376ec158df39b1e416f96c2924b9f14e9a
2016-03-31 08:04:12 -07:00
Nicolas B. Pierron 8bfcf1affe Bug 1259867 - GDB Scripts: Disable SpiderMonkey's unwinder by default. r=tromey 2016-04-01 17:23:56 +00:00
Bevis Tseng 47e9ad43d3 Bug 1198093 - Part 1: Expose indexedDB to System with [Exposed=System]. r=khuey 2016-03-30 11:22:14 +08:00
Nicolas B. Pierron eddc27f821 Bug 1239075 - RangeAnalysis: Assume that all captured results are used in bailing branches. r=h4writer 2016-04-01 16:11:52 +00:00
Benjamin Bouvier c9c61c841e Bug 1259911: Only add predecessors to the join block once; r=sunfish
MozReview-Commit-ID: A660ASYGb4l

--HG--
extra : rebase_source : 5980168bbba1a5a99212aebcb34d97b4018d1489
2016-03-29 18:41:39 +02:00
Benjamin Bouvier 0d293d93a1 Bug 1260737: wasm: Implement Reinterpret opcodes; r=luke
MozReview-Commit-ID: 8n5BHkVhwNp

--HG--
extra : rebase_source : 2bcce31e35541ee05396b61a805dbdf90da9b427
2016-03-30 14:10:06 +02:00
Benjamin Bouvier 4ffb807254 Bug 1260696: Update wasm text format spewing; r=luke
MozReview-Commit-ID: 8Yu19SYPphg

--HG--
extra : rebase_source : 2da5c57067cbdb283f80644c6473fbf5513d22aa
2016-03-30 13:23:21 +02:00
Benjamin Bouvier 7adef925ac Bug 1254142: Baldr: make control flow opcodes yield subexpressions; r=luke
MozReview-Commit-ID: 7mf8RgGZpSL

--HG--
extra : rebase_source : 6ed6220b13ae1fa4e0fe325e6f1c32a97d1b6585
2016-03-31 12:30:23 +02:00
Jon Coppeard bc3367f253 Bug 1258097 - Check for redeclaration of imports by functions r=shu 2016-04-01 10:29:03 +01:00
Eddy Bruel d4a0485727 Bug 1252958 - Implement Debugger.adoptDebuggeeValue;r=jimb 2016-04-01 10:50:30 +02:00
Nick Fitzgerald c2298e0f56 Bug 1261207 - Forward declare `js::ScriptSource` instead of casting `void*` pointers; r=jimb
MozReview-Commit-ID: KfzlLDjCYIn

--HG--
extra : rebase_source : 1fb2abd2cd7ab199b234e81793f6e3da6f973e13
2016-03-31 23:07:34 -07:00
Ryan VanderMeulen 95ae6db97d Backed out changeset 73c0af3f3693 (bug 1251855) because the fix is no longer needed since bug 1232639 landed on Gecko 47+.
--HG--
extra : rebase_source : 573c60e568f5533dcae5498b85eb3970f75a7c1a
2016-03-31 23:07:18 -04:00