Commit Graph

55 Commits

Author SHA1 Message Date
Terrence Cole
d492e66bd8 Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8 2015-06-11 10:03:33 -07:00
Nick Fitzgerald
1fe9f17177 Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
1d0ee3fcb6 Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-05-28 07:37:43 -07:00
Nick Fitzgerald
4dd1466e0a Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-05-28 07:37:42 -07:00
Nick Fitzgerald
dbc93a3476 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-05-28 07:37:42 -07:00
Terrence Cole
7b1f37d23c Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco 2015-05-22 10:40:24 -07:00
Terrence Cole
ebcaaf0cb2 Bug 1167313 - Simplify UbiNode::construct dispatch using CallTyped; r=jimb 2015-05-21 11:41:18 -07:00
Nick Fitzgerald
e7b9c549d9 Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj 2015-04-27 10:57:06 -07:00
Jim Blandy
fcf1d8e4b6 Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink 2015-03-22 23:06:51 -07:00
Carsten "Tomcat" Book
150d4d1475 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)
2015-04-23 08:37:24 +02:00
Nick Fitzgerald
fecaadc68d Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
3d752dd19f Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
e797802e4e Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
1139958cb1 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-04-22 11:09:53 -07:00
Ryan VanderMeulen
54dfd7940f Backed out changeset 47abda42667c (bug 1063257) jit-test failures. 2015-04-16 16:27:34 -04:00
Jim Blandy
8f394b568c Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink 2015-03-22 23:06:51 -07:00
Jim Blandy
325a4f495b Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence 2015-04-01 18:04:53 -07:00
Jim Blandy
12713e180d Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence 2015-04-15 22:04:38 -07:00
Jan de Mooij
353df38b83 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
ebf64fc997 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
Jan de Mooij
f981f078d8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Ehsan Akhgari
33bb32f549 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
Nick Fitzgerald
90cb8a5687 Bug 1142338 - Debugger.Memory's census shouldn't use JS::ubi::Node::as<T>; r=sfink 2015-03-13 13:19:26 -07:00
Birunthan Mohanathas
730659ae0a Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
Ehsan Akhgari
b6e35bb4b4 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
Nick Fitzgerald
1b39edeeec Bug 1102541 - Add JS::ubi::RootList::addRoot; r=shu 2014-12-16 10:50:43 -08:00
Nick Fitzgerald
698d4ba70b Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb 2014-11-19 10:19:59 -08:00
Nick Fitzgerald
4529ca8594 Backed out changeset 73ea3aa3ccec 2014-11-19 10:00:02 -08:00
Nick Fitzgerald
400c4d17a5 Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb 2014-11-19 09:57:11 -08:00
Nick Fitzgerald
d44fae4043 Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence 2014-11-07 11:56:00 +01:00
Jim Blandy
eb0712728b Bug 1075564: Give JS::ubi::Node its implicit constructor back, with the right annotation this time. r=luke 2014-10-02 10:19:10 +01:00
Ehsan Akhgari
03fe591dc7 Bug 1068024 - Fix more bad implicit constructors in JS; r=luke,Waldo
--HG--
extra : rebase_source : 1eea3e7dfc3235a1b99d7deb131efda07dde4eac
2014-09-23 22:04:52 -04:00
Jim Blandy
dda83ff66a 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-19 15:10:01 -07:00
Jim Blandy
d31bf30d11 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-19 15:10:00 -07:00
Jim Blandy
ef14470f6c Bug 1063233: Move JS::ubi::Node specializations for SpiderMonkey types closer to those types' definitions. r=terrence 2014-09-18 12:56:54 -07:00
Jim Blandy
b93d09903a Bug 1063233: Provide default definitions for optional JS::ubi::Node methods in Base. r=terrence 2014-09-18 12:56:53 -07:00
Chris Peterson
b3b77faddd Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Wes Kocher
3dadae9f33 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
12e9caf8c5 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
945e41fa38 Bug 1060976 - Fix more bad implicit constructors in the JS engine; r=jorendorff 2014-09-05 15:11:39 -04:00
Jim Blandy
49104fabe9 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
25be307de9 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
8970bac29c 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
02d7fe5435 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
6cb763f5f4 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
7c0e7fd498 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
Dan Gohman
70a7c8657e Bug 1054334 - SpiderMonkey: Delete unneeded semicolons r=nbp 2014-08-18 12:20:39 -07:00
Jim Blandy
2031db478b 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
Ehsan Akhgari
2b398bdd1b Bug 1044596 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff 2014-07-27 13:40:52 -04:00
Jim Blandy
06cdfd176e Bug 1003302: Implement ubi::Node::compartment. r=terrence 2014-08-11 12:46:39 -07:00