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

45457 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 02d8b3daa4 Bug 1052139 - Implement the ability to prevent modifying an extensible object's [[Prototype]]. r=efaust, r=bholley
--HG--
extra : rebase_source : 547490455fc588e40dd2b2dba4c3355768d78f8d
2014-09-23 13:03:40 -07:00
Jeff Walden 5573b02492 Bug 1072817 - Minor adjustments (primarily for method-ordering) as a followup to making accessing the [[Prototype]] of a revoked proxy not crash. Also add another test. r=trivial
--HG--
extra : rebase_source : 4bc4c0b872a5ef2b8a4ae563b2ff44a246a838e3
2014-10-16 15:43:23 -07:00
Terrence Cole 6ebb480008 Bug 1074961 - Part 6: remove GCChunkSet; r=sfink
--HG--
extra : rebase_source : fc4076808c7d02956e298d5942f570ef91ca772d
2014-10-13 19:15:40 -07:00
Terrence Cole 2067737c4a Bug 1074961 - Part 5: use ChunkPool to manage the available chunk sets; r=sfink,r=jonco
--HG--
extra : rebase_source : 60c9cca467fcee9cd8b2ef666ff1d863003b0ad3
2014-10-06 10:25:18 -07:00
Brian Hackett a220b054b1 Bug 1087310 - Watch for objects that have been swapped when marking store buffer slot edges, r=terrence. 2014-10-22 14:12:08 -07:00
Hannes Verschore a1e41d89c8 Bug 1042823 - Don't blindly make MMinMax optimize for doubles, r=jandem,sunfish 2014-10-22 22:12:45 +02:00
Jan de Mooij 2beee53839 Bug 1087496 - Optimize codegen for IsNullOrLikeUndefined* instructions. r=h4writer
--HG--
extra : rebase_source : 4699073583913d1d471ba7f72487dac305d0eb0b
2014-10-22 21:58:25 +02:00
Nicolas B. Pierron 5f070540ab Bug 1081268 - TypeArrayObject: Always use UseNewTypeForInitializer. r=bhackett 2014-10-22 18:42:15 +02:00
Nicolas B. Pierron 39b8ea1136 Bug 1083866 - No longer suppress GC for the evaluation of recover instructions. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron 1fbcbe24d7 Bug 1083866 - Handle potential invalidation of the bailing frame. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron 5225ef8c26 Bug 1083866 - Mark bailout frames. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron 252da901b5 Bug 1083866 - Only remove instructions from the JitActivation after the bailout. r=jandem 2014-10-22 18:37:35 +02:00
Nicolas B. Pierron febdcf5646 Bug 1083866 - Add test case to check for GC during bailouts. r=nbp 2014-10-22 18:37:34 +02:00
Terrence Cole b1a59b2c15 Bug 1013001 - Make it simpler to deal with nursery pointers in the compiler; r=jandem
--HG--
extra : rebase_source : 63bbd781bbf091052af44544c3a8569f778635e3
2014-10-15 14:26:52 -07:00
Jan de Mooij 78ccf3bab4 Bug 1084959 - Don't abort syntax parser for (a) = ...; r=bhackett 2014-10-22 18:11:55 +02:00
Jan de Mooij da7c451ced Bug 1087232 - Don't atomize eval strings for the eval cache. r=luke 2014-10-22 18:11:53 +02:00
Luke Wagner 5b7b13cafd Bug 1084985 - Remove more 'using namespace JS;' to avoid sporadic bustage in unified builds (r=lth) 2014-10-22 11:03:41 -05:00
Boris Zbarsky 983798c067 Bug 1019191 part 24. Remove the XPCCallContext stuff from xpc_qsUnwrapArgImpl. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky 0929eae5cc Bug 1019191 part 23. Eliminate the ppArgRef argument of xpc_qsUnwrapArgImpl and UnwrapArg, since we're now always handing out a ref in ppArg. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky a688f3fefc Bug 1019191 part 22. Eliminate the effectively unused vp argument of xpc_qsUnwrapArgImpl. r=peterv 2014-10-22 11:40:51 -04:00
Boris Zbarsky b87343d102 Bug 1019191 part 21. Change xpc_qsUnwrapArgImpl and UnwrapArg to take a HandleObject, not a HandleValue. r=peterv 2014-10-22 11:40:50 -04:00
Boris Zbarsky b5aebba0c1 Bug 1019191 part 20. Replace the getWrapper/castNative stuff in XPCQuickStubs with what I believe is a single function call that's equivalent to it, since the tearoff bit was dead code anyway due to never resetting clasp. r=peterv,bholley 2014-10-22 11:40:50 -04:00
Boris Zbarsky f407d435ee Bug 1019191 part 18. Remove the unused tearoff bits in quickstub unwrapping. r=peterv 2014-10-22 11:40:50 -04:00
Boris Zbarsky c26753b139 Bug 1019191 part 17. Make some of the remaining quickstub unwrap methods static. r=peterv
Note that we know that we always call UnwrapArg with an object, so
xpc_qsUnwrapArgImpl knows v is always an object.
2014-10-22 11:40:50 -04:00
Boris Zbarsky 6c525b5027 Bug 1019191 part 16. Remove nsDOMQS.h. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky 170752efc2 Bug 1019191 part 14. Remove the now-unused HasBitInInterfacesBitmap and all the interfaces bitmap machinery that ends up unused as a result. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky db949c14df Bug 1019191 part 13. Remove the now-unused castNativeArgFromWrapper and castNativeFromWrapper functions. r=peterv 2014-10-22 11:40:49 -04:00
Boris Zbarsky 66f049ef9f Bug 1019191 part 12. Eliminate some unused UnwrapArg specializations. r=peterv
The following command:

  grep -Ir "UnwrapArg<" $srcdir/* $objdir/dom/bindings/ | sed 's/^[^<]*<//' | sed 's/>.*//' | sort -u

