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

Unified Diff: runtime/vm/intermediate_language.h

Issue 12775009: Optimize TypedData operators [] and []= in the same way as ScalarList. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed x64 build and MethodRecognizer Created 7 years, 9 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/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 19943)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -37,6 +37,7 @@
#define RECOGNIZED_LIST(V) \
V(_ObjectArray, get:length, ObjectArrayLength, 405297088) \
V(_ImmutableArray, get:length, ImmutableArrayLength, 433698233) \
+ V(_TypedList, get:length, TypedDataLength, 231908172) \
V(_ByteArrayBase, get:length, ByteArrayBaseLength, 1098081765) \
V(_ByteArrayBase, _getInt8, ByteArrayBaseGetInt8, 261365835) \
V(_ByteArrayBase, _getUint8, ByteArrayBaseGetUint8, 261365835) \

Powered by Google App Engine
This is Rietveld 408576698