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

1284 Коммитов

Автор SHA1 Сообщение Дата
Terrence Cole 5fa8570a2b Bug 1171780 - We no longer need to cast out of barrieried types in GC; r=jonco 2015-06-05 09:01:12 -07:00
Eric Faust 7180509ffe Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Terrence Cole 5dd32db8cf Bug 1169086 - Use virtual dispatch to implement callback tracer; r=jonco, r=mccr8
--HG--
extra : rebase_source : 8da1af998621319f7a0112f1870080dd8835063e
2015-05-28 16:35:08 -07:00
Carsten "Tomcat" Book 916a61c26f Backed out changeset d038c5da19b0 (bug 1141865) 2015-06-03 12:44:59 +02:00
Eric Faust e8c9b4486c Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-03 02:01:14 -07:00
Tom Schuster 8b3a3efd8b Bug 1135993 - Remove js::IsInNonStrictPropertySet. r=jorendorff 2015-06-02 23:27:39 +02:00
Terrence Cole c16fb495f0 Bug 1169791 - Strongly type GetTenuredGCThingZone; r=jonco, r=mccr8
--HG--
extra : rebase_source : bedbbb99eb9655dc3f4079e0d3e5a376f7b83764
2015-06-01 14:11:08 -07:00
Wes Kocher 0ee8be2a55 Backed out 7 changesets (bug 1141865) for assertion failures in various test suites CLOSED TREE
Backed out changeset 3796a4c827e4 (bug 1141865)
Backed out changeset 41a10ac99656 (bug 1141865)
Backed out changeset 027bba006fbb (bug 1141865)
Backed out changeset fc9d645f55b3 (bug 1141865)
Backed out changeset 6b87d4ed5d30 (bug 1141865)
Backed out changeset fcbf3e53cce6 (bug 1141865)
Backed out changeset 4a9a06c26be7 (bug 1141865)
2015-06-01 18:25:38 -07:00
Eric Faust aa42eef2a3 Bug 1141865 - Part 2: Plumb new.target on the stack and make it accessible to JSNatives. (r=jorendorff, r=jandem, r=shu) 2015-06-01 15:03:32 -07:00
Terrence Cole 04c8b8a536 Bug 1169097 - Remove CountHeap; r=sfink 2015-05-28 16:35:06 -07:00
Steve Fink 9b3006d86a Bug 1169391 - Use a ReservedRooted class for optimized Rooted use in vm/Interpreter.cpp, r=terrence
--HG--
extra : rebase_source : bd8ac525a0f5a3a65da1371d31df4654517f6575
2015-05-30 08:06:35 -07:00
Terrence Cole 6580e192db Bug 1166789 - Cleanup javascript.options.mem.log formatting; r=sfink, r=mccr8
--HG--
extra : rebase_source : 23f05745a2bfffbebab21fdcba4f7adf47616e8a
2015-05-20 09:14:29 -07:00
Terrence Cole a30542d559 Bug 1167795 - Share the root and child tracing code in DumpHeapComplete; r=mccr8
--HG--
extra : rebase_source : 376b490de75cc92f3af5fb3dfafa6e4a0176f524
2015-05-26 09:17:12 -07:00
Nick Fitzgerald bf8b9ad359 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-05-28 07:37:43 -07:00
Nick Fitzgerald 2c6810accb Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald 94d5c16a2e Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald 273a313f37 Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-05-28 07:37:42 -07:00
Nick Fitzgerald 1f67f55353 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-05-28 07:37:42 -07:00
Steve Fink 1e125efa54 Bug 1167411 - Add JSAutoStructuredCloneBuffer::abandon, r=jorendorff 2015-05-26 09:11:04 -07:00
Phil Ringnalda d98af6849d Merge f-t to m-c, a=merge
--HG--
rename : browser/devtools/performance/modules/io.js => browser/devtools/performance/modules/logic/io.js
2015-05-23 14:28:07 -07:00
Terrence Cole c01ef51c2d Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Terrence Cole ae93611ac6 Bug 1167313 - Simplify UbiNode::construct dispatch using CallTyped; r=jimb
--HG--
extra : rebase_source : 880f5856665bea34ba27913d9b6b533bd9cdd1a4
2015-05-21 11:41:18 -07:00
Victor Porof 4b7d7bd9d0 Bug 1167300 - Consolidate the performance tool directory, r=jsantell
--HG--
rename : browser/devtools/shared/timeline/global.js => browser/devtools/performance/modules/global.js
rename : browser/devtools/performance/modules/actors.js => browser/devtools/performance/modules/logic/actors.js
rename : browser/devtools/performance/modules/compatibility.js => browser/devtools/performance/modules/logic/compatibility.js
rename : browser/devtools/shared/profiler/frame-utils.js => browser/devtools/performance/modules/logic/frame-utils.js
rename : browser/devtools/performance/modules/front.js => browser/devtools/performance/modules/logic/front.js
rename : browser/devtools/performance/modules/io.js => browser/devtools/performance/modules/logic/io.js
rename : browser/devtools/shared/profiler/jit.js => browser/devtools/performance/modules/logic/jit.js
rename : browser/devtools/shared/timeline/marker-utils.js => browser/devtools/performance/modules/logic/marker-utils.js
rename : browser/devtools/performance/modules/recording-model.js => browser/devtools/performance/modules/logic/recording-model.js
rename : browser/devtools/performance/modules/recording-utils.js => browser/devtools/performance/modules/logic/recording-utils.js
rename : browser/devtools/shared/profiler/tree-model.js => browser/devtools/performance/modules/logic/tree-model.js
rename : browser/devtools/performance/modules/graphs.js => browser/devtools/performance/modules/widgets/graphs.js
rename : browser/devtools/shared/timeline/marker-details.js => browser/devtools/performance/modules/widgets/marker-details.js
rename : browser/devtools/shared/timeline/markers-overview.js => browser/devtools/performance/modules/widgets/markers-overview.js
rename : browser/devtools/shared/profiler/tree-view.js => browser/devtools/performance/modules/widgets/tree-view.js
rename : browser/devtools/shared/timeline/waterfall.js => browser/devtools/performance/modules/widgets/waterfall.js
2015-05-22 16:25:52 -04:00
Jon Coppeard 81b5bd0867 Bug 1155618 - Add better support for testing OOM behaviour r=terrence 2015-05-22 18:52:38 +01:00
Terrence Cole 161a4c26ba Bug 1164602 - Replace js::NullPtr and JS::NullPtr with nullptr_t; r=sfink 2015-05-13 14:07:34 -07:00
Tooru Fujisawa 54cc04881a Bug 861219 - Part 0: Make ClassSpec be able to delegate to another ClassSpec. r=bholley 2015-05-14 13:03:14 +09:00
Jim Blandy b451be5e0e Bug 1050500: Add SpiderMonkey API for reporting JavaScript entry points. r=shu
--HG--
extra : rebase_source : 750f2bc2e9e721faf482f882616211df6dbe25cd
extra : amend_source : 24830f31d7f8c3b5392e13b57f71f05841aaee46
2015-05-07 11:34:03 -07:00
Carsten "Tomcat" Book 59967ca2ab Backed out changeset 3841e37b0e2f (bug 861219) for JS Crashes on a CLOSED TREE 2015-05-12 12:27:52 +02:00
Tooru Fujisawa 259232ac04 Bug 861219 - Part 0: Make ClassSpec be able to delegate to another ClassSpec. r=bholley 2015-05-12 18:05:38 +09:00
Jeff Walden d1382d428b Bug 1158399 - Ensure/assert that DateObject::setUTCTime never stores a non-TimeClip'd value in the reserved slot. r=evilpie
--HG--
extra : rebase_source : eb91b123c9d3edac9e249ee8ab5052931bb95a3e
2015-04-30 20:03:30 -07:00
Shu-yu Guo 3390ef56f7 Bug 1154115 - Rewrite profiler JSON streaming. (r=mstange) 2015-05-11 14:16:44 -07:00
Shu-yu Guo d91c9a82a2 Bug 1154115 - Rewrite the JSAPI profiling API to use a FrameHandle, as to avoid multiple lookups in JitcodeGlobalTable. (r=djvj) 2015-05-11 14:16:44 -07:00
Jon Coppeard 1f3e50337f Bug 1157382 - Fix possible data race caused by accessing the mark bits of cells in another runtime r=terrence 2015-05-07 10:14:40 +01:00
Terrence Cole d508a33c53 Bug 1161726 - Use a custom tracer for tenuring to avoid the indirect calls; r=jonco
--HG--
extra : rebase_source : e240e6fdbf3f959576bdfec305a96d73ffdb15b0
2015-05-04 17:36:31 -07:00
Terrence Cole cbb419a12e Bug 1161353 - Remove the post-barrier verifier; r=sfink
--HG--
extra : rebase_source : c145ee6b66e89cba88db807ac4bb531f4034aa89
2015-05-04 17:34:38 -07:00
Nicolas B. Pierron 91238dad0a Bug 1161584 - Add TrackedStrategy::SetProp_InlineCache. r=shu 2015-05-06 15:51:45 +02:00
Terrence Cole 97eb3355da Bug 1160665 - Use the same implementation for both internal and external barriers; r=jonco 2015-05-01 10:23:57 -07:00
Terrence Cole b8d6f35f9e Bug 1160567 - Assert that object derived types are not exposed in the API; r=jonco
--HG--
extra : rebase_source : c58c189aba2cc50761b9bea36c561da28937f211
2015-05-01 10:23:57 -07:00
Brian Hackett a7c7f13a97 Bug 1161077 - Allocate unboxed arrays in the nursery, r=terrence. 2015-05-04 16:36:54 -07:00
Jon Coppeard a87fc242a0 Bug 1159714 - Templatise AutoVectorRooter implementation r=terrence 2015-05-01 16:26:10 +01:00
Terrence Cole a044cbc08e Bug 1159540 - Organize and comment the marking paths; r=sfink 2015-04-29 10:23:24 -07:00
Tooru Fujisawa 178a2e3c00 Bug 1102219 - Part 0: Combine WARNED_* slots in GlobalObject and turn it into a bitset. r=till 2015-04-30 00:32:00 +09:00
Tom Schuster c6207d1a51 Bug 1159347 - Make BaseProxyHandler::getPropertyDescriptor not-pure virtual. r=efaust 2015-04-29 10:47:48 +02:00
Terrence Cole bec02ac087 Bug 1158809 - Only use a single output from getTracingEdgeName; r=jonco
--HG--
extra : rebase_source : d8f3ee8ab0e0fbc61e30eb2a444dba571eb5498e
2015-04-28 10:28:56 -07:00
Nick Fitzgerald fe7b1a60be Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj 2015-04-27 10:57:06 -07:00
Boris Zbarsky 34d521e285 Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff 2015-04-27 13:38:12 -04:00
Brian Hackett 12ce37a8a6 Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence. 2015-04-24 18:22:15 -06:00
Terrence Cole 412f67a0f1 Bug 1157533 - Share Value and jsid typed dispatch code; r=jonco
--HG--
extra : rebase_source : d6289bce244270d0f321f8b3ab5ed0a99eee3883
2015-04-23 10:42:31 -07:00
Jim Blandy c454df3a32 Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
--HG--
extra : rebase_source : 64d8d124637ffab49089fa4151285b523e0c6f9e
2015-03-22 23:06:51 -07:00
Jan de Mooij 103a223716 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Benjamin Bouvier b3cbd604e8 Bug 1157628: Reformat spidermonkey source directory, again; r=jandem
--HG--
extra : rebase_source : 6a1a1671f5ccb323d475b8711e5a8977146e98c6
2015-04-23 12:22:36 +02:00
Carsten "Tomcat" Book d7660b2db1 Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book bab9dbe9c4 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)

