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

1770 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard 78644b3683 Bug 1323241 - Only report things as gray if gray marking state is valid r=sfink 2017-01-06 11:23:21 +00:00
Nicholas Nethercote dd6856ca4d Bug 1324330 (part 1) - Mark js::Class and related types as NONHEAP. r=mccr8.
--HG--
extra : rebase_source : 94d5d7fcc5719f59741c7b50750f5beceb6cb08a
2016-12-19 14:18:41 +11:00
Hannes Verschore 642bdf9008 Bug 1328148: IonMonkey - Use MConcat for more cases, r=jandem 2017-01-05 10:22:16 +01:00
Jessica Jong 4f5f57be29 Bug 1310078 - Implement valueAsNumber and valueAsDate for <input type=datetime-local>. r=smaug,Waldo 2017-01-03 22:33:00 +01:00
Wes Kocher 6262320e74 Merge m-c to autoland, a=merge 2016-12-28 16:19:59 -08:00
Xidorn Quan 3526b1e58d Bug 1325351 part 1 - Remove workaround for VC in Maybe. r=froydnj
MozReview-Commit-ID: Anlrf3D2WtN

--HG--
extra : rebase_source : 9cc2e29e374753ad40774ebd0a0efce9f9449e3b
2016-12-29 10:58:01 +11:00
Tom Schuster 3ed240d6b8 Bug 1325927 - Reorder JSValueTag to match JSValueType. r=jandem 2016-12-27 13:31:07 +01:00
Jan de Mooij 158805801d Bug 1325075 - Fix Value::isGCThing footgun, stop returning true for NullValue. r=jonco,baku 2016-12-26 16:40:21 +01:00
Luke Wagner 7f0959b60f Bug 1313351 - Fix js::RefCounted to not do leak checking. r=jandem 2016-12-23 21:13:26 +01:00
Steve Fink 17d54944b0 Bug 1173354 - Switch GC statistics over to TimeStamp/TimeDuration, r=jonco
--HG--
extra : rebase_source : 6575a93731d2a26ca9b78c25a3dfa2aded5a108d
extra : histedit_source : df4b193445638710537524f4ddd8ac5cc183cb6b
2016-12-22 13:43:42 -08:00
Zibi Braniecki ee5fe1af13 Bug 1270146 - Add PluralRules API. r=Waldo
MozReview-Commit-ID: 2WCcMjiGjwZ

