File tree 3 files changed +1
-19
lines changed
3 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 37
37
38
38
# Reset this number to 0 on major V8 upgrades.
39
39
# Increment by one for each non-official patch applied to deps/v8.
40
- 'v8_embedder_string' : '-node.4 ' ,
40
+ 'v8_embedder_string' : '-node.5 ' ,
41
41
42
42
##### V8 defaults for Node.js #####
43
43
Original file line number Diff line number Diff line change @@ -756,10 +756,6 @@ class V8_EXPORT HeapProfiler {
756
756
v8::EmbedderGraph* graph,
757
757
void * data);
758
758
759
- /* * TODO(addaleax): Remove */
760
- typedef void (*LegacyBuildEmbedderGraphCallback)(v8::Isolate* isolate,
761
- v8::EmbedderGraph* graph);
762
-
763
759
/* * Returns the number of snapshots taken. */
764
760
int GetSnapshotCount ();
765
761
@@ -898,10 +894,6 @@ class V8_EXPORT HeapProfiler {
898
894
*/
899
895
void DeleteAllHeapSnapshots ();
900
896
901
- V8_DEPRECATED (
902
- " Use AddBuildEmbedderGraphCallback to provide info about embedder nodes" ,
903
- void SetBuildEmbedderGraphCallback (
904
- LegacyBuildEmbedderGraphCallback callback));
905
897
void AddBuildEmbedderGraphCallback (BuildEmbedderGraphCallback callback,
906
898
void * data);
907
899
void RemoveBuildEmbedderGraphCallback (BuildEmbedderGraphCallback callback,
Original file line number Diff line number Diff line change @@ -10443,16 +10443,6 @@ void HeapProfiler::DeleteAllHeapSnapshots() {
10443
10443
reinterpret_cast <i::HeapProfiler*>(this )->DeleteAllSnapshots ();
10444
10444
}
10445
10445
10446
- void HeapProfiler::SetBuildEmbedderGraphCallback (
10447
- LegacyBuildEmbedderGraphCallback callback) {
10448
- reinterpret_cast <i::HeapProfiler*>(this )->AddBuildEmbedderGraphCallback (
10449
- [](v8::Isolate* isolate, v8::EmbedderGraph* graph, void * data) {
10450
- reinterpret_cast <LegacyBuildEmbedderGraphCallback>(data)(isolate,
10451
- graph);
10452
- },
10453
- reinterpret_cast <void *>(callback));
10454
- }
10455
-
10456
10446
void HeapProfiler::AddBuildEmbedderGraphCallback (
10457
10447
BuildEmbedderGraphCallback callback, void * data) {
10458
10448
reinterpret_cast <i::HeapProfiler*>(this )->AddBuildEmbedderGraphCallback (
You can’t perform that action at this time.
0 commit comments