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

54315 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 6dd45df6bb Bug 1264778 - Merge some XPConnect js::Class instances. r=mrbkap.
XPC_WN_WithCall_ObjectOps and XPC_WN_NoCall_ObjectOps are both equal to
JS_NULL_OBJECT_OPS.

As a result, XPC_WN_ModsAllowed_{With,No}Call_Proto_JSClass are identical, as
are XPC_WN_NoMods_{With,No}Call_Proto_JSClass. (In both cases, modulo the class
name.)

This patch merges those identical-except-for-their-name pairs, resulting in
XPC_WN_ModsAllowed_Proto_JSClass and XPC_WN_NoMods_Proto_JSClass.

--HG--
extra : rebase_source : 64c5990fa5dd09418466ee25a24300bb9cfd3596
2016-04-04 16:25:21 +10:00
Tooru Fujisawa 1fd48d7c01 Bug 1263558 - Part 4: Call initBuiltinConstructor after defining properties in InitStringClass. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa 52722e54e7 Bug 1263558 - Part 3: Remove JSFUN_GENERIC_NATIVE. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa 8a3276cbb8 Bug 1263558 - Part 2: Self-host String generics. r=till 2016-04-15 12:32:37 +09:00
Tooru Fujisawa 8d58721548 Bug 1263558 - Part 1: Self-host Array generics. r=till,bholley 2016-04-15 12:32:36 +09:00
Steve Fink 0ed02abbd7 No bug. Helper tool to partially autogenerate portions of the release notes.
DONTBUILD

MozReview-Commit-ID: JjKuNqmhBLY

--HG--
extra : rebase_source : 6642218ee3dcc6bd00e11b75a47063705def84f5
2016-04-14 16:04:28 -07:00
Mike Hommey cb8bf91611 Bug 1257448 - Move MOZ_MEMORY_* defines to moz.configure. r=nalexander 2016-04-15 08:14:05 +09:00
Mike Hommey d685556de0 Bug 1257448 - Move --enable-jemalloc and MOZ_JEMALLOC4 to moz.configure. r=nalexander
At the same time, allow to enable jemalloc 4 with --enable-jemalloc=4.
MOZ_JEMALLOC4 will be deprecated later.

This also changes the semantics for freebsd, where the system jemalloc
is used, relying on MOZ_MEMORY being unset (default on freebsd) and
MOZ_JEMALLOC4 to be set. In this new setup, MOZ_JEMALLOC4 implies
--enable-jemalloc=4, which still works because of the corresponding
changes to old-configure.
2016-04-15 08:14:05 +09:00
Jeff Gilbert 0b554f96bd Bug 982928 - Remove mozconfig.vs2010. - r=gps,sfink sr=ted.mielczarek 2016-04-14 13:37:27 -07:00
Terrence Cole 6512b60963 Bug 1263777 - Use WeakCache to sweep the InitialShapeTable; r=jonco
--HG--
extra : rebase_source : fc5c69abc683e09cf57ffa1ddb61d63d62e74e89
2016-04-12 17:06:57 -07:00
Terrence Cole 321ad1873e Bug 1263772 - Use WeakCache wrapper to sweep BaseShape table; r=jonco
--HG--
extra : rebase_source : a698230ef1f38bfd549417ed2256603ab94bd49e
2016-04-12 17:05:15 -07:00
Terrence Cole a00f81eba6 Bug 1263771 - Sweep the InnerViewTable with WeakCache; r=sfink
--HG--
extra : rebase_source : 8e592dd88662d97a1901ffdc2aec4f9b0668c021
2015-12-21 16:20:42 -08:00
Terrence Cole 4e3ff61f39 Bug 1263769 - Sweep WeakCaches in parallel; r=sfink
--HG--
extra : rebase_source : 2aa5b5a256a5428f2b7aa5d2e10f84592bb3f9ab
2016-04-12 11:02:48 -07:00
Terrence Cole b7c56d9cba Bug 1233862 - Add a WeakCache builtin to automatically manage sweeping; r=sfink
--HG--
extra : rebase_source : 5731194b652a17fdcbc666d965690949f28b3ada
2015-12-18 14:50:20 -08:00
Boris Zbarsky 911713a99f Bug 1264377. Get rid of some unnecessary custom JSClass hook functions in xpconnect sandboxes and DOM simple globals. r=bholley 2016-04-14 14:54:01 -04:00
Tom Schuster c10d9494c7 Bug 1041586 - Fold away property accesses to not-defined properties. r=jandem 2016-04-14 18:09:56 +02:00
Jan de Mooij 67e655e4bf Bug 1261361 - Make Vector::infallibleGrowByUninitialized check mReserved instead of mCapacity. r=Waldo
--HG--
extra : rebase_source : 2b6cdfae61946505b83748c016ef0b112ecf4780
2016-04-14 17:32:48 +02:00
Tooru Fujisawa 12599436b1 Bug 1264561 - Fix ClassOps::call and ClassOps::construct address calculation in visitIsCallable and visitIsConstructor. r=efaust
--HG--
extra : amend_source : ccd8d65ee7622b071fb90c46d53c6ffcfaf2613a
2016-04-14 19:00:17 +09:00
Tooru Fujisawa 251a87be0b Bug 1264085 - Use not-non-release-only warning in js/src/tests/shell/warning.js. r=shu 2016-04-14 16:41:37 +09:00
Tooru Fujisawa c3fd8d9ace Bug 1263857 - Initialize the slots of the match result object before creating properties in generateRegExpMatcherStub. r=h4writer 2016-04-14 16:41:37 +09:00
Tooru Fujisawa 1cef247687 Bug 1263879 - Check the return value of AtomizeString in str_replace_string_raw. r=h4writer 2016-04-14 16:41:37 +09:00
Tooru Fujisawa b3b67413d6 Bug 1263888 - Push TypeBarrier after ArraySlice. r=jandem 2016-04-14 16:41:36 +09:00
Mike Hommey 341ebd8679 Bug 1259382 - Move CC/CXX/HOST_CC/HOST_CXX to moz.configure. r=ted
At the same time, we improve things slightly by deriving HOST_CC from CC
in a smarter way, as well as CXX from CC, which we weren't doing
previously.