--HG--
extra : rebase_source : 4fa494e35424be579ba3714bab2a4e1932d6404c
2016-12-20 11:54:44 -08:00
Steve Fink 7f97277dc2 Bug 1308236 - Don't trigger read barriers when comparing wrapped pointers types r=sfink r=mccr8 2016-10-28 15:11:56 -07:00
Jon Coppeard 18edf08fb3 Bug 1322312 - Assert that GCRuntime::enter/leaveUnsafe region is only used on the main thread r=sfink 2016-12-06 17:23:48 -10:00
Luke Wagner 549d7571b3 Bug 1320905 - Add js::RefCounted that uses js_delete (r=waldo) 2016-12-05 15:59:18 -08:00
Carsten "Tomcat" Book 1e97bdd3fb Backed out changeset f38852711f38 (bug 1320905) for bustage on a CLOSED TREE
--HG--
extra : amend_source : 2e75cec3778e0ceb8a5d99d94004968604403f3a
2016-12-05 16:13:36 +01:00
Luke Wagner 0bf74100a8 Bug 1320905 - Add js::RefCounted that uses js_delete (r=waldo)
MozReview-Commit-ID: D0mSwdm0nn0
2016-12-05 08:46:27 -06:00
Ms2ger b4ff4ad7ea Bug 1319831 - Clarify some code with explicit casts; r=Waldo 2016-12-01 09:23:21 +01:00
Ms2ger 53af63d8fa Bug 1319831 - Remove an unbalanced pragma from Vector.h; r=Waldo 2016-12-01 09:23:21 +01:00
Benjamin Bouvier 02cd2cddce Bug 1320374: Rename THREAD_TYPE_ASMJS into THREAD_TYPE_WASM; r=luke
--HG--
extra : rebase_source : 38d4f0b6b73d86fb65a1ad2ba20a839cc3034ed1
2016-11-25 11:50:12 +01:00
Jan de Mooij bee8fe969f Bug 1317936 part 2 - Use atom hash code for jsid hashing. r=jonco 2016-11-24 13:39:06 +01:00
Jan de Mooij 0a1aa00f54 Bug 1277368 part 1 - Add JS::Result<> and use it in a few places. r=luke 2016-11-23 17:57:43 +01:00
Jon Coppeard ff9db2128c Bug 1318384 - Remove barriers on Zone typed object descriptors set to avoid reviving compartments r=billm 2016-11-23 10:15:05 +00:00
Tooru Fujisawa 7391d5b54f Bug 1318815 - Remove ClassSpec delegation and point target ClassSpec directly from prototype class. r=jandem 2016-11-22 16:47:29 +09:00
André Bargull 8a555a2bfd Bug 1303091 - Share static Intl data across compartments. r=Waldo, r=jonco
--HG--
rename : js/src/builtin/IntlTzData.js => js/src/builtin/IntlTimeZoneData.h
extra : rebase_source : 558f4fba32efdee429423055f3786e1dc09e4d68
2016-11-17 14:40:18 -08:00
Jon Coppeard 6802f12fbc Bug 1316150 - Make profiler frame labels a GC hazard and make shell profiling function copy them r=djvj 2016-11-21 10:26:33 +00:00
Jon Coppeard 5cd9e63353 Backout changeset 093a7b8b7285 (bug 1297360) for causing bug 1316150 2016-11-21 10:26:31 +00:00
Makoto Kato 48a2c42b58 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8
2016-11-21 11:14:44 +09:00
Iris Hsiao defb095265 Backed out changeset e5164f497e42 (bug 1310067) for bustage
CLOSED TREE
2016-11-21 11:14:16 +08:00
Makoto Kato 0b47186ed3 Bug 1310067 - VS2017 doesn't require JS_DEPENDENT_TEMPLATE_HINT workaround. r=jonco
MozReview-Commit-ID: DuDDyP6tpc8

--HG--
extra : rebase_source : b503bdb2ce19f5bd87fcb0c114765e5a5de1c35d
2016-11-21 11:14:44 +09:00
Sylvestre Ledru d75b5ea206 Bug 1317430 - Avoid a unnecessary copy by passing a const & in js/ r=Waldo
MozReview-Commit-ID: EJ7B3697kZj

--HG--
extra : rebase_source : ada320437479a3d6c644e4af15a92c2a25839fab
2016-11-14 23:16:24 +01:00
Tom Schuster 77bdad13e3 Bug 1015798 - Improve ClassSpec depedent behavior especially with inheritance. r=bz 2016-11-08 22:08:28 +01:00
Jon Coppeard 37de54b8fa Bug 1315122 - Remove JS::Heap<T>'s unused setToCrashOnTouch() methods r=jandem 2016-11-04 17:32:36 +00:00
Jon Coppeard 99aa8489c8 Bug 1313098 - Assert we only access heap state on the main thread r=sfink r=mccr8 2016-11-04 17:32:36 +00:00
Benjamin Bouvier 3397fa4d20 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2

