GeezerVison is showing github.com — deps: V8: backport 1c3e018e7d48 · nodejs/node@0566799
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: common.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
38 | 38 |
|
39 | 39 | # Reset this number to 0 on major V8 upgrades. |
40 | 40 | # Increment by one for each non-official patch applied to deps/v8. |
41 | | - 'v8_embedder_string': '-node.21', |
| 41 | + 'v8_embedder_string': '-node.22', |
42 | 42 |
|
43 | 43 | ##### V8 defaults for Node.js ##### |
44 | 44 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/include/v8-primitive.h +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -819,6 +819,8 @@ class V8_EXPORT Symbol : public Name { |
819 | 819 | static Local<Symbol> GetToPrimitive(Isolate* isolate); |
820 | 820 | static Local<Symbol> GetToStringTag(Isolate* isolate); |
821 | 821 | static Local<Symbol> GetUnscopables(Isolate* isolate); |
| 822 | + static Local<Symbol> GetDispose(Isolate* isolate); |
| 823 | + static Local<Symbol> GetAsyncDispose(Isolate* isolate); |
822 | 824 |
|
823 | 825 | V8_INLINE static Symbol* Cast(Data* data) { |
824 | 826 | #ifdef V8_ENABLE_CHECKS |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/src/api/api.cc +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -9548,7 +9548,9 @@ Local<Symbol> v8::Symbol::ForApi(Isolate* v8_isolate, Local<String> name) { |
9548 | 9548 | V(Split, split) \ |
9549 | 9549 | V(ToPrimitive, to_primitive) \ |
9550 | 9550 | V(ToStringTag, to_string_tag) \ |
9551 | | - V(Unscopables, unscopables) |
| 9551 | + V(Unscopables, unscopables) \ |
| 9552 | + V(Dispose, dispose) \ |
| 9553 | + V(AsyncDispose, async_dispose) |
9552 | 9554 |
|
9553 | 9555 | #define SYMBOL_GETTER(Name, name) \ |
9554 | 9556 | Local<Symbol> v8::Symbol::Get##Name(Isolate* v8_isolate) { \ |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-api.cc +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4006,6 +4006,8 @@ THREADED_TEST(WellKnownSymbols) { |
4006 | 4006 | CheckWellKnownSymbol(v8::Symbol::GetSplit, "Symbol.split"); |
4007 | 4007 | CheckWellKnownSymbol(v8::Symbol::GetToPrimitive, "Symbol.toPrimitive"); |
4008 | 4008 | CheckWellKnownSymbol(v8::Symbol::GetToStringTag, "Symbol.toStringTag"); |
| 4009 | + CheckWellKnownSymbol(v8::Symbol::GetDispose, "Symbol.dispose"); |
| 4010 | + CheckWellKnownSymbol(v8::Symbol::GetAsyncDispose, "Symbol.asyncDispose"); |
4009 | 4011 | } |
4010 | 4012 |
|
4011 | 4013 |
|
|