Many related things are not moved at the same time to keep the patch
somehow "small".
2016-04-14 13:21:29 +09:00
Jeff Walden 7757c74ac0 Declare and define ExecutableAllocator::reprotectRegion only #ifdef NON_WRITABLE_JIT_CODE, to eliminate MOZ_ASSERT of a constant condition that makes some compilers warn. No bug, r=efaust over IRC 2016-04-13 19:19:03 -07:00
Jeff Walden e97969a976 Bug 1257164 - Check for interrupts in a few loops in JSON.stringify to eliminate feedback-less hangs. r=evilpie
--HG--
extra : rebase_source : 6a0b76c8e7dd423246a9cd716cb6d80f3a23fde7
2016-04-13 14:39:58 -07:00
Jeff Walden 7a694921d3 Bug 888969 - Make XPCJSID instanceof comparisons work correctly when [[GetPrototypeOf]] on the [[Prototype]] chain of the instance being tested throws an exception. r=bz
--HG--
extra : rebase_source : 20bcd4f23114762afa4ad708085c3accbbbe5d64
2016-04-13 14:30:16 -07:00
Jeff Walden 370120f9b8 Bug 1259877 - Adjust Promise code to use Call instead of Invoke. r=till
--HG--
extra : rebase_source : 991fbfe3fcc01a0b13768a68f8a490860b6ad68b
2016-03-25 22:19:09 -07:00
Jeff Walden 577281e2d7 Bug 1259877 - Rename FastInvokeGuard to FastCallGuard and make it not depend on CallArgs::set{Callee,This}, and remove js::Invoke. r=shu
--HG--
extra : rebase_source : 5c57a037a469a9e9a0df7d1a46c77b1845316d55
2016-03-22 13:40:21 -07:00
Jeff Walden 32071a25f8 Bug 1259877 - Update various builtins to use js::Call, not js::Invoke. r=efaust
--HG--
extra : rebase_source : 48a39d68dfbda641fbf1ace43864d70716bf145b
2016-03-22 13:40:20 -07:00
Jeff Walden 0fe8132890 Bug 1259877 - Update miscellaneous code to use js::Call instead of js::Invoke. r=till
--HG--
extra : rebase_source : 7881073ec02d63777da5275a64885823e3ba8ebf
2016-03-21 16:18:33 -07:00
Jeff Walden 40e4bb1dbb Bug 1259877 - Update ScriptedDirectProxyHandler code to use js::Call and FixedInvokeArgs. r=evilpie
--HG--
extra : rebase_source : 6616569ab392eb01524b0dc4abc9818e5ea0fb20
2016-03-21 16:17:28 -07:00
Jeff Walden 5df03c8ef4 Bug 1259877 - Update Reflect.parse callback code to work with InvokeArgs and js::Call. r=arai
--HG--
extra : rebase_source : 0d1b24ea2d4e821f419bab753db2471b1a827341
2016-03-21 16:13:36 -07:00
Jeff Walden 03498fc0e9 Bug 1259877 - Update function-calling JSAPI methods to use js::Call. r=sfink
--HG--
extra : rebase_source : 1f4ff1b389007b39ebdd6fd23a8d11c045f00d66
2016-03-21 16:12:54 -07:00
Jeff Walden 3be1890b85 Bug 1259877 - Update DoCallFallback to use js::CallFromStack. r=jandem
--HG--
extra : rebase_source : c6729d6dcb8005d361e9e782ecad1331d90403b8
2016-03-29 08:48:28 -07:00
Jeff Walden 6593c6a8fd Bug 1259877 - Update various miscellaneous function-calling code to js::Call. r=jandem
--HG--
extra : rebase_source : c01dadfba56df387e4cd5eb71c658e46fef8c7ab
2016-03-21 16:05:36 -07:00
Jeff Walden 8687a40f93 Bug 1259877 - Update Debugger code to use js::Call rather than Invoke. r=jorendorff
--HG--
extra : rebase_source : 2422976d3e6139413d20e0bc27f2a2f162160c21
2016-03-21 16:01:18 -07:00
Jeff Walden 8960d5f7bb Bug 1259877 - Add a bunch of Call overloads for 0/1/2 arguments with this as (HandleValue | JSObject*). r=jorendorff
--HG--
extra : rebase_source : 79b8e4b1cf54921417be31b17187ba4f8a72c8d5
2016-04-05 14:06:09 -07:00
Jeff Walden 20b04cbd46 Bug 1259877 - Add CallFromStack for certain internal users, js::Call for general use, and mark js::Invoke as deprecated. r=efaust
--HG--
extra : rebase_source : 4e2d82e18da373cc7ab7ba30e86af2f777665794
2016-03-21 15:51:13 -07:00
Jeff Walden 525e0715b0 Bug 1259877 - Eliminate Invoke(JSContext*, const CallArgs&, MaybeConstruct = NO_CONSTRUCT) by 1) renaming it to a more-internal name, 2) adding an Invoke overload for existing InvokeArgs providers only, and 3) adding an InternalInvoke function to temporarily mark non-InvokeArgs places using the existing signature that will later be changed not to. r=efaust
--HG--
extra : rebase_source : a5807c1c0c1685b6cfb8306fa82e1e430ce8e2b4
2016-03-21 14:32:26 -07:00
Jeff Walden f5360f52f0 Bug 1259877 - Change js::DirectEval to take v/vp rather than a CallArgs to operate on directly. r=efaust
--HG--
extra : rebase_source : 8508fb793576454565ab316e515e77938f266317
2016-03-21 14:28:59 -07:00
Hannes Verschore e0b8ab8aeb Bug 1262453: IonMonkey - Don't add resume point for constants, r=nbp 2016-04-13 10:04:04 -04:00
Hannes Verschore 4020f87091 Bug 1263895 - IonMonkey: Check return value of all functions in GVN, r=jandem 2016-04-13 10:04:02 -04:00
Hannes Verschore e337970222 Bug 1263794 - IonMonkey: Crash when iterating graph and finding a nullptr MDefinition, r=jandem 2016-04-13 10:04:01 -04:00
Jon Coppeard da4bbe510f Bug 1263881 - Check the the number of body level lexicals doesn't exceed that which we can store in Bindings r=shu
--HG--
extra : rebase_source : 639ae9e661e6605709ad2dcc09918391dd6b61c1
2016-04-13 14:06:21 +01:00
Jon Coppeard c6b5b97275 Bug 1263871 - Fix OOM handling in while resolving function name r=shu
--HG--
extra : rebase_source : 8c4e2537c6661748036e267c855806c80aed1f7c
2016-04-13 14:06:21 +01:00
Tom Schuster e5356af969 Bug 1255925 - Give a name to getters/setters and integer-named methods. r=efaust 2016-04-13 13:43:43 +02:00
Tom Schuster c5870592c8 Bug 1041586 - Autogenerate symbol names. r=jorendorff 2016-04-13 13:43:43 +02:00
Greg Weng 775e4ae3c1 Bug 1198701 - ArrayIterator gets length property after iteration has finished. r=till 2016-04-12 18:29:00 +02:00
Jon Coppeard a49aa74ce1 Bug 1259180 - Compact arenas containing scripts r=terrence 2016-04-13 10:03:44 +01:00
Mike Hommey 19f78b2dd2 Bug 1259382 - Remove support for Intel C/C++ compiler. r=ted 2016-04-13 17:11:36 +09:00