--HG--
extra : rebase_source : 3ee8b822a6097260c9b9c0487b91a63e6ff1e575
2016-11-02 18:22:37 +01:00
Tooru Fujisawa 5d7377b42e Bug 1185106 - Part 11.1: Implement async functions. r=till
MozReview-Commit-ID: ChWpakqUlsi
2016-08-29 02:05:55 +09:00
Tooru Fujisawa 1cabfda6d8 Bug 1311088 - Part 3: Do not check NaN in NumberValue(uint32_t i). r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 183537abe4 Bug 1311088 - Part 2: Add JS::IsCanonicalized and remove JS::Value::setDoubleNoCheck. r=jwalden 2016-10-29 01:47:31 +09:00
Tooru Fujisawa 57db30aa76 Bug 1311088 - Part 1: Add mozilla::SpecificNaNBits and JS::detail::CanonicalizedNaNBits. r=jwalden 2016-10-29 01:47:30 +09:00
Tooru Fujisawa 254dc367d8 Bug 1312488 - Assign whole layout instead of layout.asDouble in JS::Value::setDoubleNoCheck. r=jandem 2016-10-27 22:57:40 +09:00
Jon Coppeard 435bdeeaec Bug 1310147 - Remove AutoAssertNoAlloc and replace with AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Jon Coppeard 4f90a79a0c Bug 1310147 - Rename AutoAssertOnGC to AutoAssertNoGC r=sfink 2016-10-27 11:03:53 +01:00
Lars T Hansen 5666e2e102 Bug 1302036 - Make structured clone accept argument that controls serialization of some data types. r=sfink
--HG--
extra : rebase_source : c082dcc82adccba47a7bd0e18fb59d87b072ae3d
2016-10-24 14:22:47 +02:00
Tooru Fujisawa 82f68e8a08 Bug 1243617 - Part 2: Remove JS_VALUE_IS_CONSTEXPR. r=jwalden 2016-10-23 01:46:36 +09:00
Tooru Fujisawa 19c4b08136 Bug 1243617 - Part 1: Add constructor for JS::Value::layout. r=jwalden 2016-10-23 01:46:36 +09:00
Jon Coppeard 556585c65f Bug 1297558 - Remove explicit calls to Expose*ToActiveJS r=mccr8 2016-10-18 17:58:19 +01:00
Tooru Fujisawa 4777efc768 Bug 1304191 - Part 11: Fold jsval_layout into JS::Value. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 934d8428a6 Bug 1304191 - Part 10: Remove JSVAL_TO_IMPL and IMPL_TO_JSVAL. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa b6f7a1d6dd Bug 1304191 - Part 9: Add Value::fromDouble and use it in CanonicalizedDoubleValue. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 45ce3de0ff Bug 1304191 - Part 8.1: Remove JS::Value::setUnmarkedPtr and JS::Value::toUnmarkedPtr. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa 58ffefe531 Bug 1304191 - Part 8: Stop using jsval_layout in JIT. r=jwalden 2016-10-18 16:46:01 +09:00
Tooru Fujisawa ab5fd27553 Bug 1304191 - Part 7: Move JSVAL_EXTRACT_NON_DOUBLE_TYPE_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa a35fdf8267 Bug 1304191 - Part 6: Move JSVAL_TO_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 6535bee8fb Bug 1304191 - Part 5.1: Always use JS::Value::toTag() to get tag in JS::Value::traceKind. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa a552563f54 Bug 1304191 - Part 5: Move JSVAL_TRACE_KIND_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 481cbe78ba Bug 1304191 - Part 4: Move JSVAL_SAME_TYPE_IMPL into SameType. r=jwalden 2016-10-18 16:46:00 +09:00
Tooru Fujisawa 0cf3292966 Bug 1304191 - Part 3: Move *_TO_JSVAL_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa 95cdd0842a Bug 1304191 - Part 2: Move JSVAL_IS_*_IMPL into JS::Value methods. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa cf85a10917 Bug 1304191 - Part 1: Change BUILD_JSVAL to JS::Value::fromRawBits and JS::Value::fromTagAndPayload. r=jwalden 2016-10-18 16:45:59 +09:00
Tooru Fujisawa a60c24ed6c Bug 1290337 - Part 25: Use HandleValue in ToNumber and ToNumberSlow. r=shu 2016-10-18 16:45:59 +09:00
Tooru Fujisawa 7ee22eddfb Bug 1290337 - Part 23: Use alignas and MOZ_NON_PARAM attribute for jsval_layout. r=jwalden 2016-09-11 18:23:11 +09:00
Tooru Fujisawa ac643f0834 Bug 1290337 - Part 21: Use const reference in BarrierMethods::exposeToJS. r=sfink 2016-10-18 16:45:57 +09:00
Benjamin Bouvier fcf5a05013 Bug 1307768: Don't include wasmGuardPages with the rest of the ClassInfo fields; r=njn
MozReview-Commit-ID: 9tqQdAn2Ywa

