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

Unified Diff: runtime/vm/method_recognizer.h

Issue 536043002: Merge array allocation and List._copyFromObjectArray to provide fast path for large arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: runtime/vm/method_recognizer.h
diff --git a/runtime/vm/method_recognizer.h b/runtime/vm/method_recognizer.h
index 84b03b1000fc0728a337643b05cd50df8b9abef7..4bc6e1b75db3079da5ae8df2c5ee0417845af6bd 100644
--- a/runtime/vm/method_recognizer.h
+++ b/runtime/vm/method_recognizer.h
@@ -304,7 +304,7 @@ namespace dart {
V(_List, get:isEmpty, ObjectArrayIsEmpty, 2130247737) \
V(_List, get:iterator, ObjectArrayIterator, 458612415) \
V(_List, forEach, ObjectArrayForEach, 592525445) \
- V(_List, _copyFromObjectArray, ObjectArrayCopyFromObjectArray, 1985480605) \
+ V(_List, _slice, ObjectArraySlice, 1118970911) \
V(_ImmutableList, get:iterator, ImmutableArrayIterator, 362084797) \
V(_ImmutableList, forEach, ImmutableArrayForEach, 63658053) \
V(_ImmutableList, [], ImmutableArrayGetIndexed, 1990177341) \

Powered by Google App Engine
This is Rietveld 408576698