File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737 # Reset this number to 0 on major V8 upgrades.
3838 # Increment by one for each non-official patch applied to deps/v8.
39- 'v8_embedder_string' : '-node.9 ' ,
39+ 'v8_embedder_string' : '-node.10 ' ,
4040
4141 ##### V8 defaults for Node.js #####
4242
Original file line number Diff line number Diff line change @@ -111,13 +111,6 @@ class V8_EXPORT Heap {
111111 * heap through `Heap::Create()`.
112112 */
113113 struct HeapOptions {
114- /* *
115- * Creates reasonable defaults for instantiating a Heap.
116- *
117- * \returns the HeapOptions that can be passed to `Heap::Create()`.
118- */
119- static HeapOptions Default () { return {}; }
120-
121114 /* *
122115 * Custom spaces added to heap are required to have indices forming a
123116 * numbered sequence starting at 0, i.e., their `kSpaceIndex` must
@@ -161,7 +154,7 @@ class V8_EXPORT Heap {
161154 */
162155 static std::unique_ptr<Heap> Create (
163156 std::shared_ptr<Platform> platform,
164- HeapOptions options = HeapOptions::Default() );
157+ HeapOptions options = {} );
165158
166159 virtual ~Heap () = default ;
167160
You can’t perform that action at this time.
0 commit comments