(with $srcdir and $objdir replaced by the relevant paths) produces this list:

${type}
_clazz
_interface
imgINotificationObserver
imgIRequest
mozilla::dom::EventTarget
mozilla::dom::IndirectlyImplementedInterface
mozilla::dom::TestExternalInterface
nsGenericHTMLElement
nsIBrowserDOMWindow
nsIChannel
nsIDOMCSSRule
nsIDOMDataChannel
nsIDOMMozMmsMessage
nsIDOMMozSmsMessage
nsIDOMMozWakeLockListener
nsIDOMWindow
nsIDOMXPathNSResolver
nsIFile
nsIFrameRequestCallback
nsIInputStream
nsIInputStreamCallback
nsIJSID
nsIMenuBuilder
nsIObserver
nsIOutputStream
nsIPrincipal
nsISelectionListener
nsISupports
nsITreeView
nsIURI

The ${type} bit is part of codegen.  The _clazz and _interface bits are the
macros in js/xpconnect/src/nsDOMQS.h that are defining UnwrapArg methods.  The
nsGenericHTMLElement is only used in xpc_qsUnwrapArg_HTMLElement.

Inspection of the above list indicates that none of the classes used with
DEFINE_UNWRAP_CAST_HTML are in it, so all those specializations of UnwrapArg,
and the xpc_qsUnwrapArg_HTMLElement method they call, are dead code.

