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

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 2278273003: VM: New, faster default Map construction. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 V(GrowableList_allocate, 2) \ 309 V(GrowableList_allocate, 2) \
310 V(GrowableList_getIndexed, 2) \ 310 V(GrowableList_getIndexed, 2) \
311 V(GrowableList_setIndexed, 3) \ 311 V(GrowableList_setIndexed, 3) \
312 V(GrowableList_getLength, 1) \ 312 V(GrowableList_getLength, 1) \
313 V(GrowableList_getCapacity, 1) \ 313 V(GrowableList_getCapacity, 1) \
314 V(GrowableList_setLength, 2) \ 314 V(GrowableList_setLength, 2) \
315 V(GrowableList_setData, 2) \ 315 V(GrowableList_setData, 2) \
316 V(Internal_makeListFixedLength, 1) \ 316 V(Internal_makeListFixedLength, 1) \
317 V(Internal_makeFixedListUnmodifiable, 1) \ 317 V(Internal_makeFixedListUnmodifiable, 1) \
318 V(Internal_inquireIs64Bit, 0) \ 318 V(Internal_inquireIs64Bit, 0) \
319 V(LinkedHashMap_allocate, 1) \
320 V(LinkedHashMap_getIndex, 1) \ 319 V(LinkedHashMap_getIndex, 1) \
321 V(LinkedHashMap_setIndex, 2) \ 320 V(LinkedHashMap_setIndex, 2) \
322 V(LinkedHashMap_getData, 1) \ 321 V(LinkedHashMap_getData, 1) \
323 V(LinkedHashMap_setData, 2) \ 322 V(LinkedHashMap_setData, 2) \
324 V(LinkedHashMap_getHashMask, 1) \ 323 V(LinkedHashMap_getHashMask, 1) \
325 V(LinkedHashMap_setHashMask, 2) \ 324 V(LinkedHashMap_setHashMask, 2) \
326 V(LinkedHashMap_getUsedData, 1) \ 325 V(LinkedHashMap_getUsedData, 1) \
327 V(LinkedHashMap_setUsedData, 2) \ 326 V(LinkedHashMap_setUsedData, 2) \
328 V(LinkedHashMap_getDeletedKeys, 1) \ 327 V(LinkedHashMap_getDeletedKeys, 1) \
329 V(LinkedHashMap_setDeletedKeys, 2) \ 328 V(LinkedHashMap_setDeletedKeys, 2) \
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 #ifndef PRODUCT 420 #ifndef PRODUCT
422 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 421 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
423 #endif 422 #endif
424 423
425 #undef DECLARE_BOOTSTRAP_NATIVE 424 #undef DECLARE_BOOTSTRAP_NATIVE
426 }; 425 };
427 426
428 } // namespace dart 427 } // namespace dart
429 428
430 #endif // VM_BOOTSTRAP_NATIVES_H_ 429 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« runtime/lib/compact_hash.dart ('K') | « runtime/lib/linked_hash_map.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698