Remove TODO block from analyze_snapshot_api_impl.cc
Closes https://github.com/dart-lang/sdk/pull/60310
GitOrigin-RevId: eec15734b982fe3b1e9ed023a7b0d651c75ff611
Change-Id: Ibd17b61088a7d940ac2052a2e3ef1f21f282a068
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/414923
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
diff --git a/runtime/vm/analyze_snapshot_api_impl.cc b/runtime/vm/analyze_snapshot_api_impl.cc
index a9c87a4..7fccd34 100644
--- a/runtime/vm/analyze_snapshot_api_impl.cc
+++ b/runtime/vm/analyze_snapshot_api_impl.cc
@@ -344,18 +344,6 @@
js_.CloseObject();
}
-// TODO(#47924): Add processing of the entires in the dispatch table.
-// Below is an example skeleton
-// void DumpDispatchTable(dart::Thread* thread) {
-// auto dispatch = thread->isolate_group()->dispatch_table();
-// auto length = dispatch->length();
-// We must unbias the array entries so we don't crash on null access.
-// auto entries = dispatch->ArrayOrigin() - DispatchTable::kOriginElement;
-// for (intptr_t i = 0; i < length; i++) {
-// OS::Print("0x%lx at %ld\n", entries[i], i);
-// }
-// }
-
void SnapshotAnalyzer::DumpSnapshotInformation(char** buffer,
intptr_t* buffer_length) {
thread_ = Thread::Current();