--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Nick Fitzgerald 6e0841b4f5 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-04-22 11:09:55 -07:00
Nick Fitzgerald b9bae0d887 Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 0e6dcee572 Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 32af3e9ef8 Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald 7c042bbbe2 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-04-22 11:09:53 -07:00
Nick Fitzgerald 1bbdc65eb9 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Andrea Marchesini a4369a04c4 Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
Ehsan Akhgari f9d798bcbd Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Boris Zbarsky 4a61e9d41f Bug 1155788. Make the Ion inner-window optimizations work again. r=efaust 2015-04-17 22:01:02 -04:00
Terrence Cole 5f83d02dfb Bug 1153959 - Use RAII to manage tracing details; r=jonco
--HG--
extra : rebase_source : 9b53b4106e369e62f6d7503a619da89559bd9c02
2015-04-10 13:33:56 -07:00
Shu-yu Guo 218ee73d59 Bug 1154997 - Deal with self-hosted builtins when stringifying tracked optimization type info. (r=djvj) 2015-04-16 20:32:49 -07:00
Ryan VanderMeulen 7d1cb87298 Backed out changeset 47abda42667c (bug 1063257) jit-test failures. 2015-04-16 16:27:34 -04:00
Jim Blandy 1d40faa3cd Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
--HG--
extra : rebase_source : c126a5e626d666941b0fc657fbd7fcf1450e0e35
extra : histedit_source : f5cf97b77bf057c6ca47a072fde7b67e1f28e671
2015-03-22 23:06:51 -07:00
Jim Blandy fc9d59392a Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence
--HG--
extra : rebase_source : cc27cefa89ab9689cbfe7f62635a00c3363f4265
extra : histedit_source : fd7c1ca09c654b27536774d7b722319819dd74e0
2015-04-01 18:04:53 -07:00
Jim Blandy 161ee5e528 Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence
--HG--
extra : rebase_source : 2b192a3b74a6e9ac2e1bf9e967bcd8b2a7d41ce6
extra : histedit_source : 30b033cce6b71683240a117a8431d5c78cbc0581
2015-04-15 22:04:38 -07:00
Jim Blandy b665cd84f5 Bug 1062473: Add 'const' qualifiers to this for some NativeObject methods and free functions. r=terrence
--HG--
extra : rebase_source : 6042e1193a146e2bcd4bfc9c3da7aa706f0c474c
2015-03-11 16:54:11 -07:00
Jon Coppeard d68d8d5ba3 Bug 1149752 - Cancel GC caused by user inactivity if the user becomes active again r=terrence r=smaug 2015-04-13 16:42:41 +01:00
Shu-yu Guo 54c57c920d Bug 1150654 - Add CantInlineNoSpecialization to distinguish natives for which there is no Ion specialization. (r=jandem) 2015-04-08 20:36:20 -07:00
Shu-yu Guo bc9fd9bf3d Bug 1137569 - Delay stringification of JIT frames until streaming time. (r=djvj) 2015-04-02 14:50:08 -07:00
Jan de Mooij 11274288e1 Bug 1144366 followup - Stop declaring multiple pointers on a single line. r=jorendorff 2015-04-02 11:22:21 +02:00
David Rajchenbach-Teller 4179564dbf Bug 674779 - Per-component CPU monitoring, low-level. r=blassey, r=jandem
--HG--
extra : rebase_source : 7d604155e0ab0b19befa5a70eda5f4876b239935
2015-03-31 12:40:52 +02:00
Jon Coppeard c1a7380238 Bug 1149135 - Don't create HashMapEntry on stack when adding to a HashMap r=luke 2015-04-01 10:11:06 +01:00
Tom Schuster ac250f9d73 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Terrence Cole 017640936f Bug 1147180 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink
--HG--
extra : rebase_source : 8eb525ad1842240a20d9c94faac284dd5adadb4a
2015-02-26 14:15:26 -08:00
Jan de Mooij b8b1677f0f Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda bdfca27768 Backed out 7 changesets (bug 1147588, bug 1147669, bug 1147533, bug 1147665, bug 1135985, bug 1147180, bug 1147670) for frequent 10.10 devtools-2 GC assertion failures
CLOSED TREE