--HG--
extra : rebase_source : 0a8ed1a2637968285f497ef3e41aa3b75a8ed49f
extra : amend_source : 759c252412b2e5ba99805cf5bb05828ff947f833
2016-10-14 14:53:08 +02:00
Jon Coppeard c50fa1fd48 Bug 1301377 - Disallow GC while using ProfilingFrameIterator r=jandem 2016-10-14 17:13:47 +01:00
Bill McCloskey 387c3c0e70 Bug 1308039 - GC interrupt callbacks (r=jonco) 2016-10-10 18:06:17 -07:00
Bill McCloskey da1e178940 Bug 1308039 - Add AutoAssertOnBarrier (r=jonco) 2016-10-10 18:06:16 -07:00
Bill McCloskey a9f9cf1ed6 Bug 1308039 - Convert AutoAssertOnGC to release assertion (r=jonco) 2016-10-10 18:06:15 -07:00
Sebastian Hengst 05110ba250 Backed out changeset d3a026933bce (bug 1308039) for spidermonkey bustage. r=backout on a CLOSED TREE 2016-10-07 21:39:34 +02:00
Sebastian Hengst e7f8eb7dc9 Backed out changeset 48e363362718 (bug 1308039) 2016-10-07 21:39:00 +02:00
Sebastian Hengst 1010d84618 Backed out changeset ab1d29e9c95c (bug 1308039) 2016-10-07 21:38:53 +02:00
Bill McCloskey 8c6a951cce Bug 1308039 - GC interrupt callbacks (r=jonco) 2016-10-07 12:26:21 -07:00
Bill McCloskey b5679facbf Bug 1308039 - Add AutoAssertOnBarrier (r=jonco) 2016-10-07 12:26:20 -07:00
Bill McCloskey f5fb4df360 Bug 1308039 - Convert AutoAssertOnGC to release assertion (r=jonco) 2016-10-07 12:26:19 -07:00
Jon Coppeard 123936bacd Bug 1306382 - Automatically ExposeToActiveJS when reading out of a TenuredHeap<T> r=sfink r=mccr8 2016-10-07 13:58:37 +02:00
Mike Hommey 4b533dfa0b Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn
--HG--
extra : rebase_source : 41bcac276e0c7d4049e6ce3b914f9105d3b85b55
2016-10-04 15:31:45 +09:00
Iris Hsiao 3633ffd5dc Backed out changeset 1c4f0a3784f1 (bug 1287671) for jit-test bustages
CLOSED TREE
2016-10-04 17:05:04 +08:00
Mike Hommey 5c2901176e Bug 1287671 - Replace IS_{LITTLE|BIG}_ENDIAN with MOZ_{LITTLE|BIG}_ENDIAN in js/. r=njn
--HG--
extra : rebase_source : 2a66870c0f6f24936a7295c561932944d3988a64
2016-10-04 15:31:45 +09:00
Terrence Cole 0edc10380c Bug 1297558 - Use a read barrier on Heap to ExposeToActiveJS r=sfink r=mccr8 2016-02-07 09:08:55 -08:00
Tooru Fujisawa e0c7801dc3 Bug 1290337 - Part 13: Replace Value parameter to const Value& in finalizeInBackground. r=sfink 2016-09-11 18:15:23 +09:00
Tooru Fujisawa da0e2aa2f2 Bug 1290337 - Part 8: Use const reference in VoidDefaultAdaptor and BoolDefaultAdaptor. r=terrence 2016-09-11 18:15:23 +09:00
Tooru Fujisawa c72eb75470 Bug 1290337 - Part 7: Replace Value parameter to const Value& in GC. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa 56fd9aac76 Bug 1290337 - Part 6: Replace Value parameter to const Value& in RootingAPI. r=terrence 2016-09-11 18:15:22 +09:00
Tooru Fujisawa a18c43b831 Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa b46b1c2f1f Bug 1290337 - Part 2: Replace jsval_layout parameter to const jsval_layout&. r=evilpie 2016-09-11 18:15:21 +09:00
Tooru Fujisawa 458bd95e06 Bug 1289050 - Part 2.2: Use ASCII variant of JS_ReportError when formatting JSClass::name, and assert it is ASCII. r=jwalden 2016-09-30 12:34:43 +09:00
Jessica Jong c35a0bf546 Bug 1278186 - Implement valueAsNumber and valueAsDate for <input type=week>. r=smaug,Waldo 2016-09-29 01:08:00 +02:00
Jon Coppeard 591ec11f61 Bug 1305236 - Don't call ExposeObjectToActiveJS on null pointer r=smaug 2016-09-29 10:18:50 +01:00
Terrence Cole 76b800594e Backed out changeset d85334f696eb (bug 1285057) for implicitly depending on clang 3.8.
--HG--
extra : rebase_source : 472f9411c9d528d63d523c99f4842a1216bdd560
2016-09-23 15:59:55 -07:00
Terrence Cole 02f5e80db6 Bug 1245316 - Use Rooted<GCVector> to implement AutoVector; r=sfink
--HG--
extra : rebase_source : 24a7c4e21ea94820d94a4e8454044e4f1988365e
2016-09-22 17:01:38 -07:00
Jeff Walden 4ba700f16d Bug 1302276 - Don't abuse mozilla::Forward in move-constructor definitions to move members/base classes into the new object, and correctly use perfect forwarding in Zone::cellIter. r=terrence
--HG--
extra : rebase_source : e57f8cbb51e5e7fccd928b38bd36bd8d09abb4de
2016-09-12 16:35:27 -07:00
Terrence Cole b605dece0c Bug 1285057 - Blacklist UBSan detection of the GC's generic interfaces; r=sfink
--HG--
extra : rebase_source : f5367a8685ec462edb7e30e5ed3d274b4a9bcd0f
2016-07-07 08:59:36 -07:00
Carsten "Tomcat" Book ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Benjamin Bouvier b81b572a1c Bug 1303013: Account memory for wasm guard pages; r=njn, r=luke
MozReview-Commit-ID: BHS1UfgT1yf

