Commit Graph

835 Commits

Author SHA1 Message Date
Chris Peterson
d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Shu-yu Guo
f353135bf9 Bug 1056411 - Part 2: Remove the JSAPI C debug mode functions. (r=jimb) 2014-09-08 21:03:31 -07:00
Shu-yu Guo
c2475516fe Bug 1056411 - Part 1: Remove DebugFromC and clean up compartment debug mode logic. (r=jimb) 2014-09-08 21:03:31 -07:00
Wes Kocher
cff080e6ec Back out 11 changesets (bug 1063233 and bug 1063247)
* * *
Backed out changeset 7c7c837585fb (bug 1063233)
* * *
Backed out changeset e584d23b3ce3 (bug 1063233)
* * *
Backed out changeset ee169ca2e00b (bug 1063247)
* * *
Backed out changeset 514c713b2313 (bug 1063247)
* * *
Backed out 3 changesets (bug 1063247)

Backed out changeset a6033944c4c1 (bug 1063247)
Backed out changeset c7ffa64956c6 (bug 1063247)
Backed out changeset dd80b2984fe2 (bug 1063247)
* * *
Backed out 4 changesets (bug 1063233)

Backed out changeset 1f6db27e6240 (bug 1063233)
Backed out changeset b8e3d887faa2 (bug 1063233)
Backed out changeset 8e1913c07322 (bug 1063233)
Backed out changeset 04d42b23a489 (bug 1063233)
2014-09-05 17:42:45 -07:00
Jim Blandy
c46d5a6268 Bug 1063233: Remove use of UbiNode.h from IonCode.h, with consequent changes; Windows non-unified builds seem to be unhappy with it. CLOSED TREE r=bustage 2014-09-05 14:57:42 -07:00
Ehsan Akhgari
21a9749477 Bug 1060976 - Fix more bad implicit constructors in the JS engine; r=jorendorff 2014-09-05 15:11:39 -04:00
Jim Blandy
71484f95ca Bug 1063247: Let embeddings tell Debugger how to find the size of a malloc'd block of memory. r=terrence 2014-09-05 10:43:36 -07:00
Jim Blandy
796704a305 Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-05 10:43:35 -07:00
Jim Blandy
96c87e3727 Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-05 10:43:35 -07:00
Jim Blandy
2987a288ea Bug 1063233: Move JS::ubi::Node support for js::types::TypeObject next to where it is declared/defined. r=terrence 2014-09-05 10:37:19 -07:00
Jim Blandy
5d4c33121b Bug 1063233: Move JS::ubi::Node support for js::jit::JitCode next to where it is declared/defined. r=terrence 2014-09-05 10:37:19 -07:00
Jim Blandy
f45cc6900e Bug 1063233: Move JS::ubi::Node support for js::Shape and js::BaseShape next to their declarations and definitions. r=terrence 2014-09-05 10:36:07 -07:00
Jim Blandy
2f06da2369 Bug 1063233: Move JS::ubi::Node support for js::LazyScript to sit next to the rest of LazyScript's implementation. r=terrence 2014-09-05 10:34:03 -07:00
Jim Blandy
724dc1950b Bug 1062089: Rename js/public/DebugAPI.h to js/public/Debug.h. It's a public header file; *obviously* it's an API. r=jorendorff
--HG--
rename : js/public/DebugAPI.h => js/public/Debug.h
2014-09-05 10:32:29 -07:00
Jon Coppeard
9f938c20cc Bug 650161 - Add a class hook that's called when an object is moved r=terrence 2014-09-02 11:07:22 +02:00
Tom Schuster
4831caf277 Bug 1031880 - Remove JS_SetSingleStepMode. r=jorendorff 2014-08-31 19:08:41 +02:00
Kannan Vijayan
7141c60325 Bug 1057082 - Part 1 - Add profilingActivation linked list and refactor ProfilingFrameIterator. r=luke 2014-08-26 14:03:04 -04:00
Nicholas Nethercote
0c90379b35 Bug 1023719 - Report notable classes in the JS memory reporter. r=till.
--HG--
extra : rebase_source : 3139b17f6a660f460adb820c390368dc8367069a
2014-04-15 19:43:18 -07:00
Jan de Mooij
69fca6313c Bug 1055758 - rm Ion CompilerRoot infrastructure. r=bhackett
--HG--
extra : rebase_source : 73d4b369b240436d0c2cc95a9f40cac783c6adb5
2014-08-20 12:18:49 +02:00
Brian Hackett
8aadadd66a Bug 934450 - Allow objects to have copy on write elements, r=billm,jandem. 2014-08-19 22:25:37 -08:00
Bobby Holley
5e44b4c25a Bug 1050340 - Handle object and array. r=luke 2014-08-18 14:18:39 -07:00
Bobby Holley
f69cb3da4a Bug 1050340 - Handle maps and sets. r=luke 2014-08-18 14:18:39 -07:00
Bobby Holley
73f63e71ad Bug 1050340 - Handle boxed values with a new proxy trap. r=luke 2014-08-18 14:18:39 -07:00
Dan Gohman
d24f091257 Bug 1054334 - SpiderMonkey: Eliminate unnecessary parentheses around return values r=nbp 2014-08-18 12:20:40 -07:00
Dan Gohman
00b4fef72c Bug 1054334 - SpiderMonkey: Delete unneeded semicolons r=nbp 2014-08-18 12:20:39 -07:00
Terrence Cole
6606ad7310 Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco
--HG--
extra : rebase_source : 507ab10313127ffcbf905c42438882aa9074c38a
2014-08-05 14:06:35 -07:00
Jon Coppeard
433a1060f6 Bug 650161 - Implement compacting GC for JSObjects r=terrence 2014-08-14 11:52:24 +01:00
Jon Coppeard
7e5aae13e9 Bug 650161 - Update pointers to relocated objects r=terrence 2012-06-05 11:47:42 -07:00
Jon Coppeard
88198618da Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
Jim Blandy
b39e51b735 Bug 961326: Give SpiderMonkey an API that embeddings can use to safely construct values for Debugger clients. r=jorendorff 2014-08-14 16:33:21 -07:00
Jim Blandy
140805033c Bug 1051115: Let users tell ubi::Edge not to provide edge names, as they're expensive to compute, and not everyone needs them. r=terrence 2014-08-14 15:59:59 -07:00
Ed Morley
28007bed9c Backed out changeset dc66d16f19c8 (bug 1052422) for hazard analysis failures 2014-08-14 13:38:51 +01:00
Ed Morley
1b0adcea11 Backed out changeset 3adf62f886d9 (bug 650161) 2014-08-14 12:52:41 +01:00
Ed Morley
ffff7b0770 Backed out changeset edc768336c80 (bug 650161) 2014-08-14 12:52:34 +01:00
Jon Coppeard
01b56566aa Bug 650161 - Implement compacting GC for JSObjects r=terrence 2014-08-14 11:52:24 +01:00
Jon Coppeard
5b1c8897ed Bug 650161 - Update pointers to relocated objects r=terrence 2012-06-05 11:47:42 -07:00
Jon Coppeard
5a19c6c4f0 Bug 1052422 - Remove trivial shim functions that call into the GC r=sfink 2014-08-14 10:32:06 +01:00
Ehsan Akhgari
e78b481c3a Bug 1044596 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff 2014-07-27 13:40:52 -04:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Terrence Cole
a6741673cf Bug 1033442 - Remove non-pod calloc from MallocProvider and AllocPolicy; r=jonco 2014-08-05 14:06:35 -07:00
Jim Blandy
474f4425e3 Bug 1012456: Implement Debugger.Memory.prototype.census, with trivial categorization (none, just counting). r=terrence 2014-08-11 12:46:39 -07:00
Jim Blandy
3ecc8b3e0b Bug 1003302: Implement ubi::Node::compartment. r=terrence 2014-08-11 12:46:39 -07:00
Nicholas Nethercote
609079cb43 Bug 1043605 - Fix up DEBUG/JS_DEBUG confusion in HashTable.h. r=jwalden.
--HG--
extra : rebase_source : ae56e815766be675083596e177844e2365e93906
2014-08-10 23:17:44 -07:00
Terrence Cole
3718c92afc Bug 1047120 - PurpleBuffer doesn't actually need to use Heap<T>; r=mccr8,jonco 2014-07-31 14:43:45 -07:00
Ryan VanderMeulen
b59183f1cc Merge m-c to inbound. a=merge
CLOSED TREE
2014-08-06 16:50:19 -04:00
Terrence Cole
260506a9ca Bug 1046945 - Move ExposeGCThingToActiveJS to js::gc:: and use the typed wrappers instead; r=jonco
--HG--
extra : rebase_source : 99d98ed9351f563ed3b6eb18ad67d2f3ae736df4
2014-07-31 12:14:17 -07:00
Victor Porof
ecac4bb9d0 Bug 879008 - New UI for the sampling Profiler, r=rcampbell,fitzgen,pbrosset 2014-08-06 11:25:18 -04:00
Jim Blandy
1b479f0f20 Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence 2014-07-31 17:29:40 -07:00
Wes Kocher
edf6b12068 Backed out changeset 61a25c10da62 (bug 1038544) for build failures 2014-07-31 14:40:16 -07:00
Jim Blandy
8bb6861710 Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence 2014-07-31 13:50:10 -07:00