Moreover, almost all the specializations set up by DEFINE_UNWRAP_CAST are dead
code as well; the only exception is the one for mozilla::dom::EventTarget.  But
since we no longer use Web IDL quickstubs for EventTarget, that one is only
used in a few places for method arguments, and none of those should have our
one remaining webidl event target passed to them.  So it's safe to remove that
specialization as well.
2014-10-22 11:40:48 -04:00
Boris Zbarsky 7e66ee840a Bug 1019191 part 11. Get rid of the now-unused xpc_qsUnwrapArg. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky 0a3ff9a9b2 Bug 1019191 part 9. Remove now-dead JS-to-C++ quickstub conversion functions. r=peterv 2014-10-22 11:40:48 -04:00
Boris Zbarsky af038ac558 Bug 1019191 part 8. Stop using xpc_qsACString in XPConnect. r=bholley 2014-10-22 11:40:48 -04:00
Boris Zbarsky 996c75274c Bug 1019191 part 7. Remove various dead-code throwing functions. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky b8f083b1ad Bug 1019191 part 6. Remove dead code for setting up quickstubs on a prototype from XPCQuickStubs.h/cpp. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky 377effd23d Bug 1019191 part 5. Remove the one remaining quickstub we have and all quickstub codegen. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky 5e1aca9748 Bug 1019191 part 4. Remove the now-dead xpc_qsThrowGetterSetterFailed and xpc_qsThrowBadSetterValue functions. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky 6e2d2fcc76 Bug 1019191 part 3. Remove calls to the empty DOM_MarkInterfaces/DOM_ClearInterfaces/DOM_InitInterfaces functions and the functions themselves. r=peterv 2014-10-22 11:40:47 -04:00
Boris Zbarsky 37b3ae50c4 Bug 1019191 part 2. Remove WebIDL quickstubs for EventTarget, since the only remaining xpconnect EventTargets with classinfo are globals, and we never call PostCreatePrototype on globals. r=peterv 2014-10-22 11:40:46 -04:00
Boris Zbarsky afbeda0759 Bug 1019191 part 1. Remove the dead finishInitForWrappedGlobal method. r=bholley 2014-10-22 11:40:46 -04:00
Brian Hackett 251b70b197 Bug 1072564 - Incrementalize sweeping of type information, r=billm. 2014-10-22 07:57:33 -07:00
Johannes Schulte e44b43d7a0 Bug 1063878 - Attach Baseline-Stubs for names on the global's proto. r=jandem
--HG--
extra : rebase_source : 526b96ea3880877715ff79819bf5c67bafe1e876
2014-10-09 21:46:16 +02:00
Luke Wagner 20598cafcc Bug 1077175 - OdinMonkey: add type for double literals (r=bbouvier)
--HG--
extra : rebase_source : a2a3891087a11648fce087ac2f17d04a3cdd98e4
2014-10-21 13:15:45 -05:00
Carsten "Tomcat" Book e8315632eb Backed out changeset f353f95ad293 (bug 1084157) for ASAN Test Bustage on a CLOSED TREE 2014-10-22 15:52:03 +02:00
Jan de Mooij c064ded0b8 Bug 1085464 - Don't lookup .generator on |with| objects on the scope chain. r=wingo
--HG--
extra : rebase_source : 960bf902b774906d72e815b2a7b9852ca1f0e5bc
2014-10-22 15:17:09 +02:00
Ehsan Akhgari 7f28b2b06f Bug 1084157 - Make --enable-address-sanitizer pass the correct -fsanitize arguments to the toolchain; r=glandium 2014-10-22 08:30:05 -04:00
Sushant Dinesh bcd31ebf4e Bug 1059187 - Set Undefined/Null in else branch of filtering. r=h4writer. 2014-10-14 02:19:00 +02:00
Carsten "Tomcat" Book 361a124644 Backed out changeset 7ecf4e364d05 (bug 1072817) for causing Permaorange Linux Debug m-oth test failure on a CLOSED TREE 2014-10-22 08:59:48 +02:00
Carsten "Tomcat" Book b7ca433435 Backed out changeset 77ff6a4dd3f1 (bug 1052139) 2014-10-22 08:59:11 +02:00
Carsten "Tomcat" Book fcc0eb1e30 Backed out changeset 9e900e87b4bb (bug 1085566) 2014-10-22 08:59:09 +02:00
Carsten "Tomcat" Book aca347b75c Backed out changeset 4eee647a5bd4 (bug 1052139) 2014-10-22 08:59:05 +02:00
Nicholas Nethercote f7aebf9715 Bug 1085740 - Reduce heap churn caused by TempAllocator. r=jandem. 2014-10-21 15:26:28 -07:00
Jeff Walden ebbf222899 Bug 1085566 - Add a test for making the preventExtensions trap indicate success via outparam. r=test 2014-10-21 17:07:34 -07:00
Jeff Walden b012538ad3 Bug 1052139 - Reorder the preventExtensions trap just after the [[Prototype]]-access traps. r=code-motion
--HG--
extra : rebase_source : 18f69552bad6922c1b602cbf81d6961883e4d5b8
2014-10-21 11:40:04 -07:00
Jeff Walden 1d2a7aa6cd Bug 1085566 - Make the preventExtensions hook return succeeded/failed rather than always indicate failure by reporting an error. r=efaust
--HG--
extra : rebase_source : 3b61c22efe8b5b2b3135b11556b6b329479d3dcd
2014-10-19 01:18:43 -07:00
Jeff Walden 083ba18ef1 Bug 1052139 - Implement the ability to prevent modifying an extensible object's [[Prototype]]. r=efaust, r=bholley
--HG--
extra : rebase_source : 58fdb9c3b30d4a46984fae6d546fc7ef94dc3d20
2014-09-23 13:03:40 -07:00
Jeff Walden ead35220b9 Bug 1072817 - Minor adjustments (primarily for method-ordering) as a followup to making accessing the [[Prototype]] of a revoked proxy not crash. Also add another test. r=trivial
--HG--
extra : rebase_source : e09255d48ef02ce3f2760a8116ea52f5c0d457a3
2014-10-16 15:43:23 -07:00
Wes Kocher ea81c00241 Backed out 5 changesets (bug 1083866) for spidermonkey bustage on a CLOSED TREE
Backed out changeset 00997b2b5a16 (bug 1083866)
Backed out changeset 4d8f51a4014b (bug 1083866)
Backed out changeset c37a1e604654 (bug 1083866)
Backed out changeset 07f268cc5a64 (bug 1083866)
Backed out changeset 7bfdfe2629ce (bug 1083866)
2014-10-21 14:42:31 -07:00
Wes Kocher 24b5db81ac Backed out changeset 5fbd9586a141 (bug 1077175) for build bustage on a CLOSED TREE 2014-10-21 13:51:41 -07:00
Luke Wagner 835b2136ee Bug 1077175 - OdinMonkey: add type for double literals (r=bbouvier)
--HG--
extra : rebase_source : e4189161e98d5f5fd73882c4133b7e98a06d4dbd
2014-10-21 13:15:45 -05:00
ProgramFOX 33aa4c80eb Bug 1084609 - SIMD: Use correct comparisons types. r=bbouvier 2014-10-20 18:59:19 +02:00
Nicolas B. Pierron e02d2890ee Bug 1083866 - No longer suppress GC for the evaluation of recover instructions. r=jandem 2014-10-21 21:03:38 +02:00
Nicolas B. Pierron 38d5cb6a81 Bug 1083866 - Handle potential invalidation of the bailing frame. r=jandem 2014-10-21 21:03:38 +02:00
Nicolas B. Pierron 3ae82445bd Bug 1083866 - Mark bailout frames. r=jandem 2014-10-21 21:03:37 +02:00
Nicolas B. Pierron 5d27f2526f Bug 1083866 - Only remove instructions from the JitActivation after the bailout. r=jandem 2014-10-21 21:03:37 +02:00
Nicolas B. Pierron c74f490b3c Bug 1083866 - Add test case to check for GC during bailouts. r=nbp 2014-10-21 21:03:37 +02:00
Tom Schuster 4fb3d9c690 Bug 842498 - Remove nsIJSNativeInitializer. r=peterv 2014-10-21 20:45:28 +02:00
Steve Fink 0888b1668e Bug 1079579 - Move the automation build scripts into the tree, r=terrence
DONTBUILD because NPOTB until I land the build-tools change.

