/work/obj-fuzz/dist/include/js/GCVariant.h
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
2 | | * vim: set ts=8 sts=4 et sw=4 tw=99: |
3 | | * This Source Code Form is subject to the terms of the Mozilla Public |
4 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
5 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
6 | | |
7 | | #ifndef js_GCVariant_h |
8 | | #define js_GCVariant_h |
9 | | |
10 | | #include "mozilla/Variant.h" |
11 | | |
12 | | #include "js/GCPolicyAPI.h" |
13 | | #include "js/RootingAPI.h" |
14 | | #include "js/TracingAPI.h" |
15 | | |
16 | | namespace JS { |
17 | | |
18 | | // These template specializations allow Variant to be used inside GC wrappers. |
19 | | // |
20 | | // When matching on GC wrappers around Variants, matching should be done on |
21 | | // the wrapper itself. The matcher class's methods should take Handles or |
22 | | // MutableHandles. For example, |
23 | | // |
24 | | // struct MyMatcher |
25 | | // { |
26 | | // using ReturnType = const char*; |
27 | | // ReturnType match(HandleObject o) { return "object"; } |
28 | | // ReturnType match(HandleScript s) { return "script"; } |
29 | | // }; |
30 | | // |
31 | | // Rooted<Variant<JSObject*, JSScript*>> v(cx, someScript); |
32 | | // MyMatcher mm; |
33 | | // v.match(mm); |
34 | | // |
35 | | // If you get compile errors about inability to upcast subclasses (e.g., from |
36 | | // NativeObject* to JSObject*) and are inside js/src, be sure to also include |
37 | | // "gc/Policy.h". |
38 | | |
39 | | namespace detail { |
40 | | |
41 | | template <typename... Ts> |
42 | | struct GCVariantImplementation; |
43 | | |
44 | | // The base case. |
45 | | template <typename T> |
46 | | struct GCVariantImplementation<T> |
47 | | { |
48 | | template <typename ConcreteVariant> |
49 | 0 | static void trace(JSTracer* trc, ConcreteVariant* v, const char* name) { |
50 | 0 | T& thing = v->template as<T>(); |
51 | 0 | if (!mozilla::IsPointer<T>::value || thing) { |
52 | 0 | GCPolicy<T>::trace(trc, &thing, name); |
53 | 0 | } |
54 | 0 | } Unexecuted instantiation: void JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::trace<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(JSTracer*, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>*, char const*) Unexecuted instantiation: void JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::trace<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(JSTracer*, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>*, char const*) |
55 | | |
56 | | template <typename Matcher, typename ConcreteVariant> |
57 | | static typename Matcher::ReturnType |
58 | 0 | match(Matcher& matcher, Handle<ConcreteVariant> v) { |
59 | 0 | const T& thing = v.get().template as<T>(); |
60 | 0 | return matcher.match(Handle<T>::fromMarkedLocation(&thing)); |
61 | 0 | } Unexecuted instantiation: DebuggerScriptSetPrivateMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptSetPrivateMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetPrivateMatcher&, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: SetDebuggerSourcePrivateMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<SetDebuggerSourcePrivateMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(SetDebuggerSourcePrivateMatcher&, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) |
62 | | |
63 | | template <typename Matcher, typename ConcreteVariant> |
64 | | static typename Matcher::ReturnType |
65 | 0 | match(Matcher& matcher, MutableHandle<ConcreteVariant> v) { |
66 | 0 | T& thing = v.get().template as<T>(); |
67 | 0 | return matcher.match(MutableHandle<T>::fromMarkedLocation(&thing)); |
68 | 0 | } Unexecuted instantiation: DebuggerScriptGetStartLineMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetStartLineMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetStartLineMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineCountMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetLineCountMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineCountMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSourceMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetSourceMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSourceMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetFormatMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetFormatMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetFormatMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetAllColumnOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetAllColumnOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetAllColumnOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetLineOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetOffsetLocationMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetOffsetLocationMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetOffsetLocationMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptSetBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptSetBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptClearBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptClearBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptClearBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptIsInCatchScopeMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerScriptIsInCatchScopeMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptIsInCatchScopeMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetTextMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetTextMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetTextMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetElementMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetElementMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetElementMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetDisplayURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetDisplayURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetDisplayURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetIntroductionScriptMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetIntroductionScriptMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetIntroductionScriptMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerGetIntroductionOffsetMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerGetIntroductionOffsetMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerGetIntroductionOffsetMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetIntroductionTypeMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetIntroductionTypeMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetIntroductionTypeMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetElementPropertyMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetElementPropertyMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetElementPropertyMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetSourceMapURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::WasmInstanceObject*>::match<DebuggerSourceGetSourceMapURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetSourceMapURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) |
69 | | }; |
70 | | |
71 | | // The inductive case. |
72 | | template <typename T, typename... Ts> |
73 | | struct GCVariantImplementation<T, Ts...> |
74 | | { |
75 | | using Next = GCVariantImplementation<Ts...>; |
76 | | |
77 | | template <typename ConcreteVariant> |
78 | 0 | static void trace(JSTracer* trc, ConcreteVariant* v, const char* name) { |
79 | 0 | if (v->template is<T>()) { |
80 | 0 | T& thing = v->template as<T>(); |
81 | 0 | if (!mozilla::IsPointer<T>::value || thing) { |
82 | 0 | GCPolicy<T>::trace(trc, &thing, name); |
83 | 0 | } |
84 | 0 | } else { |
85 | 0 | Next::trace(trc, v, name); |
86 | 0 | } |
87 | 0 | } Unexecuted instantiation: void JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::trace<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(JSTracer*, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>*, char const*) Unexecuted instantiation: void JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::trace<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(JSTracer*, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>*, char const*) Unexecuted instantiation: void JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::trace<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(JSTracer*, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>*, char const*) |
88 | | |
89 | | template <typename Matcher, typename ConcreteVariant> |
90 | | static typename Matcher::ReturnType |
91 | 0 | match(Matcher& matcher, Handle<ConcreteVariant> v) { |
92 | 0 | if (v.get().template is<T>()) { |
93 | 0 | const T& thing = v.get().template as<T>(); |
94 | 0 | return matcher.match(Handle<T>::fromMarkedLocation(&thing)); |
95 | 0 | } |
96 | 0 | return Next::match(matcher, v); |
97 | 0 | } Unexecuted instantiation: DebuggerScriptSetPrivateMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptSetPrivateMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetPrivateMatcher&, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptSetPrivateMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptSetPrivateMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetPrivateMatcher&, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: SetDebuggerSourcePrivateMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<SetDebuggerSourcePrivateMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(SetDebuggerSourcePrivateMatcher&, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) |
98 | | |
99 | | template <typename Matcher, typename ConcreteVariant> |
100 | | static typename Matcher::ReturnType |
101 | 0 | match(Matcher& matcher, MutableHandle<ConcreteVariant> v) { |
102 | 0 | if (v.get().template is<T>()) { |
103 | 0 | T& thing = v.get().template as<T>(); |
104 | 0 | return matcher.match(MutableHandle<T>::fromMarkedLocation(&thing)); |
105 | 0 | } |
106 | 0 | return Next::match(matcher, v); |
107 | 0 | } Unexecuted instantiation: DebuggerScriptGetStartLineMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetStartLineMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetStartLineMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetStartLineMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetStartLineMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetStartLineMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineCountMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetLineCountMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineCountMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineCountMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetLineCountMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineCountMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSourceMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetSourceMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSourceMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSourceMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetSourceMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSourceMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetFormatMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetFormatMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetFormatMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetFormatMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetFormatMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetFormatMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetAllColumnOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetAllColumnOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetAllColumnOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetAllColumnOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetAllColumnOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetAllColumnOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetLineOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetLineOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetLineOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetLineOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetOffsetLocationMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetOffsetLocationMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetOffsetLocationMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetOffsetLocationMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetOffsetLocationMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetOffsetLocationMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptSetBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptSetBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptSetBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptSetBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptSetBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptClearBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptClearBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptClearBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptClearBreakpointMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptClearBreakpointMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptClearBreakpointMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptIsInCatchScopeMatcher::ReturnType JS::detail::GCVariantImplementation<JSScript*, js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptIsInCatchScopeMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptIsInCatchScopeMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerScriptIsInCatchScopeMatcher::ReturnType JS::detail::GCVariantImplementation<js::LazyScript*, js::WasmInstanceObject*>::match<DebuggerScriptIsInCatchScopeMatcher, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >(DebuggerScriptIsInCatchScopeMatcher&, JS::MutableHandle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetTextMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetTextMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetTextMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetElementMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetElementMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetElementMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetDisplayURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetDisplayURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetDisplayURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetIntroductionScriptMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetIntroductionScriptMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetIntroductionScriptMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerGetIntroductionOffsetMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerGetIntroductionOffsetMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerGetIntroductionOffsetMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetIntroductionTypeMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetIntroductionTypeMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetIntroductionTypeMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetElementPropertyMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetElementPropertyMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetElementPropertyMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) Unexecuted instantiation: DebuggerSourceGetSourceMapURLMatcher::ReturnType JS::detail::GCVariantImplementation<js::ScriptSourceObject*, js::WasmInstanceObject*>::match<DebuggerSourceGetSourceMapURLMatcher, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >(DebuggerSourceGetSourceMapURLMatcher&, JS::MutableHandle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >) |
108 | | }; |
109 | | |
110 | | } // namespace detail |
111 | | |
112 | | template <typename... Ts> |
113 | | struct GCPolicy<mozilla::Variant<Ts...>> |
114 | | { |
115 | | using Impl = detail::GCVariantImplementation<Ts...>; |
116 | | |
117 | 0 | static void trace(JSTracer* trc, mozilla::Variant<Ts...>* v, const char* name) { |
118 | 0 | Impl::trace(trc, v, name); |
119 | 0 | } Unexecuted instantiation: JS::GCPolicy<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> >::trace(JSTracer*, mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>*, char const*) Unexecuted instantiation: JS::GCPolicy<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> >::trace(JSTracer*, mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>*, char const*) |
120 | | |
121 | | static bool isValid(const mozilla::Variant<Ts...>& v) { |
122 | | return v.match(IsValidMatcher()); |
123 | | } |
124 | | |
125 | | private: |
126 | | struct IsValidMatcher |
127 | | { |
128 | | template<typename T> |
129 | | bool match(T& v) { |
130 | | return GCPolicy<T>::isValid(v); |
131 | | }; |
132 | | }; |
133 | | }; |
134 | | |
135 | | } // namespace JS |
136 | | |
137 | | namespace js { |
138 | | |
139 | | template <typename Wrapper, typename... Ts> |
140 | | class WrappedPtrOperations<mozilla::Variant<Ts...>, Wrapper> |
141 | | { |
142 | | using Impl = JS::detail::GCVariantImplementation<Ts...>; |
143 | | using Variant = mozilla::Variant<Ts...>; |
144 | | |
145 | 0 | const Variant& variant() const { return static_cast<const Wrapper*>(this)->get(); } Unexecuted instantiation: js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::variant() const Unexecuted instantiation: js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::variant() const Unexecuted instantiation: js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::variant() const |
146 | | |
147 | | public: |
148 | | template <typename T> |
149 | 0 | bool is() const { |
150 | 0 | return variant().template is<T>(); |
151 | 0 | } Unexecuted instantiation: bool js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::is<js::ScriptSourceObject*>() const Unexecuted instantiation: bool js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::is<js::WasmInstanceObject*>() const Unexecuted instantiation: bool js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::is<JSScript*>() const Unexecuted instantiation: bool js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::is<js::LazyScript*>() const Unexecuted instantiation: bool js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::is<js::ScriptSourceObject*>() const |
152 | | |
153 | | template <typename T> |
154 | 0 | JS::Handle<T> as() const { |
155 | 0 | return Handle<T>::fromMarkedLocation(&variant().template as<T>()); |
156 | 0 | } Unexecuted instantiation: JS::Handle<JSScript*> js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::as<JSScript*>() const Unexecuted instantiation: JS::Handle<js::LazyScript*> js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::as<js::LazyScript*>() const Unexecuted instantiation: JS::Handle<js::WasmInstanceObject*> js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::as<js::WasmInstanceObject*>() const Unexecuted instantiation: JS::Handle<js::ScriptSourceObject*> js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::as<js::ScriptSourceObject*>() const Unexecuted instantiation: JS::Handle<js::WasmInstanceObject*> js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::as<js::WasmInstanceObject*>() const |
157 | | |
158 | | template <typename Matcher> |
159 | | typename Matcher::ReturnType |
160 | 0 | match(Matcher& matcher) const { |
161 | 0 | return Impl::match(matcher, JS::Handle<Variant>::fromMarkedLocation(&variant())); |
162 | 0 | } Unexecuted instantiation: DebuggerScriptSetPrivateMatcher::ReturnType js::WrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptSetPrivateMatcher>(DebuggerScriptSetPrivateMatcher&) const Unexecuted instantiation: SetDebuggerSourcePrivateMatcher::ReturnType js::WrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Handle<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<SetDebuggerSourcePrivateMatcher>(SetDebuggerSourcePrivateMatcher&) const |
163 | | }; |
164 | | |
165 | | template <typename Wrapper, typename... Ts> |
166 | | class MutableWrappedPtrOperations<mozilla::Variant<Ts...>, Wrapper> |
167 | | : public WrappedPtrOperations<mozilla::Variant<Ts...>, Wrapper> |
168 | | { |
169 | | using Impl = JS::detail::GCVariantImplementation<Ts...>; |
170 | | using Variant = mozilla::Variant<Ts...>; |
171 | | |
172 | | const Variant& variant() const { return static_cast<const Wrapper*>(this)->get(); } |
173 | 0 | Variant& variant() { return static_cast<Wrapper*>(this)->get(); } Unexecuted instantiation: js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::variant() Unexecuted instantiation: js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::variant() |
174 | | |
175 | | public: |
176 | | template <typename T> |
177 | 0 | JS::MutableHandle<T> as() { |
178 | 0 | return JS::MutableHandle<T>::fromMarkedLocation(&variant().template as<T>()); |
179 | 0 | } Unexecuted instantiation: JS::MutableHandle<js::ScriptSourceObject*> js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::as<js::ScriptSourceObject*>() Unexecuted instantiation: JS::MutableHandle<js::WasmInstanceObject*> js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::as<js::WasmInstanceObject*>() |
180 | | |
181 | | template <typename Matcher> |
182 | | typename Matcher::ReturnType |
183 | 0 | match(Matcher& matcher) { |
184 | 0 | return Impl::match(matcher, JS::MutableHandle<Variant>::fromMarkedLocation(&variant())); |
185 | 0 | } Unexecuted instantiation: DebuggerScriptGetStartLineMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetStartLineMatcher>(DebuggerScriptGetStartLineMatcher&) Unexecuted instantiation: DebuggerScriptGetLineCountMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetLineCountMatcher>(DebuggerScriptGetLineCountMatcher&) Unexecuted instantiation: DebuggerScriptGetSourceMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetSourceMatcher>(DebuggerScriptGetSourceMatcher&) Unexecuted instantiation: DebuggerScriptGetFormatMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetFormatMatcher>(DebuggerScriptGetFormatMatcher&) Unexecuted instantiation: DebuggerScriptGetAllColumnOffsetsMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetAllColumnOffsetsMatcher>(DebuggerScriptGetAllColumnOffsetsMatcher&) Unexecuted instantiation: DebuggerScriptGetLineOffsetsMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetLineOffsetsMatcher>(DebuggerScriptGetLineOffsetsMatcher&) Unexecuted instantiation: DebuggerScriptGetOffsetLocationMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetOffsetLocationMatcher>(DebuggerScriptGetOffsetLocationMatcher&) Unexecuted instantiation: DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher>(DebuggerScriptGetSuccessorOrPredecessorOffsetsMatcher&) Unexecuted instantiation: DebuggerScriptSetBreakpointMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptSetBreakpointMatcher>(DebuggerScriptSetBreakpointMatcher&) Unexecuted instantiation: DebuggerScriptClearBreakpointMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptClearBreakpointMatcher>(DebuggerScriptClearBreakpointMatcher&) Unexecuted instantiation: DebuggerScriptIsInCatchScopeMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<JSScript*, js::LazyScript*, js::WasmInstanceObject*> > >::match<DebuggerScriptIsInCatchScopeMatcher>(DebuggerScriptIsInCatchScopeMatcher&) Unexecuted instantiation: DebuggerSourceGetTextMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetTextMatcher>(DebuggerSourceGetTextMatcher&) Unexecuted instantiation: DebuggerSourceGetURLMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetURLMatcher>(DebuggerSourceGetURLMatcher&) Unexecuted instantiation: DebuggerSourceGetElementMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetElementMatcher>(DebuggerSourceGetElementMatcher&) Unexecuted instantiation: DebuggerSourceGetDisplayURLMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetDisplayURLMatcher>(DebuggerSourceGetDisplayURLMatcher&) Unexecuted instantiation: DebuggerSourceGetIntroductionScriptMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetIntroductionScriptMatcher>(DebuggerSourceGetIntroductionScriptMatcher&) Unexecuted instantiation: DebuggerGetIntroductionOffsetMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerGetIntroductionOffsetMatcher>(DebuggerGetIntroductionOffsetMatcher&) Unexecuted instantiation: DebuggerSourceGetIntroductionTypeMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetIntroductionTypeMatcher>(DebuggerSourceGetIntroductionTypeMatcher&) Unexecuted instantiation: DebuggerSourceGetElementPropertyMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetElementPropertyMatcher>(DebuggerSourceGetElementPropertyMatcher&) Unexecuted instantiation: DebuggerSourceGetSourceMapURLMatcher::ReturnType js::MutableWrappedPtrOperations<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*>, JS::Rooted<mozilla::Variant<js::ScriptSourceObject*, js::WasmInstanceObject*> > >::match<DebuggerSourceGetSourceMapURLMatcher>(DebuggerSourceGetSourceMapURLMatcher&) |
186 | | }; |
187 | | |
188 | | } // namespace js |
189 | | |
190 | | #endif // js_GCVariant_h |