diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-27 02:51:11 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-10-27 02:51:11 +0200 |
commit | 44a077980abb92dcea9ed374fd9719eaaf2f1458 (patch) | |
tree | dc262274ecda4799835232951bdb160b9a7b7d0e /js/src/gc | |
parent | c59c9682d351e641f184e1f8095f399fee179f62 (diff) | |
download | uxp-44a077980abb92dcea9ed374fd9719eaaf2f1458.tar.gz |
Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class.
Diffstat (limited to 'js/src/gc')
-rw-r--r-- | js/src/gc/Marking.cpp | 7 | ||||
-rw-r--r-- | js/src/gc/RootMarking.cpp | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/js/src/gc/Marking.cpp b/js/src/gc/Marking.cpp index da3ef7d0d6..262fc8cbcc 100644 --- a/js/src/gc/Marking.cpp +++ b/js/src/gc/Marking.cpp @@ -2846,10 +2846,9 @@ struct UnmarkGrayTracer : public JS::CallbackTracer * * There is an additional complication for certain kinds of edges that are not * contained explicitly in the source object itself, such as from a weakmap key - * to its value, and from an object being watched by a watchpoint to the - * watchpoint's closure. These "implicit edges" are represented in some other - * container object, such as the weakmap or the watchpoint itself. In these - * cases, calling unmark gray on an object won't find all of its children. + * to its value. These "implicit edges" are represented in some other + * container object, such as the weakmap itself. In these cases, calling unmark + * gray on an object won't find all of its children. * * Handling these implicit edges has two parts: * - A special pass enumerating all of the containers that know about the diff --git a/js/src/gc/RootMarking.cpp b/js/src/gc/RootMarking.cpp index f5969bc1f5..7d665e8ebc 100644 --- a/js/src/gc/RootMarking.cpp +++ b/js/src/gc/RootMarking.cpp @@ -14,7 +14,6 @@ #include "jsgc.h" #include "jsprf.h" #include "jstypes.h" -#include "jswatchpoint.h" #include "builtin/MapObject.h" #include "frontend/BytecodeCompiler.h" |