[vm] Remove no-longer-used definitions.

TEST=SDK builds.

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-release-x64-try

Change-Id: Ibf157c08090d6e150532003806e522a15c3526d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195064
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
index 585c296..12f1e10 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -130,24 +130,6 @@
   CodeRelocator::Relocate(thread, code_objects, image_writer_commands, is_vm);
 }
 
-class CodePtrKeyValueTrait {
- public:
-  // Typedefs needed for the DirectChainedHashMap template.
-  typedef const CodePtr Key;
-  typedef const CodePtr Value;
-  typedef CodePtr Pair;
-
-  static Key KeyOf(Pair kv) { return kv; }
-  static Value ValueOf(Pair kv) { return kv; }
-  static inline intptr_t Hashcode(Key key) {
-    return static_cast<intptr_t>(key);
-  }
-
-  static inline bool IsKeyEqual(Pair pair, Key key) { return pair == key; }
-};
-
-typedef DirectChainedHashMap<CodePtrKeyValueTrait> RawCodeSet;
-
 #endif  // defined(DART_PRECOMPILER) && !defined(TARGET_ARCH_IA32)
 
 static ObjectPtr AllocateUninitialized(PageSpace* old_space, intptr_t size) {