--HG--
extra : rebase_source : 7fea9606f776a904870fdfb4bbb93e43fd4b0a44
2016-09-19 19:39:50 +02:00
Wes Kocher 598c29ffbe Backed out changeset a03e56efce4c (bug 1281156) for android failures in test_bug772796.html a=backout CLOSED TREE 2016-09-21 16:37:23 -07:00
ajay d220ab5953 Bug 1303708 - Remove unused JSID_IS_ZERO(jsid id) function. r=arai
MozReview-Commit-ID: 49WIEl6MCsF

--HG--
extra : rebase_source : 751611cb27d134f3f768bb43a579b489b458be18
2016-09-22 04:27:52 +05:30
Hannes Verschore e5f367169f Bug 1281156: TraceLogger: Enable caching of EventPayload for mainthread again, r=bbouvier,jonco 2016-09-21 19:26:05 +02:00
Terrence Cole f782b9ec74 Bug 1291776 - Assert that we don't create gray arguments; r=sfink
--HG--
extra : rebase_source : 6d27a748f0eafe6e1995a54c2820dd0519ca5850
2016-09-15 13:50:03 -07:00
Jon Coppeard d97a19687b Bug 1298639 - Use bytecode offsets rather than direct pointer in profiling API r=shu 2016-09-13 14:06:46 +02:00
Jeff Walden 176f2f5a05 Bug 1246061 - Add some comments. r=luke
--HG--
extra : rebase_source : 6577e0ab9834fa00f3f0fe2893a6b039bb70f5f3
2016-03-23 13:21:02 -07:00
Terrence Cole 5694dcca06 Bug 1237058 - Nursery allocate cross-compartment wrappers; r=jonco,r=terrence
--HG--
extra : rebase_source : b01515c98e505d10824b420e0df8a7e9aaf45793
2016-04-04 11:50:12 -07:00
Jon Coppeard c5e590d3e6 Bug 1297360 - Copy strings returned by ProfilingFrameIterator API r=djvj 2016-09-08 13:38:37 +01:00