Commit Graph

1399 Commits

Author SHA1 Message Date
Jim Blandy
5b38716384 Bug 1236801: Don't check for simulated OOM in a way that invalidates AddPtrs for no discernable reason. (Revised to fix uninitialized var, r=sfink) r=jonco 2016-01-12 16:49:45 -08:00
Wes Kocher
132f47fac5 Backed out changeset 7111837e42b9 (bug 1236801) for SM wError bustage 2016-01-12 16:55:12 -08:00
Jim Blandy
16faef1e56 Bug 1236801: Don't check for simulated OOM in a way that invalidates AddPtrs for no discernable reason. r=jonco 2016-01-08 10:01:53 -08:00
Terrence Cole
f418236d17 Bug 1238786 - Part 1: Allow null pointers in public tracing APIs; r=sfink 2016-01-12 13:07:53 -08:00
Terrence Cole
0fded94b06 Bug 1238779 - Remove the unused and nonsensical JS_TraceRuntime; r=fitzgen 2016-01-12 13:07:54 -08:00
Terrence Cole
95d57da733 Bug 1238711 - Rename TraceableVector to GCVector; r=sfink 2015-12-28 11:45:13 -08:00
Luke Wagner
2317744539 Bug 1238195 - Switch over some AutoVectorRooters to Rooted<TraceableVector>s and fill in some missing support (r=terrence) 2016-01-11 12:37:11 -06:00
Benjamin Bouvier
05f1e17f28 Bug 1235408: Lazily resolve SIMD types; r=jandem 2016-01-11 16:03:02 +01:00
Nigel Babu
3dc856b6e2 Backed out changeset 51e26ad49ed2 (bug 1235408) for build bustage on a CLOSED TREE 2016-01-11 16:27:20 +05:30
Benjamin Bouvier
0a998b699a Bug 1235408: Lazily resolve SIMD types; r=jandem 2015-12-31 10:25:00 +01:00
Luke Wagner
4327345337 Bug 1237508 - Odin: make AsmJSModule derive wasm::Module (r=bbouvier) 2016-01-08 12:35:23 -06:00
Terrence Cole
19e9f44b5b Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink 2015-12-30 10:10:29 -08:00
Steve Fink
838e54e586 Bug 1237445 - Implement GCRekeyableHashMap, r=terrence 2016-01-06 14:41:12 -08:00
Terrence Cole
3f51dbba20 Backout 9dfd86b06459c257390c2514380a09456b008e33 (Bug 1235923) for build bustage on a CLOSED TREE. 2016-01-06 12:05:08 -08:00
Terrence Cole
8cf90d919c Bug 1235923 - Part 1: Add C++ APIs for unbarriered pointer tracing; r=sfink 2015-12-30 10:10:29 -08:00
Terrence Cole
5d277c2182 Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink 2015-12-30 08:52:12 -08:00
Wes Kocher
e5d3cfcb59 Backed out 2 changesets (bug 1235598) for linux reftest bustage
Backed out changeset 3bcd3c276785 (bug 1235598)
Backed out changeset 80cd10a8b3d7 (bug 1235598)
2015-12-31 15:51:13 -08:00
Terrence Cole
e1fee9626d Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink 2015-12-30 08:52:12 -08:00
Sean Stangl
b581e0e689 Bug 470143 - Part 2/2 - TrackedOptimization changes for TypeOfNoSuchVar. r=shu 2015-12-15 13:42:56 -08:00
Wes Kocher
f4f8afdb88 Backed out 3 changesets (bug 1235598) for build bustage CLOSED TREE
Backed out changeset 7da07459ce20 (bug 1235598)
Backed out changeset cf35918cb3ba (bug 1235598)
Backed out changeset 55db488f9dfd (bug 1235598)
2015-12-30 15:17:44 -08:00
Terrence Cole
94802f415e Bug 1235598 - Part 1: Add better SpiderMonkey API support for tracing in C++; r=sfink 2015-12-30 08:52:12 -08:00
Luke Wagner
7963ee4e6d Bug 1229642 - Split wasm::Module out of AsmJSModule (r=bbouvier) 2015-12-28 17:39:21 -06:00
Jakob Stoklund Olesen
db6e999d8e Bug 1233111 - Add a new ToUint8() function. r=efaust
This is needed for casting values into a SIMD.Uint8x16 lane.
2015-12-23 09:52:39 -08:00
Jon Coppeard
1335bae427 Bug 1232672 - Use MOZ_WARN_UNUSED_RESULT to make hash table clients check for failure r=luke r=billm r=njn 2015-12-22 13:29:43 +00:00
Nick Fitzgerald
0bc6fcb966 Bug 1233101 - Use MOZ_LIKELY in js_new etc to help branch prediction; r=terrence 2015-12-18 12:05:14 -08:00
Nick Fitzgerald
7bfd1f3ec1 Bug 1231763 - Extract breakdown parsing from JS::ubi::Census. r=jimb 2015-12-16 09:19:00 +01:00
Nicholas Nethercote
dc11331fd7 Bug 1231256 (part 12) - Remove TraceableVectorOperations::canAppendWithoutRealloc. r=terrence.
It's unused.
2015-12-09 15:51:31 -08:00
Jan de Mooij
b899c7aa17 Bug 1225396 part 2 - Fix ES6 iterator prototype chains. r=jorendorff 2015-12-09 22:54:44 -05:00
Nick Fitzgerald
4c67f636ce Bug 1170325 - Convert js::Vector into a template alias to mozilla::Vector with a single customized default argument. Also get rid of the CRTP support in mozilla::Vector (through mozilla::VectorBase) now that template aliasing is good enough, and make mozilla::Vector final so that people will use composition and not inheritance with it. (Inheritance plays poorly with movability and a few other things, in addition to messing up template argument deduction matching.) r=Waldo, patch sort of a tag-team between him and me 2015-07-13 12:42:52 -07:00
Jon Coppeard
a2e6b98ef3 Bug 1229493 - Stop shell-only modules classes being reported as standard classes r=shu 2015-12-04 13:47:25 +00:00
Luke Wagner
1fb65c4121 Bug 1229642 - Odin: hoist some things into Wasm.h and simplify symbolic addresses (r=bbouvier) 2015-12-02 21:40:09 -06:00
Jon Coppeard
591ba32f08 Bug 1227567 - Optimise module namespace imports in Ion where we have type information r=shu 2015-12-02 10:10:26 +00:00
Steve Fink
170d979912 Bug 1225298 - Use GCHashMap for UniqueIdMap, r=terrence 2015-11-18 17:37:03 -08:00
Nick Fitzgerald
2aace9ce67 Bug 1226416 - Expose a method to get a node's set of immediately dominated nodes in the dominator tree; r=bz,sfink
This adds the `getImmediatelyDominated` method to `DominatorTree` which takes a
node id and returns the set of each node ids for every node that is immediately
dominated by the node with the given id. The results are sorted by greatest to
least retained size. In conjunction with the `root` attribute, this can be used
to traverse the whole dominator tree.
2015-11-30 17:38:06 -08:00
Terrence Cole
28504c380a Bug 1226801 - None of the GCHashMap users require movable keys; r=fitzgen 2015-11-25 11:58:50 -08:00
Benjamin Bouvier
8f68786b67 Bug 1225605: Store SIMD type descriptors on the global SIMD object rather than on the global; r=jolesen 2015-11-20 10:52:33 +01:00
Terrence Cole
edf1d8c169 Bug 1226687 - Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen 2015-11-20 13:53:19 -08:00
Nick Fitzgerald
4d5f410954 Bug 1226176 - Compute retained sizes in dominator trees and expose them to JavaScript; r=bz,sfink 2015-11-20 09:08:15 -08:00
Steve Fink
2ad81babc9 Bug 1225298 - Use GC policy mechanism for sweeping hashtable-based collections. r=terrence 2015-11-17 11:33:15 -08:00
Nick Fitzgerald
d57a6c8158 Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink 2015-11-19 08:10:13 -08:00
Nick Fitzgerald
fc8df0f09f Bug 1225941 - Add a method for getting the set of nodes immediately dominated by another node; r=sfink
This commit adds the `JS::ubi::DominatorTree::getDominatedSet` method. It
returns a range that can be used to safely iterate over all the nodes
immediately dominated by the node used to get the range. The dominated sets are
eagerly computed when creating a `JS::ubi::DominatorTree` and stored in one big
contiguous array, with a side-table that keeps track of the start indices of
each individual dominated set within that contiguous array.
2015-11-19 08:10:13 -08:00
Terrence Cole
4885ef86f6 Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco 2015-11-17 11:32:53 -08:00
Nick Fitzgerald
65886c2650 Bug 1225588 - Expose DominatorTree to JavaScript; r=sfink,bz
This commit adds the DominatorTree.webidl interface, which is only exposed to
chrome JS. The interface is implemented by mozilla::devtools::DominatorTree,
which is a thin wrapper around JS::ubi::DominatorTree. This does not expose any
methods on the DominatorTree interface, those will come as follow up changesets.
2015-11-18 14:12:23 -08:00
Terrence Cole
1c83a553ad Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco 2015-11-17 11:31:52 -08:00
Terrence Cole
91f7ac2b03 Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things. 2015-11-17 16:55:46 -08:00
Terrence Cole
cde50a750b Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco 2015-11-17 11:31:52 -08:00
Terrence Cole
63f9e6ea7e Bug 1224404 - Use stable hashing for WeakMapPtr; r=jonco 2015-11-13 08:41:39 -08:00
Nick Fitzgerald
794b8caa18 Bug 961329 - Implement JS::ubi::DominatorTree; r=sfink
This commit adds the `JS::ubi::DominatorTree` class. It uses the simple,
engineered algorithm for finding immediate dominators described in "A Simple,
Fast Dominance Algorithm" by Cooper et al[0]. This commit does not expose
dominator trees to JS, or provide any means of walking the dominator tree. These
things are reserved for future changesets.

[0]: http://www.cs.rice.edu/~keith/EMBED/dom.pdf
2015-11-17 10:02:26 -08:00
Hannes Verschore
30a7d8087d Bug 1214508: SharedStubs - Part 3: Enable the getprop stubs in ionmonkey, r=jandem 2015-11-17 17:57:49 +01:00
Terrence Cole
21741a7a51 Bug 1223918 - Use stable hashing for WatchPointMap; r=jonco 2015-11-12 13:44:06 -08:00