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

Unified Diff: runtime/lib/linked_hash_map.cc

Issue 2278273003: VM: New, faster default Map construction. (Closed)
Patch Set: Created 4 years, 4 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
diff --git a/runtime/lib/linked_hash_map.cc b/runtime/lib/linked_hash_map.cc
index 95118415bebc55966f7fa72fce2744abcd622718..bc128c7c69d0d034ca662a2476d203fddf897c16 100644
--- a/runtime/lib/linked_hash_map.cc
+++ b/runtime/lib/linked_hash_map.cc
@@ -13,16 +13,6 @@
namespace dart {
-DEFINE_NATIVE_ENTRY(LinkedHashMap_allocate, 1) {
- const TypeArguments& type_arguments =
- TypeArguments::CheckedHandle(arguments->NativeArgAt(0));
- const LinkedHashMap& map =
- LinkedHashMap::Handle(LinkedHashMap::NewDefault());
- map.SetTypeArguments(type_arguments);
- return map.raw();
-}
-
-
DEFINE_NATIVE_ENTRY(LinkedHashMap_getIndex, 1) {
const LinkedHashMap& map =
LinkedHashMap::CheckedHandle(arguments->NativeArgAt(0));

Powered by Google App Engine
This is Rietveld 408576698