Backed out changeset 0bd8c4ec41fa (bug 1147670)
Backed out changeset 35ad82ff9ee7 (bug 1147669)
Backed out changeset ffe7f2e2a0f0 (bug 1147665)
Backed out changeset 37c42cff2c01 (bug 1147588)
Backed out changeset be4138f208ba (bug 1147533)
Backed out changeset 6bbd529bd995 (bug 1147180)
Backed out changeset 853e3ad56dad (bug 1135985)
2015-03-28 10:41:32 -07:00
Phil Ringnalda c8a25251c1 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Phil Ringnalda 70731646e2 Backed out changeset d72144153749 (bug 1147005) for being on top of a patch on top of a patch being backed out
CLOSED TREE
2015-03-28 10:39:09 -07:00
Tom Schuster 8a5dbf7c06 Bug 1147005 - Change JSAddPropertyOp signature. r=jorendorff,peterv 2015-03-28 14:47:02 +01:00
Jan de Mooij 8d6d44ecb8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Terrence Cole 1ad0c97fed Bug 1135985 - Introduce a new, strongly-typed tracing path; r=jonco, r=sfink
--HG--
extra : rebase_source : c664b207ab859504c66b32cfd4126a67cbf0cafd
2015-02-26 14:15:26 -08:00
Jason Orendorff 1def388b28 Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : e89f916fe267800bc73890e11aceef5c4855b272
2015-03-01 13:16:19 -06:00
Jason Orendorff fae53e811b Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo.
--HG--
extra : rebase_source : 77cca13d3d8e33831cd5cb82129ede3645e58374
2015-02-28 11:23:44 -06:00
Jason Orendorff 2e5f991fe0 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : c40a50b3522e8306d68d8114fe576d4f43006d82
2015-02-17 11:58:43 -06:00
Brian Hackett 533750696e Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-25 09:07:51 -07:00
Jan de Mooij d5c5888aa1 Bug 1142669 part 6 - Don't inline scripts that are known to inline a lot of code. r=h4writer
--HG--
extra : rebase_source : 8e65320cf77ff74941515f39cbe390c286a03e33
2015-03-25 15:15:23 +01:00
Shu-yu Guo d935dadedc Bug 1146718 - Split the 'J' tag in the profiler into 'J' (JIT frames without opt info) and 'O' (with opt info). (r=djvj) 2015-03-24 18:49:16 -07:00
Terrence Cole dd4ddb761b Bug 1135985 - Split callback and marking tracers completely; r=jonco, r=mccr8
--HG--
extra : rebase_source : b2e435ebf64ec0bac42af7a8f0968578599fd67b
2015-02-25 13:11:37 -08:00
Steve Fink 9c855788fb Bug 1125412 - Expose an object for inspecting GC memory values, r=terrence
--HG--
extra : rebase_source : c98affaa7f01beb0757256cbe4d63bd78e297dac
2015-01-26 15:32:54 -08:00
Phil Ringnalda c4745d28b1 Backed out 9 changesets (bug 1142775, bug 1139683, bug 1143810, bug 1142761, bug 1142784, bug 1142794, bug 1144819) for widespread bustage
CLOSED TREE