--HG--
extra : rebase_source : b7be4f8cbab3755e0cddd3e3934ada59c5a78aea
2014-10-17 14:06:00 -07:00
Nicolas B. Pierron 44cdf1ba53 Bug 982162 - Throw when we attempt to serialize an AsmJS module. r=luke 2014-10-21 15:51:34 +02:00
Benjamin Bouvier 271c651290 Bug 1059408: Odin SIMD: Add support for swizzle and shuffle; r=luke 2014-10-21 15:39:38 +02:00
Benjamin Bouvier 2c3d97c4d8 Bug 1021716: SIMD: Use specific instructions for special cases; r=sunfish 2014-10-21 15:39:31 +02:00
Benjamin Bouvier fbdb740234 Bug 1021716: SIMD: Use Swizzle rather than Shuffle at construction whenever possible; r=sunfish 2014-10-21 15:39:23 +02:00
Benjamin Bouvier ba86b71604 Bug 1021716: SIMD x86-x64: Implement generic binary shuffle; r=sunfish 2014-10-21 15:39:15 +02:00
Benjamin Bouvier b2b91caa03 Bug 1021716: SIMD x86-x64: Implement MSimdShuffleMix; r=sunfish 2014-08-27 19:24:41 +02:00
Benjamin Bouvier 39ac3875bc Bug 1021716: SIMD x86x-64: Implement MSimdSwizzle; r=sunfish 2014-06-18 22:38:00 +02:00
Jyri Pyykkönen 5e55d9abaa Bug 1076922 - Implement RToFloat32 Recover instruction. r=nbp 2014-10-21 15:28:05 +02:00
Bobby Holley 8af6a16821 Bug 1084656 - Properly propagate exceptions out of getExpandoObjectInternal. r=bz 2014-10-21 11:59:30 +02:00
Jon Coppeard 993bb381d5 Bug 1085435 - Refactor the way we queue arenas for finalization r=terrence 2014-10-21 10:34:03 +01:00
Eric Faust 1015de5f8e Bug 1072817 - Implement trivial {get,set}PrototypeOf hooks for ScriptedDirectProxyHandler. (r=jorendorff) 2014-10-20 13:05:46 -07:00
Terrence Cole 671ac92f07 Bug 1063241 - Use a constructor instead of manual PodZero to initialize JSErrorReport; r=sfink
--HG--
extra : rebase_source : 7e1e35345b613da651abd0405daac6c823b3c65c
2014-10-20 10:13:03 -07:00
Boris Zbarsky 3f922dfdea Bug 1085071. Stop handling JSPropertyOp getters/setters in sandbox code, since we no longer have those around for any of the objects we care about. r=bholley 2014-10-20 13:04:45 -04:00
Bill McCloskey 3b3399bdc4 Bug 1077587 - Handle non-existent properties in CPOW descriptor code (r=mrbkap) 2014-10-20 09:47:27 -07:00
Bobby Holley aa969022b0 Bug 1081985 - Remove prototype remapping and make COWs simple. r=gabor
\o/
2014-10-20 15:52:53 +02:00
Bobby Holley ea05bd3408 Bug 1081985 - Move checkPassToPrivilegedCode to AccessCheck.cpp where it belongs. r=gabor 2014-10-20 15:52:52 +02:00
Jon Coppeard f91fdd7365 Bug 650161 - Remove obsolete comment r=sfink DONTBUILD 2014-10-20 10:36:17 +01:00
Jon Coppeard ab04ec604b Bug 1083722 - Add jittest option to ignore timeouts from some tests r=sfink 2014-10-20 09:07:43 +01:00
Jon Coppeard a3adff24a8 Bug 650161 - Relocate global objects (browser changes) r=bholley 2014-10-20 09:07:43 +01:00
Jon Coppeard ce889fbb88 Bug 650161 - Relocate global objects r=terrence 2014-10-20 09:07:43 +01:00
Jon Coppeard cf756a07dc Bug 650161 - Don't move objects in the self hosting zone as it can be shared between runtimes r=terrence 2014-10-20 09:07:43 +01:00
Jon Coppeard ddb24a6e61 Bug 650161 - Fix interaction between getDebuggees and compactings GC r=terrence 2014-10-20 09:07:42 +01:00
Jon Coppeard b3582e43a3 Bug 650161 - Update help text for shrinking zeal mode r=terrence 2014-10-20 09:07:42 +01:00
Jon Coppeard 35bfa942e1 Bug 650161 - Fix breakage due to generator changes r=terrence 2014-10-20 09:07:42 +01:00
Boris Zbarsky 95886106af Bug 1084439. Remove ResolveWorkerClasses in favor of [Exposed=System] annotations. r=bholley 2014-10-19 22:25:49 -04:00
Brian Hackett b04decda71 Bug 1073842 - Rename NativeObject slots/elements to slots_/elements_, sr=luke. 2014-10-18 10:51:50 -07:00
Dan Gohman 69d86d3e63 Bug 1080438 - IonMonkey: Disable an over-zealous assert. r=nbp 2014-10-17 14:34:26 -07:00
Brian Hackett a159f4b2a3 Bug 958492 - Start an incremental GC when nearing the allocation threshold for non-incremental zone GCs, r=billm. 2014-10-18 08:11:22 -07:00
Bobby Holley 3c7249f931 Bug 1081990 - Tests. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley ad9fdda6a1 Bug 1081990 - Turn off COWs for Functions. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley 8d92103817 Bug 1081990 - Generalize CheckPassToChrome machinery to operate on call/construct for all FilteringWrappers. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley 48adeafe98 Bug 1081990 - Give all non-COW filtering wrappers a null proto. r=gabor 2014-10-18 11:02:10 +02:00
Bobby Holley 22acd2e45d Bug 1081990 - Fix up test suite. r=gabor 2014-10-18 11:02:09 +02:00
Brian Hackett 87281e9299 Bug 1073842 - Remove slots/elements from non-native objects, use a new layout for proxies and typed objects, r=luke,billm,efaust,bz,sfink,jandem. 2014-10-17 16:57:52 -07:00