/work/obj-fuzz/dist/include/js/GCVector.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_GCVector_h |
8 | | #define js_GCVector_h |
9 | | |
10 | | #include "mozilla/Vector.h" |
11 | | |
12 | | #include "js/GCPolicyAPI.h" |
13 | | #include "js/RootingAPI.h" |
14 | | #include "js/TracingAPI.h" |
15 | | #include "js/Vector.h" |
16 | | |
17 | | namespace JS { |
18 | | |
19 | | // A GCVector is a Vector with an additional trace method that knows how |
20 | | // to visit all of the items stored in the Vector. For vectors that contain GC |
21 | | // things, this is usually more convenient than manually iterating and marking |
22 | | // the contents. |
23 | | // |
24 | | // Most types of GC pointers as keys and values can be traced with no extra |
25 | | // infrastructure. For structs and non-gc-pointer members, ensure that there is |
26 | | // a specialization of GCPolicy<T> with an appropriate trace method available |
27 | | // to handle the custom type. Generic helpers can be found in |
28 | | // js/public/TracingAPI.h. |
29 | | // |
30 | | // Note that although this Vector's trace will deal correctly with moved items, |
31 | | // it does not itself know when to barrier or trace items. To function properly |
32 | | // it must either be used with Rooted, or barriered and traced manually. |
33 | | template <typename T, |
34 | | size_t MinInlineCapacity = 0, |
35 | | typename AllocPolicy = js::TempAllocPolicy> |
36 | | class GCVector |
37 | | { |
38 | | mozilla::Vector<T, MinInlineCapacity, AllocPolicy> vector; |
39 | | |
40 | | public: |
41 | | explicit GCVector(AllocPolicy alloc = AllocPolicy()) |
42 | | : vector(alloc) |
43 | 8.07M | {} JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Line | Count | Source | 43 | 12 | {} |
JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 8.07M | {} |
JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 8 | {} |
JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 27 | {} |
JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 38 | {} |
Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 9 | {} |
Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 1 | {} |
Unexecuted instantiation: JS::GCVector<js::FunctionDeclaration, 0ul, js::ZoneAllocPolicy>::GCVector(js::ZoneAllocPolicy) Unexecuted instantiation: JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::WrapperValue, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Unexecuted instantiation: JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 16 | {} |
Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 51 | {} |
JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 1.49k | {} |
Unexecuted instantiation: JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Unexecuted instantiation: JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::GCVector(js::SystemAllocPolicy) Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::GCVector(js::TempAllocPolicy) Line | Count | Source | 43 | 1.48k | {} |
|
44 | | |
45 | | GCVector(GCVector&& vec) |
46 | | : vector(std::move(vec.vector)) |
47 | 8.07M | {} JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::GCVector(JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>&&) Line | Count | Source | 47 | 12 | {} |
JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 8.07M | {} |
JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<jsid, 0ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 8 | {} |
JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::GCVector(JS::GCVector<jsid, 8ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 27 | {} |
JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 11 | {} |
Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>&&) JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 9 | {} |
Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>&&) JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 1 | {} |
Unexecuted instantiation: JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::GCVector(JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>&&) JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 16 | {} |
JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 51 | {} |
JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 1.49k | {} |
Unexecuted instantiation: JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::GCVector(JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::GCVector(JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::GCVector(JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>&&) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>&&) JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::GCVector(JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>&&) Line | Count | Source | 47 | 1.48k | {} |
|
48 | | |
49 | 6 | GCVector& operator=(GCVector&& vec) { |
50 | 6 | vector = std::move(vec.vector); |
51 | 6 | return *this; |
52 | 6 | } JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::operator=(JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>&&) Line | Count | Source | 49 | 6 | GCVector& operator=(GCVector&& vec) { | 50 | 6 | vector = std::move(vec.vector); | 51 | 6 | return *this; | 52 | 6 | } |
Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::operator=(JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>&&) |
53 | | |
54 | 1.63M | size_t length() const { return vector.length(); } JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 1.62M | size_t length() const { return vector.length(); } |
JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 32 | size_t length() const { return vector.length(); } |
Unexecuted instantiation: JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::length() const JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 8 | size_t length() const { return vector.length(); } |
Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::length() const JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 9.77k | size_t length() const { return vector.length(); } |
JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 54 | size_t length() const { return vector.length(); } |
Unexecuted instantiation: JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::length() const JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::length() const Line | Count | Source | 54 | 16 | size_t length() const { return vector.length(); } |
Unexecuted instantiation: JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::length() const Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::length() const |
55 | 13 | bool empty() const { return vector.empty(); } JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::empty() const Line | Count | Source | 55 | 5 | bool empty() const { return vector.empty(); } |
Unexecuted instantiation: JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::empty() const Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::empty() const Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::empty() const Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::empty() const JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::empty() const Line | Count | Source | 55 | 8 | bool empty() const { return vector.empty(); } |
|
56 | 0 | size_t capacity() const { return vector.capacity(); } Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::capacity() const Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::capacity() const |
57 | | |
58 | 8.07M | T* begin() { return vector.begin(); } JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 8 | T* begin() { return vector.begin(); } |
JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 8.07M | T* begin() { return vector.begin(); } |
Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::begin() JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 8 | T* begin() { return vector.begin(); } |
Unexecuted instantiation: JS::GCVector<js::FunctionDeclaration, 0ul, js::ZoneAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<js::WrapperValue, 8ul, js::TempAllocPolicy>::begin() JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 16 | T* begin() { return vector.begin(); } |
Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::begin() Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::begin() JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 16 | T* begin() { return vector.begin(); } |
JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 2 | T* begin() { return vector.begin(); } |
JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::begin() Line | Count | Source | 58 | 28 | T* begin() { return vector.begin(); } |
|
59 | 1.62M | const T* begin() const { return vector.begin(); } JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::begin() const Line | Count | Source | 59 | 1.62M | const T* begin() const { return vector.begin(); } |
JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::begin() const Line | Count | Source | 59 | 8 | const T* begin() const { return vector.begin(); } |
Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::begin() const Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::begin() const Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::begin() const Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::begin() const Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::begin() const |
60 | | |
61 | 43 | T* end() { return vector.end(); } JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::end() Line | Count | Source | 61 | 8 | T* end() { return vector.end(); } |
Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::end() JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::end() Line | Count | Source | 61 | 1 | T* end() { return vector.end(); } |
Unexecuted instantiation: JS::GCVector<js::FunctionDeclaration, 0ul, js::ZoneAllocPolicy>::end() Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::end() Unexecuted instantiation: JS::GCVector<js::WrapperValue, 8ul, js::TempAllocPolicy>::end() JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::end() Line | Count | Source | 61 | 16 | T* end() { return vector.end(); } |
Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::end() Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::end() Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::end() JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::end() Line | Count | Source | 61 | 16 | T* end() { return vector.end(); } |
JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::end() Line | Count | Source | 61 | 2 | T* end() { return vector.end(); } |
|
62 | 8 | const T* end() const { return vector.end(); } JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::end() const Line | Count | Source | 62 | 8 | const T* end() const { return vector.end(); } |
Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::end() const Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::end() const Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::end() const Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::end() const |
63 | | |
64 | 2.36k | T& operator[](size_t i) { return vector[i]; } Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::operator[](unsigned long) JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::operator[](unsigned long) Line | Count | Source | 64 | 42 | T& operator[](size_t i) { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::operator[](unsigned long) Line | Count | Source | 64 | 1 | T& operator[](size_t i) { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Line | Count | Source | 64 | 24 | T& operator[](size_t i) { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::operator[](unsigned long) JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Line | Count | Source | 64 | 384 | T& operator[](size_t i) { return vector[i]; } |
JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Line | Count | Source | 64 | 1.91k | T& operator[](size_t i) { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) |
65 | 5.55k | const T& operator[](size_t i) const { return vector[i]; } Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Line | Count | Source | 65 | 5.49k | const T& operator[](size_t i) const { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::operator[](unsigned long) const JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Line | Count | Source | 65 | 60 | const T& operator[](size_t i) const { return vector[i]; } |
Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::operator[](unsigned long) const Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::operator[](unsigned long) const |
66 | | |
67 | 0 | T& back() { return vector.back(); } Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::back() Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::back() Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::back() Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::back() |
68 | | const T& back() const { return vector.back(); } |
69 | | |
70 | | bool initCapacity(size_t cap) { return vector.initCapacity(cap); } |
71 | 0 | MOZ_MUST_USE bool reserve(size_t req) { return vector.reserve(req); } Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::reserve(unsigned long) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::reserve(unsigned long) |
72 | | void shrinkBy(size_t amount) { return vector.shrinkBy(amount); } |
73 | 0 | MOZ_MUST_USE bool growBy(size_t amount) { return vector.growBy(amount); } Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::growBy(unsigned long) Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::growBy(unsigned long) Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::growBy(unsigned long) Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::growBy(unsigned long) |
74 | 8.07M | MOZ_MUST_USE bool resize(size_t newLen) { return vector.resize(newLen); } JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::resize(unsigned long) Line | Count | Source | 74 | 8.07M | MOZ_MUST_USE bool resize(size_t newLen) { return vector.resize(newLen); } |
Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::resize(unsigned long) Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::resize(unsigned long) JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::resize(unsigned long) Line | Count | Source | 74 | 8 | MOZ_MUST_USE bool resize(size_t newLen) { return vector.resize(newLen); } |
Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::resize(unsigned long) Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::resize(unsigned long) Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::resize(unsigned long) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::resize(unsigned long) |
75 | | |
76 | 3 | void clear() { return vector.clear(); } JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::clear() Line | Count | Source | 76 | 3 | void clear() { return vector.clear(); } |
Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::clear() Unexecuted instantiation: JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::clear() Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::clear() Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::clear() Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::clear() |
77 | 0 | void clearAndFree() { return vector.clearAndFree(); } |
78 | | |
79 | 4.73k | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::Value>(JS::Value&&) bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Line | Count | Source | 79 | 43 | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<JS::Rooted<jsid>&>(JS::Rooted<jsid>&) bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<jsid&>(jsid&) Line | Count | Source | 79 | 8 | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<jsid>(jsid&&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JS::Handle<JSObject*>&>(JS::Handle<JSObject*>&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JSObject*>(JSObject*&&) Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<mozilla::dom::PinnedStringId const&>(mozilla::dom::PinnedStringId const&) Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<jsid const&>(jsid const&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::Handle<JS::Value> >(JS::Handle<JS::Value>&&) bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JS::Rooted<JSObject*>&>(JS::Rooted<JSObject*>&) Line | Count | Source | 79 | 1 | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::append<JS::Handle<JSObject*>&>(JS::Handle<JSObject*>&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JSObject*&>(JSObject*&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::MutableHandle<JS::Value> >(JS::MutableHandle<JS::Value>&&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::Value&>(JS::Value&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::MutableHandle<JS::Value>&>(JS::MutableHandle<JS::Value>&) Unexecuted instantiation: bool JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::append<JS::Rooted<JS::PropertyDescriptor>&>(JS::Rooted<JS::PropertyDescriptor>&) bool JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::append<js::Shape*>(js::Shape*&&) Line | Count | Source | 79 | 59 | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::append<js::Shape*&>(js::Shape*&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::append<JS::Value>(JS::Value&&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::append<js::HeapPtr<JS::Value>&>(js::HeapPtr<JS::Value>&) Unexecuted instantiation: bool JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::append<JS::Rooted<js::ExportEntryObject*>&>(JS::Rooted<js::ExportEntryObject*>&) Unexecuted instantiation: bool JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::append<JS::Handle<js::ExportEntryObject*>&>(JS::Handle<js::ExportEntryObject*>&) Unexecuted instantiation: bool JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::append<JS::Rooted<js::RequestedModuleObject*>&>(JS::Rooted<js::RequestedModuleObject*>&) Unexecuted instantiation: bool JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::append<JSString*>(JSString*&&) Unexecuted instantiation: bool JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::append<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> >(JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: bool JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::append<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> >(JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: bool JS::GCVector<js::WrapperValue, 8ul, js::TempAllocPolicy>::append<js::WrapperValue>(js::WrapperValue&&) Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<JS::MutableHandle<jsid> >(JS::MutableHandle<jsid>&&) Unexecuted instantiation: bool JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::append<js::gc::ZoneCellIter<JSScript>&>(js::gc::ZoneCellIter<JSScript>&) Unexecuted instantiation: bool JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::append<JSScript*&>(JSScript*&) Unexecuted instantiation: bool JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::append<js::gc::ZoneCellIter<JSScript>&>(js::gc::ZoneCellIter<JSScript>&) Unexecuted instantiation: bool JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::append<js::LazyScript*&>(js::LazyScript*&) Unexecuted instantiation: bool JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::append<js::WasmInstanceObject*&>(js::WasmInstanceObject*&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JS::Rooted<js::PlainObject*>&>(JS::Rooted<js::PlainObject*>&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>::append<js::GCPtr<js::NativeObject*>&>(js::GCPtr<js::NativeObject*>&) Unexecuted instantiation: bool JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::append<js::DebuggerFrame*&>(js::DebuggerFrame*&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<js::GlobalObject*&>(js::GlobalObject*&) Unexecuted instantiation: bool JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::append<jsid&>(jsid&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<js::GCPtr<js::NativeObject*>&>(js::GCPtr<js::NativeObject*>&) bool JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::append<js::IdValuePair>(js::IdValuePair&&) Line | Count | Source | 79 | 1.16k | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::append<js::Shape*>(js::Shape*&&) Unexecuted instantiation: bool JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::append<js::IdValuePair>(js::IdValuePair&&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::append<JS::Value&>(JS::Value&) Unexecuted instantiation: bool JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::append<JS::Value const&>(JS::Value const&) bool JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::append<js::Scope*&>(js::Scope*&) Line | Count | Source | 79 | 1.91k | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::append<JS::Rooted<js::Scope*>&>(JS::Rooted<js::Scope*>&) Unexecuted instantiation: bool JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::append<js::GlobalScope*&>(js::GlobalScope*&) Unexecuted instantiation: bool JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::append<JSFunction*&>(JSFunction*&) Unexecuted instantiation: bool JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::append<js::PreBarriered<jsid> const&>(js::PreBarriered<jsid> const&) bool JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::append<JS::Value const&>(JS::Value const&) Line | Count | Source | 79 | 60 | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
Unexecuted instantiation: bool JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::append<js::wasm::Val>(js::wasm::Val&&) Unexecuted instantiation: bool JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::append<JS::MutableHandle<JSFunction*> >(JS::MutableHandle<JSFunction*>&&) Unexecuted instantiation: bool JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::append<JSFunction*>(JSFunction*&&) Unexecuted instantiation: bool JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::append<JS::Rooted<js::wasm::Val>&>(JS::Rooted<js::wasm::Val>&) Unexecuted instantiation: bool JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::append<JS::Rooted<js::StructTypeDescr*>&>(JS::Rooted<js::StructTypeDescr*>&) bool JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::append<JSFunction*>(JSFunction*&&) Line | Count | Source | 79 | 1.48k | template<typename U> bool append(U&& item) { return vector.append(std::forward<U>(item)); } |
|
80 | | |
81 | | template<typename... Args> |
82 | | MOZ_MUST_USE bool |
83 | 0 | emplaceBack(Args&&... args) { |
84 | 0 | return vector.emplaceBack(std::forward<Args>(args)...); |
85 | 0 | } |
86 | | |
87 | | template<typename U> |
88 | 0 | void infallibleAppend(U&& aU) { |
89 | 0 | return vector.infallibleAppend(std::forward<U>(aU)); |
90 | 0 | } Unexecuted instantiation: void JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Rooted<jsid>&>(JS::Rooted<jsid>&) Unexecuted instantiation: void JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::infallibleAppend<jsid>(jsid&&) Unexecuted instantiation: void JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::MutableHandle<JS::Value> >(JS::MutableHandle<JS::Value>&&) Unexecuted instantiation: void JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Handle<JSObject*> >(JS::Handle<JSObject*>&&) Unexecuted instantiation: void JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Value>(JS::Value&&) Unexecuted instantiation: void JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Rooted<JSObject*>&>(JS::Rooted<JSObject*>&) Unexecuted instantiation: void JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::infallibleAppend<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Unexecuted instantiation: void JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Unexecuted instantiation: void JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::infallibleAppend<JS::Value&>(JS::Value&) Unexecuted instantiation: void JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::infallibleAppend<JSObject*>(JSObject*&&) Unexecuted instantiation: void JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::infallibleAppend<jsid&>(jsid&) Unexecuted instantiation: void JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::infallibleAppend<js::PreBarriered<jsid> const&>(js::PreBarriered<jsid> const&) Unexecuted instantiation: void JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::infallibleAppend<JSScript*&>(JSScript*&) Unexecuted instantiation: void JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::infallibleAppend<JS::Rooted<js::ScriptSourceObject*>&>(JS::Rooted<js::ScriptSourceObject*>&) Unexecuted instantiation: void JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::infallibleAppend<JS::Rooted<JSScript*>&>(JS::Rooted<JSScript*>&) Unexecuted instantiation: void JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::infallibleAppend<JSScript*&>(JSScript*&) Unexecuted instantiation: void JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::infallibleAppend<js::IdValuePair>(js::IdValuePair&&) Unexecuted instantiation: void JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::infallibleAppend<JS::Value const&>(JS::Value const&) Unexecuted instantiation: void JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::infallibleAppend<JS::Value>(JS::Value&&) Unexecuted instantiation: void JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::infallibleAppend<JS::Rooted<JSAtom*>&>(JS::Rooted<JSAtom*>&) |
91 | | void infallibleAppendN(const T& aT, size_t aN) { |
92 | | return vector.infallibleAppendN(aT, aN); |
93 | | } |
94 | | template<typename U> void |
95 | | infallibleAppend(const U* aBegin, const U* aEnd) { |
96 | | return vector.infallibleAppend(aBegin, aEnd); |
97 | | } |
98 | | template<typename U> void infallibleAppend(const U* aBegin, size_t aLength) { |
99 | | return vector.infallibleAppend(aBegin, aLength); |
100 | | } |
101 | | |
102 | | template<typename U> |
103 | 0 | MOZ_MUST_USE bool appendAll(const U& aU) { |
104 | 0 | return vector.append(aU.begin(), aU.end()); |
105 | 0 | } |
106 | | |
107 | 33 | MOZ_MUST_USE bool appendN(const T& val, size_t count) { |
108 | 33 | return vector.appendN(val, count); |
109 | 33 | } Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::appendN(JS::Value const&, unsigned long) JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::appendN(js::IdValuePair const&, unsigned long) Line | Count | Source | 107 | 24 | MOZ_MUST_USE bool appendN(const T& val, size_t count) { | 108 | 24 | return vector.appendN(val, count); | 109 | 24 | } |
JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::appendN(JS::Value const&, unsigned long) Line | Count | Source | 107 | 9 | MOZ_MUST_USE bool appendN(const T& val, size_t count) { | 108 | 9 | return vector.appendN(val, count); | 109 | 9 | } |
|
110 | | |
111 | | template<typename U> |
112 | 8 | MOZ_MUST_USE bool append(const U* aBegin, const U* aEnd) { |
113 | 8 | return vector.append(aBegin, aEnd); |
114 | 8 | } bool JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::append<jsid>(jsid const*, jsid const*) Line | Count | Source | 112 | 8 | MOZ_MUST_USE bool append(const U* aBegin, const U* aEnd) { | 113 | 8 | return vector.append(aBegin, aEnd); | 114 | 8 | } |
Unexecuted instantiation: bool JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::append<JS::PropertyDescriptor>(JS::PropertyDescriptor const*, JS::PropertyDescriptor const*) Unexecuted instantiation: bool JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::append<JS::Value>(JS::Value const*, JS::Value const*) |
115 | | template<typename U> |
116 | 0 | MOZ_MUST_USE bool append(const U* aBegin, size_t aLength) { |
117 | 0 | return vector.append(aBegin, aLength); |
118 | 0 | } |
119 | | |
120 | 0 | void popBack() { return vector.popBack(); } Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::popBack() Unexecuted instantiation: JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::popBack() |
121 | 0 | T popCopy() { return vector.popCopy(); } Unexecuted instantiation: JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::popCopy() Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::popCopy() Unexecuted instantiation: JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::popCopy() Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::popCopy() |
122 | | |
123 | 0 | size_t sizeOfExcludingThis(mozilla::MallocSizeOf mallocSizeOf) const { |
124 | 0 | return vector.sizeOfExcludingThis(mallocSizeOf); |
125 | 0 | } |
126 | | |
127 | | size_t sizeOfIncludingThis(mozilla::MallocSizeOf mallocSizeOf) const { |
128 | | return vector.sizeOfIncludingThis(mallocSizeOf); |
129 | | } |
130 | | |
131 | | static void trace(GCVector* vec, JSTracer* trc) { vec->trace(trc); } |
132 | | |
133 | 98 | void trace(JSTracer* trc) { |
134 | 147 | for (auto& elem : vector) { |
135 | 147 | GCPolicy<T>::trace(trc, &elem, "vector element"); |
136 | 147 | } |
137 | 98 | } JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>::trace(JSTracer*) Line | Count | Source | 133 | 38 | void trace(JSTracer* trc) { | 134 | 38 | for (auto& elem : vector) { | 135 | 0 | GCPolicy<T>::trace(trc, &elem, "vector element"); | 136 | 0 | } | 137 | 38 | } |
JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>::trace(JSTracer*) Line | Count | Source | 133 | 41 | void trace(JSTracer* trc) { | 134 | 147 | for (auto& elem : vector) { | 135 | 147 | GCPolicy<T>::trace(trc, &elem, "vector element"); | 136 | 147 | } | 137 | 41 | } |
Unexecuted instantiation: JS::GCVector<jsid, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<jsid, 8ul, js::TempAllocPolicy>::trace(JSTracer*) JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>::trace(JSTracer*) Line | Count | Source | 133 | 19 | void trace(JSTracer* trc) { | 134 | 19 | for (auto& elem : vector) { | 135 | 0 | GCPolicy<T>::trace(trc, &elem, "vector element"); | 136 | 0 | } | 137 | 19 | } |
Unexecuted instantiation: JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::FunctionDeclaration, 0ul, js::ZoneAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSScript*, 1ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::ScriptSourceObject*, 1ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::Value, 20ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::IdValuePair, 10ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::WasmGlobalObject*, 0ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>::trace(JSTracer*) Unexecuted instantiation: JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>::trace(JSTracer*) |
138 | | |
139 | | bool needsSweep() const { |
140 | | return !this->empty(); |
141 | | } |
142 | | |
143 | | void sweep() { |
144 | | uint32_t src, dst = 0; |
145 | | for (src = 0; src < length(); src++) { |
146 | | if (!GCPolicy<T>::needsSweep(&vector[src])) { |
147 | | if (dst != src) { |
148 | | vector[dst] = vector[src].unbarrieredGet(); |
149 | | } |
150 | | dst++; |
151 | | } |
152 | | } |
153 | | |
154 | | if (dst != length()) { |
155 | | vector.shrinkTo(dst); |
156 | | } |
157 | | } |
158 | | }; |
159 | | |
160 | | } // namespace JS |
161 | | |
162 | | namespace js { |
163 | | |
164 | | template <typename Wrapper, typename T, size_t Capacity, typename AllocPolicy> |
165 | | class WrappedPtrOperations<JS::GCVector<T, Capacity, AllocPolicy>, Wrapper> |
166 | | { |
167 | | using Vec = JS::GCVector<T, Capacity, AllocPolicy>; |
168 | 1.63M | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } js::WrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 1.62M | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
js::WrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 32 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::vec() const js::WrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 5 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::vec() const js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 16 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::vec() const js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 60 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::vec() const js::WrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 9.76k | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
js::WrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 54 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
js::WrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 6 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::vec() const js::WrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 168 | 16 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>, JS::Handle<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::vec() const |
169 | | |
170 | | public: |
171 | | const AllocPolicy& allocPolicy() const { return vec().allocPolicy(); } |
172 | 1.63M | size_t length() const { return vec().length(); } js::WrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 1.62M | size_t length() const { return vec().length(); } |
js::WrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 32 | size_t length() const { return vec().length(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::length() const js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 8 | size_t length() const { return vec().length(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::length() const js::WrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 9.76k | size_t length() const { return vec().length(); } |
js::WrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 54 | size_t length() const { return vec().length(); } |
js::WrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 6 | size_t length() const { return vec().length(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::length() const js::WrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::length() const Line | Count | Source | 172 | 16 | size_t length() const { return vec().length(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::length() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::length() const |
173 | 13 | bool empty() const { return vec().empty(); } js::WrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::empty() const Line | Count | Source | 173 | 5 | bool empty() const { return vec().empty(); } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy> > >::empty() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::empty() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::empty() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::empty() const js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::empty() const Line | Count | Source | 173 | 8 | bool empty() const { return vec().empty(); } |
|
174 | | size_t capacity() const { return vec().capacity(); } |
175 | 0 | const T* begin() const { return vec().begin(); } Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::begin() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::begin() const |
176 | 0 | const T* end() const { return vec().end(); } Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::end() const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::end() const |
177 | | const T& back() const { return vec().back(); } |
178 | | |
179 | 60 | JS::Handle<T> operator[](size_t aIndex) const { |
180 | 60 | return JS::Handle<T>::fromMarkedLocation(&vec().operator[](aIndex)); |
181 | 60 | } Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) const js::WrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Line | Count | Source | 179 | 60 | JS::Handle<T> operator[](size_t aIndex) const { | 180 | 60 | return JS::Handle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 181 | 60 | } |
Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>, JS::Handle<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::WrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Handle<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::operator[](unsigned long) const |
182 | | }; |
183 | | |
184 | | template <typename Wrapper, typename T, size_t Capacity, typename AllocPolicy> |
185 | | class MutableWrappedPtrOperations<JS::GCVector<T, Capacity, AllocPolicy>, Wrapper> |
186 | | : public WrappedPtrOperations<JS::GCVector<T, Capacity, AllocPolicy>, Wrapper> |
187 | | { |
188 | | using Vec = JS::GCVector<T, Capacity, AllocPolicy>; |
189 | 1.62M | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 189 | 1.62M | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::vec() const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::vec() const js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 189 | 16 | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::vec() const Line | Count | Source | 189 | 5.49k | const Vec& vec() const { return static_cast<const Wrapper*>(this)->get(); } |
|
190 | 16.1M | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 40 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 16.1M | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 16 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 2 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 8 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 92 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 63 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 8 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 216 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 32 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 1.38k | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 3.81k | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 12 | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>, JS::MutableHandle<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>, JS::MutableHandle<JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::vec() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::vec() js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::vec() Line | Count | Source | 190 | 1.48k | Vec& vec() { return static_cast<Wrapper*>(this)->get(); } |
|
191 | | |
192 | | public: |
193 | | const AllocPolicy& allocPolicy() const { return vec().allocPolicy(); } |
194 | | AllocPolicy& allocPolicy() { return vec().allocPolicy(); } |
195 | 1.62M | const T* begin() const { return vec().begin(); } js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::begin() const Line | Count | Source | 195 | 1.62M | const T* begin() const { return vec().begin(); } |
js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::begin() const Line | Count | Source | 195 | 8 | const T* begin() const { return vec().begin(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::begin() const |
196 | 8.07M | T* begin() { return vec().begin(); } js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 8 | T* begin() { return vec().begin(); } |
js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 8.07M | T* begin() { return vec().begin(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::begin() js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 8 | T* begin() { return vec().begin(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::begin() js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 16 | T* begin() { return vec().begin(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::begin() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::begin() js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 16 | T* begin() { return vec().begin(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 2 | T* begin() { return vec().begin(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::begin() Line | Count | Source | 196 | 28 | T* begin() { return vec().begin(); } |
|
197 | 8 | const T* end() const { return vec().end(); } js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::end() const Line | Count | Source | 197 | 8 | const T* end() const { return vec().end(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::end() const |
198 | 43 | T* end() { return vec().end(); } js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::end() Line | Count | Source | 198 | 8 | T* end() { return vec().end(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::end() js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::end() Line | Count | Source | 198 | 1 | T* end() { return vec().end(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::end() js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::end() Line | Count | Source | 198 | 16 | T* end() { return vec().end(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::end() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::end() js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::end() Line | Count | Source | 198 | 16 | T* end() { return vec().end(); } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::end() Line | Count | Source | 198 | 2 | T* end() { return vec().end(); } |
|
199 | | const T& back() const { return vec().back(); } |
200 | 0 | T& back() { return vec().back(); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::back() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::back() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::back() |
201 | | |
202 | 5.49k | JS::Handle<T> operator[](size_t aIndex) const { |
203 | 5.49k | return JS::Handle<T>::fromMarkedLocation(&vec().operator[](aIndex)); |
204 | 5.49k | } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) const Line | Count | Source | 202 | 5.49k | JS::Handle<T> operator[](size_t aIndex) const { | 203 | 5.49k | return JS::Handle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 204 | 5.49k | } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) const |
205 | 2.36k | JS::MutableHandle<T> operator[](size_t aIndex) { |
206 | 2.36k | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); |
207 | 2.36k | } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 42 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 42 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 42 | } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 1 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 1 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 1 | } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 24 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 24 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 24 | } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 192 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 192 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 192 | } |
js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 192 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 192 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 192 | } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 12 | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 12 | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 12 | } |
js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Line | Count | Source | 205 | 1.90k | JS::MutableHandle<T> operator[](size_t aIndex) { | 206 | 1.90k | return JS::MutableHandle<T>::fromMarkedLocation(&vec().operator[](aIndex)); | 207 | 1.90k | } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::operator[](unsigned long) |
208 | | |
209 | | MOZ_MUST_USE bool initCapacity(size_t aRequest) { return vec().initCapacity(aRequest); } |
210 | 0 | MOZ_MUST_USE bool reserve(size_t aRequest) { return vec().reserve(aRequest); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::reserve(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::reserve(unsigned long) |
211 | | void shrinkBy(size_t aIncr) { vec().shrinkBy(aIncr); } |
212 | 0 | MOZ_MUST_USE bool growBy(size_t aIncr) { return vec().growBy(aIncr); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::growBy(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::growBy(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::growBy(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::growBy(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSString*, 0ul, js::TempAllocPolicy> > >::growBy(unsigned long) |
213 | 8.07M | MOZ_MUST_USE bool resize(size_t aNewLength) { return vec().resize(aNewLength); } js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::resize(unsigned long) Line | Count | Source | 213 | 8.07M | MOZ_MUST_USE bool resize(size_t aNewLength) { return vec().resize(aNewLength); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::resize(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::resize(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::resize(unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::jit::RematerializedFrame*, 0ul, js::TempAllocPolicy> > >::resize(unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::resize(unsigned long) Line | Count | Source | 213 | 8 | MOZ_MUST_USE bool resize(size_t aNewLength) { return vec().resize(aNewLength); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::resize(unsigned long) |
214 | | MOZ_MUST_USE bool growByUninitialized(size_t aIncr) { return vec().growByUninitialized(aIncr); } |
215 | | void infallibleGrowByUninitialized(size_t aIncr) { vec().infallibleGrowByUninitialized(aIncr); } |
216 | | MOZ_MUST_USE bool resizeUninitialized(size_t aNewLength) { return vec().resizeUninitialized(aNewLength); } |
217 | 3 | void clear() { vec().clear(); } js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::clear() Line | Count | Source | 217 | 3 | void clear() { vec().clear(); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::clear() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::clear() |
218 | | void clearAndFree() { vec().clearAndFree(); } |
219 | | template<typename U> |
220 | 4.73k | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::Value>(JS::Value&&) bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Line | Count | Source | 220 | 43 | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<JS::Rooted<jsid>&>(JS::Rooted<jsid>&) bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<jsid&>(jsid&) Line | Count | Source | 220 | 8 | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<jsid>(jsid&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JS::Handle<JSObject*>&>(JS::Handle<JSObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JSObject*>(JSObject*&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<mozilla::dom::PinnedStringId const&>(mozilla::dom::PinnedStringId const&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<jsid const&>(jsid const&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::Handle<JS::Value> >(JS::Handle<JS::Value>&&) bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JS::Rooted<JSObject*>&>(JS::Rooted<JSObject*>&) Line | Count | Source | 220 | 1 | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<JSObject*, 0ul, js::SystemAllocPolicy> > >::append<JS::Handle<JSObject*>&>(JS::Handle<JSObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JSObject*&>(JSObject*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::MutableHandle<JS::Value> >(JS::MutableHandle<JS::Value>&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::Value&>(JS::Value&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::MutableHandle<JS::Value>&>(JS::MutableHandle<JS::Value>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JSObject*&>(JSObject*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::append<JS::Rooted<JS::PropertyDescriptor>&>(JS::Rooted<JS::PropertyDescriptor>&) bool js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::append<js::Shape*>(js::Shape*&&) Line | Count | Source | 220 | 59 | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 8ul, js::TempAllocPolicy> > >::append<js::Shape*&>(js::Shape*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::append<JS::Value>(JS::Value&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::append<js::HeapPtr<JS::Value>&>(js::HeapPtr<JS::Value>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::append<JS::Rooted<js::ExportEntryObject*>&>(JS::Rooted<js::ExportEntryObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::ExportEntryObject*, 0ul, js::TempAllocPolicy> > >::append<JS::Handle<js::ExportEntryObject*>&>(JS::Handle<js::ExportEntryObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::RequestedModuleObject*, 0ul, js::TempAllocPolicy> > >::append<JS::Rooted<js::RequestedModuleObject*>&>(JS::Rooted<js::RequestedModuleObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy> > >::append<JSString*>(JSString*&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> > >::append<JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy> >(JS::GCVector<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, 0ul, js::TempAllocPolicy>&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::append<JS::Value>(JS::Value&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<JS::MutableHandle<jsid> >(JS::MutableHandle<jsid>&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::append<js::gc::ZoneCellIter<JSScript>&>(js::gc::ZoneCellIter<JSScript>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::append<JSScript*&>(JSScript*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy>, JS::PersistentRooted<JS::GCVector<js::ScriptAndCounts, 0ul, js::SystemAllocPolicy> > >::append<js::gc::ZoneCellIter<JSScript>&>(js::gc::ZoneCellIter<JSScript>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::LazyScript*, 0ul, js::TempAllocPolicy> > >::append<js::LazyScript*&>(js::LazyScript*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::WasmInstanceObject*, 0ul, js::TempAllocPolicy> > >::append<js::WasmInstanceObject*&>(js::WasmInstanceObject*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JS::Rooted<js::PlainObject*>&>(JS::Rooted<js::PlainObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 0ul, js::TempAllocPolicy> > >::append<js::GCPtr<js::NativeObject*>&>(js::GCPtr<js::NativeObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::DebuggerFrame*, 0ul, js::TempAllocPolicy> > >::append<js::DebuggerFrame*&>(js::DebuggerFrame*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<js::GlobalObject*&>(js::GlobalObject*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::append<jsid&>(jsid&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<js::GCPtr<js::NativeObject*>&>(js::GCPtr<js::NativeObject*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::append<js::IdValuePair>(js::IdValuePair&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Shape*, 0ul, js::TempAllocPolicy> > >::append<js::Shape*>(js::Shape*&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::append<JS::Rooted<JS::PropertyDescriptor>&>(JS::Rooted<JS::PropertyDescriptor>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::append<JS::Value const&>(JS::Value const&) bool js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::append<js::Scope*&>(js::Scope*&) Line | Count | Source | 220 | 1.91k | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::append<JS::Rooted<js::Scope*>&>(JS::Rooted<js::Scope*>&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::Scope*, 0ul, js::TempAllocPolicy> > >::append<js::GlobalScope*&>(js::GlobalScope*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::append<JSFunction*&>(JSFunction*&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::append<js::PreBarriered<jsid> const&>(js::PreBarriered<jsid> const&) bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::append<JS::Value const&>(JS::Value const&) Line | Count | Source | 220 | 60 | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>, JS::MutableHandle<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy> > >::append<js::wasm::Val>(js::wasm::Val&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::append<JS::MutableHandle<JSFunction*> >(JS::MutableHandle<JSFunction*>&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSFunction*, 0ul, js::TempAllocPolicy> > >::append<JSFunction*>(JSFunction*&&) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy>, JS::MutableHandle<JS::GCVector<js::wasm::Val, 0ul, js::SystemAllocPolicy> > >::append<JS::Rooted<js::wasm::Val>&>(JS::Rooted<js::wasm::Val>&) bool js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::append<js::IdValuePair>(js::IdValuePair&&) Line | Count | Source | 220 | 1.16k | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy>, JS::MutableHandle<JS::GCVector<js::HeapPtr<js::StructTypeDescr*>, 0ul, js::SystemAllocPolicy> > >::append<JS::Rooted<js::StructTypeDescr*>&>(JS::Rooted<js::StructTypeDescr*>&) bool js::MutableWrappedPtrOperations<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSFunction*, 8ul, js::TempAllocPolicy> > >::append<JSFunction*>(JSFunction*&&) Line | Count | Source | 220 | 1.48k | MOZ_MUST_USE bool append(U&& aU) { return vec().append(std::forward<U>(aU)); } |
|
221 | | template<typename... Args> |
222 | | MOZ_MUST_USE bool emplaceBack(Args&&... aArgs) { |
223 | | return vec().emplaceBack(std::forward<Args...>(aArgs...)); |
224 | | } |
225 | | template<typename U> |
226 | 0 | MOZ_MUST_USE bool appendAll(const U& aU) { return vec().appendAll(aU); } |
227 | 33 | MOZ_MUST_USE bool appendN(const T& aT, size_t aN) { return vec().appendN(aT, aN); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::appendN(JS::Value const&, unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::appendN(js::IdValuePair const&, unsigned long) Line | Count | Source | 227 | 24 | MOZ_MUST_USE bool appendN(const T& aT, size_t aN) { return vec().appendN(aT, aN); } |
Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::appendN(JS::Value const&, unsigned long) Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::appendN(js::IdValuePair const&, unsigned long) js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::appendN(JS::Value const&, unsigned long) Line | Count | Source | 227 | 9 | MOZ_MUST_USE bool appendN(const T& aT, size_t aN) { return vec().appendN(aT, aN); } |
|
228 | | template<typename U> |
229 | 8 | MOZ_MUST_USE bool append(const U* aBegin, const U* aEnd) { |
230 | 8 | return vec().append(aBegin, aEnd); |
231 | 8 | } bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::append<jsid>(jsid const*, jsid const*) Line | Count | Source | 229 | 8 | MOZ_MUST_USE bool append(const U* aBegin, const U* aEnd) { | 230 | 8 | return vec().append(aBegin, aEnd); | 231 | 8 | } |
Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<jsid, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 0ul, js::TempAllocPolicy> > >::append<jsid>(jsid const*, jsid const*) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::PropertyDescriptor, 0ul, js::TempAllocPolicy> > >::append<JS::PropertyDescriptor>(JS::PropertyDescriptor const*, JS::PropertyDescriptor const*) Unexecuted instantiation: bool js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::append<JS::Value>(JS::Value const*, JS::Value const*) |
232 | | template<typename U> |
233 | 0 | MOZ_MUST_USE bool append(const U* aBegin, size_t aLength) { |
234 | 0 | return vec().append(aBegin, aLength); |
235 | 0 | } |
236 | 0 | template<typename U> void infallibleAppend(U&& aU) { |
237 | 0 | vec().infallibleAppend(std::forward<U>(aU)); |
238 | 0 | } Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Rooted<jsid>&>(JS::Rooted<jsid>&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::infallibleAppend<jsid>(jsid&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::MutableHandle<JS::Value> >(JS::MutableHandle<JS::Value>&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Handle<JSObject*> >(JS::Handle<JSObject*>&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Value>(JS::Value&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Rooted<JSObject*>&>(JS::Rooted<JSObject*>&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 0ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Rooted<JS::Value>&>(JS::Rooted<JS::Value>&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Value&>(JS::Value&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::infallibleAppend<JSObject*>(JSObject*&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::infallibleAppend<jsid&>(jsid&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::infallibleAppend<js::PreBarriered<jsid> const&>(js::PreBarriered<jsid> const&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::infallibleAppend<JSScript*&>(JSScript*&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<js::IdValuePair, 0ul, js::TempAllocPolicy> > >::infallibleAppend<js::IdValuePair>(js::IdValuePair&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Value const&>(JS::Value const&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 4ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Value>(JS::Value&&) Unexecuted instantiation: void js::MutableWrappedPtrOperations<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSAtom*, 0ul, js::TempAllocPolicy> > >::infallibleAppend<JS::Rooted<JSAtom*>&>(JS::Rooted<JSAtom*>&) |
239 | | void infallibleAppendN(const T& aT, size_t aN) { vec().infallibleAppendN(aT, aN); } |
240 | | template<typename U> void infallibleAppend(const U* aBegin, const U* aEnd) { |
241 | | vec().infallibleAppend(aBegin, aEnd); |
242 | | } |
243 | | template<typename U> void infallibleAppend(const U* aBegin, size_t aLength) { |
244 | | vec().infallibleAppend(aBegin, aLength); |
245 | | } |
246 | 0 | void popBack() { vec().popBack(); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::popBack() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::MutableHandle<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::popBack() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSObject*, 8ul, js::TempAllocPolicy> > >::popBack() |
247 | 0 | T popCopy() { return vec().popCopy(); } Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JS::Value, 8ul, js::TempAllocPolicy> > >::popCopy() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<jsid, 8ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<jsid, 8ul, js::TempAllocPolicy> > >::popCopy() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSString*, 16ul, js::TempAllocPolicy> > >::popCopy() Unexecuted instantiation: js::MutableWrappedPtrOperations<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy>, JS::Rooted<JS::GCVector<JSScript*, 0ul, js::TempAllocPolicy> > >::popCopy() |
248 | | template<typename U> T* insert(T* aP, U&& aVal) { |
249 | | return vec().insert(aP, std::forward<U>(aVal)); |
250 | | } |
251 | | void erase(T* aT) { vec().erase(aT); } |
252 | | void erase(T* aBegin, T* aEnd) { vec().erase(aBegin, aEnd); } |
253 | | }; |
254 | | |
255 | | } // namespace js |
256 | | |
257 | | namespace JS { |
258 | | |
259 | | // An automatically rooted vector for stack use. |
260 | | template <typename T> |
261 | | class AutoVector : public Rooted<GCVector<T, 8>> { |
262 | | using Vec = GCVector<T, 8>; |
263 | | using Base = Rooted<Vec>; |
264 | | public: |
265 | 8.07M | explicit AutoVector(JSContext* cx) : Base(cx, Vec(cx)) {} JS::AutoVector<JS::Value>::AutoVector(JSContext*) Line | Count | Source | 265 | 8.07M | explicit AutoVector(JSContext* cx) : Base(cx, Vec(cx)) {} |
JS::AutoVector<jsid>::AutoVector(JSContext*) Line | Count | Source | 265 | 27 | explicit AutoVector(JSContext* cx) : Base(cx, Vec(cx)) {} |
JS::AutoVector<JSObject*>::AutoVector(JSContext*) Line | Count | Source | 265 | 11 | explicit AutoVector(JSContext* cx) : Base(cx, Vec(cx)) {} |
|
266 | | }; |
267 | | |
268 | | } // namespace JS |
269 | | |
270 | | #endif // js_GCVector_h |