Backed out changeset 7613fc978d36 (bug 1142794)
Backed out changeset e5f0cb31263d (bug 1142784)
Backed out changeset dcd0af73ac84 (bug 1142784)
Backed out changeset 034f9c8e79ee (bug 1142784)
Backed out changeset ce0ee37e3ca9 (bug 1142775)
Backed out changeset 1519b8f2bbba (bug 1142761)
Backed out changeset 26fd55677841 (bug 1139683)
Backed out changeset 7ebc76a450c3 (bug 1144819)
Backed out changeset 92adb459d519 (bug 1143810)
2015-03-22 09:34:25 -07:00
Jason Orendorff 735dca6f1b Bug 1142794 - Change 'receiver' argument to SetProperty functions and ProxyHandler::set methods to be a HandleValue. r=Waldo.
Also: Change signature of these functions and methods to all have the same arguments in the same order: (cx, obj, id, v, receiver). Also change v from MutableHandleValue to HandleValue.

There is no change in behavior.

In fact the new error message `JSMSG_SET_NON_OBJECT_RECEIVER` is
impossible to trigger from scripts for now, I think (after re-reading
the whole patch with this in mind). JS_ForwardSetPropertyTo is the only
way to get a non-object receiver into the engine, but no caller
currently does so.

We're installing new pipes here, and they should work, but for now it's
the same cold water flowing through as before. Actually hooking up the
hot water is left for another bug (one with tests, not to put too fine a
point on it).

Notes:

*   InvokeGetterOrSetter had to be split into two functions:
    InvokeGetter takes a MutableHandleValue out-param,
    InvokeSetter a HandleValue in-param.

*   Watchpoints can still tamper with values being assigned. So can
    JSSetterOps. I'm pleased we can support this craziness in a way that
    doesn't have to spread via the type system to encompass the entire
    codebase.

*   Change in GlobalObject::setIntrinsicValue is not really a change.
    Yes, it asserted before, but an exception thrown during self-hosting
    initialization is not going to go unnoticed either.

*   Since the receiver argument to js::SetProperty() is at the end now, it
    makes sense for it to be optional. Some callers look nicer.

