Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Unified Diff: runtime/lib/linked_hash_map.cc

Issue 983703003: Replace Linked{Identity,Custom}Hash{Map,Set} with compact implementation; remove old code and flag. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/lib/linked_hash_map.cc
===================================================================
--- runtime/lib/linked_hash_map.cc (revision 44194)
+++ runtime/lib/linked_hash_map.cc (working copy)
@@ -14,8 +14,8 @@
namespace dart {
DEFINE_FLAG(bool, use_internal_hash_map, false, "Use internal hash map.");
-DEFINE_FLAG(bool, use_compact_hash, true, "Use compact hash map and set.");
+
DEFINE_NATIVE_ENTRY(LinkedHashMap_allocate, 1) {
const TypeArguments& type_arguments =
TypeArguments::CheckedHandle(arguments->NativeArgAt(0));
@@ -91,14 +91,7 @@
DEFINE_NATIVE_ENTRY(LinkedHashMap_useInternal, 0) {
- ASSERT(!(FLAG_use_internal_hash_map && FLAG_use_compact_hash));
return Bool::Get(FLAG_use_internal_hash_map).raw();
}
-
-DEFINE_NATIVE_ENTRY(LinkedHashMap_useCompact, 0) {
- ASSERT(!(FLAG_use_internal_hash_map && FLAG_use_compact_hash));
- return Bool::Get(FLAG_use_compact_hash).raw();
-}
-
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698