Nick Fitzgerald
bc24ddcf02
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
ffd963dd3f
Bug 1231763 - Extract breakdown parsing from JS::ubi::Census. r=jimb
2015-12-16 09:19:00 +01:00
Nicholas Nethercote
b23e4b2d7b
Bug 1231256 (part 12) - Remove TraceableVectorOperations::canAppendWithoutRealloc. r=terrence.
...
It's unused.
--HG--
extra : rebase_source : ed5bda7e86e8f39ce3ac220f7cfe5d02cf4897a9
2015-12-09 15:51:31 -08:00
Jan de Mooij
1c94156bf7
Bug 1225396 part 2 - Fix ES6 iterator prototype chains. r=jorendorff
2015-12-09 22:54:44 -05:00
Nick Fitzgerald
4560db90e5
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
d8ea08336c
Bug 1229493 - Stop shell-only modules classes being reported as standard classes r=shu
2015-12-04 13:47:25 +00:00
Luke Wagner
3e2e979a8b
Bug 1229642 - Odin: hoist some things into Wasm.h and simplify symbolic addresses (r=bbouvier)
...
--HG--
extra : rebase_source : 072480e2713f184b9dbac1e33d4ffb60af1c720c
2015-12-02 21:40:09 -06:00
Jon Coppeard
2ee97dbd00
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
ff55707b83
Bug 1225298 - Use GCHashMap for UniqueIdMap, r=terrence
...
--HG--
extra : rebase_source : 322f5b64eb3e3e37d3ab51ca813b05fe8e78e7bd
2015-11-18 17:37:03 -08:00
Nick Fitzgerald
aba02288a1
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
9c36f99a19
Bug 1226801 - None of the GCHashMap users require movable keys; r=fitzgen
...
--HG--
extra : rebase_source : d24e3f8c5cdfa050b166f224d76967b3f02287c2
2015-11-25 11:58:50 -08:00
Benjamin Bouvier
fb5678ed2a
Bug 1225605: Store SIMD type descriptors on the global SIMD object rather than on the global; r=jolesen
...
--HG--
extra : rebase_source : ea5e9ace0782e01695ee266efdffad1c5769e26b
2015-11-20 10:52:33 +01:00
Terrence Cole
2f587b2fc3
Bug 1226687
- Part 1: Export a GCPolicy usable by JS::Heap; r=fitzgen
...
--HG--
extra : rebase_source : 7ac38143297ef92265faefe6ce800b6c55dcaa64
2015-11-20 13:53:19 -08:00
Nick Fitzgerald
11e1dd10a1
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
696fbb25f1
Bug 1225298 - Use GC policy mechanism for sweeping hashtable-based collections. r=terrence
...
--HG--
rename : js/public/TraceableHashTable.h => js/public/GCHashTable.h
extra : rebase_source : b3451b355680e384bc7803a30c585fcc457c20c7
extra : amend_source : 441813b8991c13abad251d95b4f2c9867312c39e
2015-11-17 11:33:15 -08:00
Nick Fitzgerald
caf9b0fa0e
Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink
2015-11-19 08:10:13 -08:00
Nick Fitzgerald
fb0a5049fc
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
2f08c5931f
Bug 1225237 - Use stable hashing for DOMExpandoSet; r=jonco
...
--HG--
extra : rebase_source : 56667af18db264805536e8e559c5dd8d8b2750b3
2015-11-17 11:32:53 -08:00
Nick Fitzgerald
1bcd4d95d4
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
7b03f08dcb
Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
...
--HG--
extra : rebase_source : b485e16dc891f610359f7a10404184d631ff4b70
2015-11-17 11:31:52 -08:00
Terrence Cole
5a9e23aec9
Backout 02919b7d57d7 (Bug 1225233) for having regressed all the things.
...
--HG--
extra : rebase_source : 47a1afd6aff292442a0a552910230d9905686bf0
2015-11-17 16:55:46 -08:00
Terrence Cole
74d8258add
Bug 1225233 - Make MovableCellHasher a public interface, usable by embedders; r=jonco
...
--HG--
extra : rebase_source : 7a6e74ecfdb791f0188d4b8e7b73ca9b2078c425
2015-11-17 11:31:52 -08:00
Terrence Cole
fff89323d3
Bug 1224404 - Use stable hashing for WeakMapPtr; r=jonco
...
--HG--
extra : rebase_source : 511ef32ad1bfdd4ee9d52fd569821ae395829bdf
2015-11-13 08:41:39 -08:00
Nick Fitzgerald
4e8cbd4024
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
a893db58e6
Bug 1214508: SharedStubs - Part 3: Enable the getprop stubs in ionmonkey, r=jandem
2015-11-17 17:57:49 +01:00
Terrence Cole
cf984dfab1
Bug 1223918 - Use stable hashing for WatchPointMap; r=jonco
...
--HG--
extra : rebase_source : 24f858eff637994394e6e9ec0f5ba01add2fbbf7
2015-11-12 13:44:06 -08:00
Terrence Cole
80c5df8a70
Bug 1220310 - Generalize GC container trace function dispatch as GCPolicy; r=sfink
...
--HG--
extra : rebase_source : bf48dcfef48b74c1596a47decad9f52ea8a4bc2f
2015-11-03 07:08:05 -08:00
Tom Tromey
141af2d368
Bug 1160307 - capture async stack frames on Javascript timeline markers. r=fitzgen, r=smaug r=Paolo
2015-11-05 11:31:00 +01:00
Jan de Mooij
115d04ec63
Bug 1125423 part 5 - Remove innerObject/outerObject/thisValue Class hooks. r=luke
2015-11-06 19:03:52 +01:00
Jan de Mooij
a84c33ecb0
Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke
2015-11-06 19:03:51 +01:00
Nick Fitzgerald
704858e786
Bug 1220031 - Add JS::ubi::Node::scriptFilename; r=sfink
2015-11-04 05:49:33 -08:00
Jeff Walden
790d87d4be
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
...
--HG--
extra : rebase_source : b412e298217a2857bf34b73b1128c97cc047e6af
2015-10-30 16:14:32 -07:00
Phil Ringnalda
b79efb4eaf
Back out changeset 6e21339a66ed (bug 1208808) for bustage in the mislabelled and deceptive arm64 simulator
...
CLOSED TREE
2015-10-31 01:44:22 -07:00
Jeff Walden
1b692c0c1a
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
...
--HG--
extra : rebase_source : 1c59ffd1509c52791ab737df338962cf2c68dbc0
2015-10-30 16:14:32 -07:00
Jon Coppeard
a6103d6c93
Bug 1219183 - Update comments that reference renamed thisObject hook r=shu
2015-10-30 09:50:06 +00:00
Terrence Cole
2ee6159bdb
Bug 1219419 - Keep DefaultTracer simple for now; r=fitzgen
...
--HG--
extra : rebase_source : e9d040a6d574f5fa60158ff8521cde1cab08e14c
2015-10-28 13:42:16 -07:00
Boris Zbarsky
7ae3b58eb6
Bug 1039986. Make Function.prototype.toString work on Web IDL interface objects. r=jorendorff,peterv
2015-10-27 16:25:14 -04:00
Jon Coppeard
59be23d316
Bug 930414 - Replace |thisObject| object op with |thisValue| and use if for modules r=shu r=smaug
2015-10-21 10:21:44 +01:00
Jon Coppeard
ff7b5cb56e
Bug 930414 - Implement module namespaces r=shu
2015-10-21 10:21:44 +01:00
Michael Wu
ed4b205b47
Bug 1212663 - Use doxygen style comments in jsapi, r=Waldo
2015-10-17 13:27:16 -04:00
Nick Fitzgerald
842b5596e6
Bug 1213436 - Reject core dumps with node IDs that don't fit in an IEEE 754 double; r=sfink
2015-10-13 11:59:00 +02:00
Nick Fitzgerald
040e2d5aab
Bug 1211006 - Add Debugger.Source.prototype.canonicalId; r=ejpbruel
2015-10-13 09:42:39 -07:00
Nick Fitzgerald
f3032c8c01
Bug 1201620 - Make SavedFrame stacks structured cloneable; r=sfink
2015-10-12 13:29:48 -07:00
Morris Tseng
6c0c249c5a
Bug 709490 - Part 3: Transfer OffscreenCanvas from mainthread to workers. r=baku, r=sfink
...
Thanks Jon Morton [:jmorton] (jonanin@gmail.com ) for polishing patches.
--HG--
extra : rebase_source : 5cbf8b9f53b7d1978c6371dbdb3771f80b94a171
2015-10-12 11:21:03 +08:00
Lars T Hansen
38703f8d07
Bug 1212390 - fix lingering bugs around oomAtAllocation. r=jonco
2015-10-09 10:58:12 +01:00
Jon Coppeard
93caf76aac
Bug 1212430 - Remove CrashAtUnhandlableOOM() and replace with AutoEnterOOMUnsafeRegion r=jandem
2015-10-08 10:49:49 +01:00
Jon Coppeard
7187bae5a8
Bug 1208665 r=Waldo a=abillings
2015-10-07 11:04:37 +01:00
Shu-yu Guo
76da4d1112
Bug 1202902
- Support non-syntactic extensible lexical scopes. (r=billm)
2015-10-06 14:00:29 -07:00
Shu-yu Guo
aedb453377
Bug 589199 - Make a global lexical scope and hook it up to JS entry points. (r=efaust)
2015-10-06 14:00:28 -07:00
Jon Coppeard
a758f19926
Bug 1209911 - Remove option to simulate OOM on all threads r=terrence
...
--HG--
extra : rebase_source : c03694b314165446ffa3a6ab4d70fea02c202055
2015-10-06 14:50:50 +01:00