--HG--
extra : rebase_source : 68cd15627a62728061e663706cb1ff8c7bb292a0
2015-03-01 13:16:19 -06:00
Jason Orendorff a5c5338e0f Bug 1142784, part 3 - Change js::DefinePropertyOp and a few property-defining functions to use PropertyDescriptor rather than separate (value, attrs, getter, setter) arguments. r=Waldo.
--HG--
extra : rebase_source : a177bc1d8991f24652b4e629da5eaa52d9d4a59c
2015-02-28 11:23:44 -06:00
Jason Orendorff db04193771 Bug 1142784, part 2 - Change ProxyHandler::defineProperty() to make the desc argument a non-mutable handle. r=Waldo.
--HG--
extra : rebase_source : 92dd18b10e100e7e2537c151a21d4f3be37e1c08
2015-02-17 11:58:43 -06:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Shu-yu Guo edfb53a32f Bug 1145440 - Ship constant names for tracked strategy and outcomes in the profile JSON instead of slightly longer form strings. (r=djvj) 2015-03-20 20:48:32 -07:00
Shu-yu Guo 7fa429d624 Bug 1143860 - Deduplicate tracked optimizations when streaming the profile. (r=djvj) 2015-03-20 20:48:31 -07:00
Ryan VanderMeulen 6fa51cb894 Backed out changeset d3c9b899f7d2 (bug 1143256) for frequent browser_perf-refresh.js leaks.
--HG--
extra : rebase_source : d8872879f2e6bec248ac3a5fc8b254be437abea0
2015-03-20 16:07:42 -04:00
Kannan Vijayan 8299080b57 Bug 1143802 - Forward jit level information to profiler frontend. r=shu 2015-03-20 13:50:23 -04:00
Brian Hackett 73cf6b02a1 Bug 1143256 - Store object metadata using a weak map, r=luke. 2015-03-20 06:33:33 -07:00
Jan de Mooij 1030a38246 Bug 1142669 part 4 - Fix some inlining issues and inline scripts with loops. r=h4writer 2015-03-19 15:10:07 +01:00
Jan de Mooij f51f2669f3 Bug 1142669 part 3 - Limit the total inlined bytecode size to avoid excessive inlining. r=h4writer 2015-03-20 13:45:36 +01:00
Brian Hackett a054a9a07e Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink. 2015-03-18 18:01:35 -07:00
Tooru Fujisawa 75d9d40a66 Bug 1079919 - Part 0: Add RegExp ClassSpec. r=bholley 2015-03-18 18:22:05 +09:00
Terrence Cole f4c5db74f1 Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink
--HG--
extra : rebase_source : b272f6805d505ad4ae7ac997c3d50b08eadca16c
2015-03-11 11:06:20 -07:00
Nick Fitzgerald 84902745a6 Bug 1142338 - Debugger.Memory's census shouldn't use JS::ubi::Node::as<T>; r=sfink 2015-03-13 13:19:26 -07:00
Brian Hackett 89a333a739 Bug 1135897 - Use unboxed objects for JSON objects and constant literals embedded in scripts, r=jandem. 2015-03-12 17:09:21 -06:00
Jason Orendorff cd9a74e351 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
--HG--
extra : rebase_source : 8bfc7e8ebd9219511a6119bcefd2c784dc9a1682
2015-02-11 11:38:36 -06:00
Jason Orendorff eedeed1e47 Bug 1141329, prelude - Make ObjectOpResult pointer-sized to fix amazingly bogus code and assertions in IonCaches, introduced by rev 0712a3d4b79c. r=efaust.
--HG--
extra : rebase_source : 1d82219b61105088cf27154c6200e647091a36e0
2015-03-10 12:22:30 -05:00
Carsten "Tomcat" Book bca0a2c02e Backed out changeset df26246112ad (bug 828137) 2015-03-09 16:49:34 +01:00
Jason Orendorff 659c8de550 Bug 828137, part 1 - Make Object.defineProperty fail on window elements. r=bz.
--HG--
extra : rebase_source : ececca61c52296fb41e26e277a6bfa0d5eca63bb
extra : amend_source : 4229cb2652c2eb5b4347ebe043eccf1c0515e62a
2015-02-11 11:38:36 -06:00
Jason Orendorff f9c659ca6c Bug 1113369, part 7 - [[SetPrototypeOf]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : e712f5faf1463a447e52153c556605bb9552e990
2015-02-05 16:36:50 -06:00
Jason Orendorff 29bfe274bb Bug 1113369, part 6 - [[PreventExtensions]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 08631a46c776f6d9e60794ad61308240dde3d94d
2015-02-04 12:01:01 -06:00
Jason Orendorff cc85989b86 Bug 1113369, part 5 - [[Delete]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : 64b0e44bbb7673d139fab920243566db4844b517
2015-02-04 10:20:04 -06:00
Jason Orendorff 9a17368e8e Bug 1113369, part 4 - [[Set]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
--HG--
extra : rebase_source : ee44b9a7c933addd7f26643443900843b984587b
2015-02-03 19:51:40 -06:00
Jason Orendorff de9e3b99dc Bug 1113369, part 3 - [[DefineOwnProperty]] ObjectOpResult support. r=Waldo, r=bz in dom, r=dvander in js/ipc, r=bholley in js/xpconnect.
Add an ObjectOpResult out-param for DefineProperty functions everywhere. We leave a few js::DefineProperty() convenience functions with no *result out-param. These have strict behavior: that is, they automatically check the result and throw if it is false. In bug 1125624 these strict signatures may end up being called DefinePropertyOrThrow, as that is what the spec calls it.

--HG--
extra : rebase_source : 36439a8fa433c453f63b02c93fceaf0d8b9e9626
2015-01-30 11:37:07 -06:00
Jason Orendorff ce09b0bfc5 Bug 1113369, part 2 - js::SetArrayLength ObjectOpResult support. r=Waldo.
--HG--
extra : rebase_source : fa947b315a7ede20a16893e3e44dd4118665c777
2015-01-29 23:02:26 -06:00
Jason Orendorff 844535d277 Bug 1113369, part 1½ - Avoid regressing error messages by adding obj to the ObjectOpResult methods that could throw a TypeError. r=Waldo.
--HG--
extra : rebase_source : 5494b04d773badadc2c33fd90ae67cad90aa88d3
2015-02-18 18:49:17 -06:00
Jason Orendorff 63891dbbf5 Bug 1113369, part 1 - Introduce JS::ObjectOpResult and use it in js::StandardDefineProperty. r=Waldo.
In general, jsobj.h will offer, for each standard internal method that returns a boolean value indicating success/failure, signatures with a JS::ObjectOpResult& out-parameter and signatures without it. The ones without will throw a TypeError on failure (that is, the behavior will be "strict").

--HG--
extra : rebase_source : fbf30988ed48412a10168e359848940123035e0f
2015-02-02 17:06:47 -06:00
Jason Orendorff 85abad51f2 Bug 1130576 - Rename JSPropertyOp -> JSGetterOp and JSStrictPropertyOp -> JSSetterOp. r=efaust.
--HG--
extra : rebase_source : 44edb174028da6dbd637975e6358112060de535b
extra : amend_source : dd79490550af1370dac037057bdc2c06cb4c71f5
2015-01-30 13:56:15 -06:00
Nick Fitzgerald 57951abfec Bug 1139217 - Make js::HashSet<T> work with move-only T types; r=luke 2015-03-03 17:54:00 +01:00
Terrence Cole bb7d88df07 Bug 1134425 - Part 1: move the allocator interface code out of line; r=jonco
--HG--
extra : rebase_source : cbeb8097a3c55397cc0c0f476deb0011ad496f62
2015-03-04 09:32:02 -08:00
Kannan Vijayan 834ee9ffd2 Bug 1130367 - Ensure profiler stack sampling is disabled when spsProfiler is disabled. r=shu 2015-03-02 17:46:13 -05:00
Benjamin Bouvier 1c09b86cc2 Bug 1134638: 14. Inline SIMD getters (signMask, .x, .y, .z, .w) in Ion; r=nbp
--HG--
extra : rebase_source : ef4b04965069c83dc0c129cc86013fb484e7a1bd
2015-02-26 12:08:16 +01:00
Jan de Mooij db18ff3df9 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Boris Zbarsky f027a773ea Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Wes Kocher f657cd0135 Backed out 4 changesets (bug 1136925) for potentially busting m-e10s-dt on a CLOSED TREE
Backed out changeset 331761aaae22 (bug 1136925)
Backed out changeset 2faa0e91fe23 (bug 1136925)
Backed out changeset a00f2530c911 (bug 1136925)
Backed out changeset d5e658bc0792 (bug 1136925)
2015-02-26 23:17:34 -08:00
Boris Zbarsky 8552abcc45 Bug 1136925 part 3. Stop passing parents to js::NewProxyObject. r=waldo 2015-02-26 15:58:59 -05:00
Jan de Mooij 140634b455 Bug 1136837 part 1 - Don't inline calls with incomplete type information for this or arguments. r=h4writer 2015-02-26 15:33:45 +01:00
Jon Coppeard 2b3e9874b8 Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Jon Coppeard 8db99543e5 Bug 1136046 - Increase maximum capacity of js::HashMap and HashSet r=luke 2015-02-26 09:02:13 +00:00
Nicholas Nethercote 5454a067f6 Bug 979293 - Don't write collision bits in HashTable unnecessarily. r=luke.
This avoids no-op writes to the keyHash of entries when doing a no-add-lookup.
This removes a genuine data race in JSRuntime::permanentAtoms, which receives
frequent no-add-lookups from multiple threads after JSRuntime initialization
without any kind of locking.

--HG--
extra : rebase_source : bb0ccf75e674f28e21f0a7209699f68dd7977f04
2015-02-25 10:39:46 -08:00
Kannan Vijayan ec632c2fe5 Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 16:43:39 -05:00
Ryan VanderMeulen 2351be3127 Backed out changesets 3de23a29bf71 and d42c64b791e6 (bug 1129510) for debug SM(e) timeouts. 2015-02-25 13:44:19 -05:00
Kannan Vijayan d784692baf Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-25 11:26:28 -05:00
Xidorn Quan 2db6e570ff Bug 1135535 part 4 - Fix C4275 dll-interface warning and mark this warning as error in js/src on MSVC. r=luke
Fix warning:
js\src\jswrapper.h(58) : error C4275: non dll-interface class 'js::DirectProxyHandler' used as base for dll-interface class 'js::Wrapper'
        obj-firefox\dist\include\js/Proxy.h(358) : see declaration of 'js::DirectProxyHandler'
        js\src\jswrapper.h(57) : see declaration of 'js::Wrapper'

--HG--
extra : rebase_source : cc1e87a0b1ce01094263a20f40638b0532e3f24e
extra : source : 9207eefa78eea211092df344b7aa9752fbc7bfb3
2015-02-25 15:26:23 +11:00
Ryan VanderMeulen b8ac223995 Backed out changeset cd6461410a7a (bug 1130439) for frequent SM test timeouts/failures.
CLOSED TREE
2015-02-24 15:11:08 -05:00
Jon Coppeard d6e694292c Bug 1130439 - Trigger compacting GCs after the user becomes inactive r=smaug r=terrence 2015-02-24 09:40:02 +00:00
Shu-yu Guo ed68d9433a Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj) 2015-02-23 20:33:56 -08:00
Shu-yu Guo df02b37be7 Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-23 20:33:56 -08:00
Shu-yu Guo 7c033d640a Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-23 20:33:56 -08:00
Carsten "Tomcat" Book 797908c3f9 Backed out changeset bc2fdecaaec7 (bug 1129769) for hazard failures on a CLOSED TREE 2015-02-23 10:20:31 +01:00
Carsten "Tomcat" Book feb55fb8f3 Backed out changeset 389c918b643c (bug 1129780) 2015-02-23 10:20:05 +01:00
Carsten "Tomcat" Book 6015ca9350 Backed out changeset b70a4383ee84 (bug 1131429) 2015-02-23 10:20:01 +01:00
Shu-yu Guo ca893de00a Bug 1131429 - Add a shell function to dump all of a function's tracked optimizations. (r=djvj) 2015-02-22 20:05:35 -08:00
Shu-yu Guo d5ce4a4494 Bug 1129780 - Report the youngest sampled frame's line number if it has optimization info. (r=djvj) 2015-02-22 20:05:34 -08:00
Shu-yu Guo b0462b3639 Bug 1129769 - Handle more kinds when resolving tracked type names. (r=djvj) 2015-02-22 20:05:34 -08:00
Brian Hackett 5b341eb95b Bug 1133254 - Improve type information and Ion compilation when dealing with converted unboxed objects, r=jandem. 2015-02-21 18:52:50 -06:00
Ryan VanderMeulen a93d947fe1 Backed out changesets fbfda0143584 and e8cfd49ac790 (bug 1129510) for crashes.
CLOSED TREE
2015-02-20 20:01:08 -05:00
Kannan Vijayan a94b9501bb Bug 1129510 - Trace references to JS heap from Profiler buffers. r=shu 2015-02-20 17:50:02 -05:00
Jon Coppeard 439686762a Bug 1134255 - Add breakdown of allocated and unused GC things by kind in memory reports r=njn
--HG--
extra : rebase_source : aaec1857d252090c2aea9fc8e45a2a82ac492b6c
2015-02-19 11:56:00 +00:00
Jon Coppeard 5e9b465d18 Bug 1133759 - Always shrink GC buffers at the end of a shrinking GC r=terrence 2015-02-18 12:35:05 +00:00
Brian Hackett d78cece7dd Bug 1121554 - Include receiver argument in setProperty hooks, r=jorendorff. 2015-02-14 08:50:48 -07:00
Dan Gohman 0a60c87158 Bug 1131783 - Mark various unlikely conditions as MOZ_UNLIKELY r=waldo 2015-02-12 08:37:01 -08:00
Tom Schuster 797b78de4b Bug 1124934 - Add a HasProperty ObjectOp. r=jorendorff 2015-02-13 12:20:02 +01:00
Steve Fink b7caf36327 Bug 1154441 - imported patch budget, r=terrence
--HG--
extra : rebase_source : 936deebf12c47e8da975b4826566810233dafcec
2015-04-10 13:58:06 -07:00
Tom Schuster 43324bd36f Bug 1125437 - Get rid of SetPropertyAttributes and use DefineProperty to follow ES6 specification. r=efaust 2015-02-11 23:40:47 +01:00
Terrence Cole 88fdd783d6 Bug 1130475 - Part 1: Move last-ditch IGC heap overflow trigger to CheckAllocatorState; r=sfink
--HG--
extra : rebase_source : e6a5ac26fe8a747c22cc39314909f56740d48c14
2015-02-06 13:26:15 -08:00
Jeff Walden 1dc7ba8857 Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff
--HG--
extra : rebase_source : 5acd9fa837980dbe9f5471efc08d16bd1de00e42
2015-01-24 20:18:21 -08:00
Tom Schuster fcb11bbe71 Bug 1131003 - Move jsproxy.h to js/Proxy.h. r=efaust
--HG--
rename : js/src/jsproxy.h => js/public/Proxy.h
2015-02-10 19:58:18 +01:00
Shu-yu Guo aaeea34735 Bug 1129781 - Re-lookup JIT code return addr when stringifying optimization info instead of caching the index. (r=djvj)
This saves us some circular buffer space.
2015-02-09 18:11:19 -08:00
Tooru Fujisawa 6b7cecf106 Bug 1025184 - Make ConstTwoByteChars a Range. r=jandem 2015-02-10 12:52:18 +09:00
Terrence Cole 606e7f9ff7 Bug 1130226 - Part 2: Rename MAYBEGC to EAGER_ALLOC_TRIGGER and fix some improper uses; r=jonco
--HG--
extra : rebase_source : 2e2e79921503fda34f7904eaa2566fb761e8a88d
2015-02-05 17:41:56 -08:00
Terrence Cole 77089204b6 Bug 1128110 - Share common operators on pointer-like GC classes; r=sfink 2015-02-04 15:27:00 -08:00
Andrea Marchesini f53ff9249c Bug 1130031 - Better serialization for non-transferable objects from workers to main-thread in the console API, r=sfink 2015-02-05 18:50:43 +00:00
Shu-yu Guo e0aee2d0b6 Bug 1127156 - Rework optimization tracking JSAPI to be more usable from the profiler. (r=djvj) 2015-02-04 13:40:02 -08:00
Birunthan Mohanathas 1b10c9d731 Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
Birunthan Mohanathas 847dbb9825 Bug 1120796 - Part 1: Prepare code for explicit bool operators. r=Waldo 2015-02-03 18:52:28 +02:00
Jason Orendorff 8f9fef2147 Bug 1127121 - Remove property key type splitting in ObjectOps. r=bhackett.
--HG--
extra : rebase_source : dab65791e3efc9fc625365b6aa5dc26d5cad19fb
2015-01-28 17:12:44 -06:00
Brian Hackett 909e578fea Bug 1125930 - Rename TypeObject to ObjectGroup, r=jandem. 2015-02-02 11:20:38 -07:00
Jon Coppeard 6136d65f9b Bug 1127792 - Add a pref to globally disable compacting GC r=terrence r=mccr8 r=bent 2015-02-02 14:39:34 +00:00
Jon Coppeard c6f9d9bd30 Bug 1127246 - Add a post barrier to the baseShapes table r=terrence a=abillings 2015-02-02 10:11:23 +00:00
Jeff Walden e1844a8d25 Bug 1112774 - Add a raft of other conversion methods to js/public/Conversions.h past just JS::ToObject. r=jorendorff
--HG--
extra : rebase_source : 5d04a08a8fd51952283ce2a819149da035311b59
2014-12-17 13:50:20 -08:00
Dan Gohman f233dc0d72 Bug 1125185 - Define MOZ_COLD for marking "cold" functions r=waldo 2015-01-26 17:30:19 -08:00
Masatoshi Kimura 6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura 86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Tom Schuster c70b84f630 Bug 1111243 - Implement ES6 proxy behavior for IsArray. r=efaust 2015-01-25 21:42:10 +01:00
Tom Schuster 7f95393f87 Bug 1122619 - Remove getPropertyAttributes object ops. r=jorendorff 2015-01-24 16:38:08 +01:00
Jon Coppeard 89f2b3b4c3 Bug 1107639 - Give PersistentRooted<Value> the standard operations on Value r=terrence 2015-01-23 10:23:56 +00:00
Jon Coppeard 4e20cc6d3a Bug 1107639 - Allow two phase construction of PersistentRooted r=terrence 2015-01-23 10:23:56 +00:00
Tom Schuster 269e651092 Bug 1122552 - Introduce [[GetOwnProperty]] object op. r=jorendorff,bz 2015-01-22 17:17:26 +01:00
ProgramFOX df5586d909 Bug 1031203 - Implemented float64x2. r=bbouvier 2015-01-16 17:17:37 +01:00
Kannan Vijayan aef7e0502e Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-15 20:11:22 -05:00
Ryan VanderMeulen c04595cbcf Backed out changesets 178c7164a3cd and 9a7ee9cb2247 (bug 1031203) for bustage.
CLOSED TREE

--HG--
extra : amend_source : 89f9ffb338e7305ae3c3c7f100744570aec95d06
2015-01-15 14:42:54 -05:00
ProgramFOX ce02406f0a Bug 1031203 - Implemented float64x2. r=bbouvier 2015-01-14 19:21:22 +01:00
Jason Orendorff e1ed44a395 Bug 1112778, part 10 - Rename the remaining nonstandard internal methods, such as JSObject::getGenericAttributes -> js::GetPropertyAttributes. r=Waldo.
--HG--
extra : rebase_source : ca12f2f784cacbec9721c07a1b7e61f72687fb53
extra : amend_source : ded50e2f93b4027dc2ec94198826393b2349c0f7
2014-12-18 13:28:06 -06:00
Wes Kocher 235c27f622 Backed out 8 changesets (bug 1057082) for ASAN failures on a CLOSED TREE
Backed out changeset 0c1fabbfc583 (bug 1057082)
Backed out changeset 99213cacd671 (bug 1057082)
Backed out changeset 76d528767946 (bug 1057082)
Backed out changeset b1ad3dabec8f (bug 1057082)
Backed out changeset f927b9899077 (bug 1057082)
Backed out changeset 635e101ed2be (bug 1057082)
Backed out changeset a7d9f158838d (bug 1057082)
Backed out changeset b1cb68eadf6c (bug 1057082)
2015-01-14 15:26:50 -08:00
Kannan Vijayan f4638168e9 Bug 1057082 - 6/7 - Modify profiler sampler to use jit stack walking instead of pseudostack. r=jandem r=BenWa 2015-01-14 16:19:14 -05:00
Masatoshi Kimura 01a636855c Bug 1120062 - Part 2: Remove use of IsNullPointer. r=waldo 2015-01-15 02:09:11 +09:00
Lars T Hansen 692ba33ebb Bug 1119230 - remove lingering JIT code for PJS. r=shu 2015-01-14 09:21:59 +01:00
Lars T Hansen 1608603caa Bug 1118170 - remove PJS-specific bits from the GC. r=terrence 2015-01-14 09:21:59 +01:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Terrence Cole 513af9d1e5 Bug 1119604 - Remove the void* accessor from GCCellPtr; r=sfink 2015-01-09 15:42:42 -08:00
Terrence Cole 91d590c9fb Bug 1085597 - Allow objects with finalization and move ops to be nursery allocated; r=jonco
--HG--
extra : rebase_source : 14ea3e14ded4dcde2ba1aa2f887b9a75750331a2
2014-10-23 13:49:17 -07:00
Shu-yu Guo 2da719fe3b Bug 1118107 - Convert ThreadSafeContext -> ExclusiveContext and remove PJS paths in string and conversion ops. (r=lth) 2015-01-09 00:06:03 -08:00
Ehsan Akhgari 4354953b4f Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Andrew McCreight 82f576b6d9 Bug 1118044, part 2 - Use GCCellPtr in NoteJSChild. r=smaug,terrence
Also, strongly type the JS_TraceShapeCycleCollectorChildren function, and add an
isShape() method to GCCellPtr.
2015-01-08 15:30:54 -08:00
Ehsan Akhgari 895b53981b Bug 1119228 - Fix a fatal warning in PossiblyFail; r=jandem
Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-08 10:33:32 -05:00