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

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

Issue 730543002: Remove use of IterableMixinWorkaround from _List, _ImmutableList and _GrowableList. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: addressed comments Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_METHOD_RECOGNIZER_H_ 5 #ifndef VM_METHOD_RECOGNIZER_H_
6 #define VM_METHOD_RECOGNIZER_H_ 6 #define VM_METHOD_RECOGNIZER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 V(_TypedList, get:length, TypedDataLength, 522565357) \ 321 V(_TypedList, get:length, TypedDataLength, 522565357) \
322 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \ 322 V(_GrowableList, get:length, GrowableArrayLength, 778505107) \
323 V(_StringBase, get:length, StringBaseLength, 784399628) \ 323 V(_StringBase, get:length, StringBaseLength, 784399628) \
324 V(ListIterator, moveNext, ListIteratorMoveNext, 210829138) \ 324 V(ListIterator, moveNext, ListIteratorMoveNext, 210829138) \
325 V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 1147271335) \ 325 V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 1147271335) \
326 V(_GrowableList, get:iterator, GrowableArrayIterator, 1812933946) \ 326 V(_GrowableList, get:iterator, GrowableArrayIterator, 1812933946) \
327 V(_GrowableList, forEach, GrowableArrayForEach, 2085943947) \ 327 V(_GrowableList, forEach, GrowableArrayForEach, 2085943947) \
328 V(_List, ., ObjectArrayAllocate, 1595327584) \ 328 V(_List, ., ObjectArrayAllocate, 1595327584) \
329 V(_List, [], ObjectArrayGetIndexed, 795612476) \ 329 V(_List, [], ObjectArrayGetIndexed, 795612476) \
330 V(_List, []=, ObjectArraySetIndexed, 1288827575) \ 330 V(_List, []=, ObjectArraySetIndexed, 1288827575) \
331 V(_List, get:isEmpty, ObjectArrayIsEmpty, 2130247737) \ 331 V(ListMixin, get:isEmpty, ListBaseIsEmpty, 2073623625) \
332 V(_List, get:iterator, ObjectArrayIterator, 458612415) \ 332 V(_List, get:iterator, ObjectArrayIterator, 458612415) \
333 V(_List, forEach, ObjectArrayForEach, 592525445) \ 333 V(_List, forEach, ObjectArrayForEach, 592525445) \
334 V(_List, _slice, ObjectArraySlice, 1891508040) \ 334 V(_List, _slice, ObjectArraySlice, 1891508040) \
335 V(_ImmutableList, get:iterator, ImmutableArrayIterator, 362084797) \ 335 V(_ImmutableList, get:iterator, ImmutableArrayIterator, 362084797) \
336 V(_ImmutableList, forEach, ImmutableArrayForEach, 63658053) \ 336 V(_ImmutableList, forEach, ImmutableArrayForEach, 63658053) \
337 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1990177341) \ 337 V(_ImmutableList, [], ImmutableArrayGetIndexed, 1990177341) \
338 V(_GrowableList, [], GrowableArrayGetIndexed, 919108233) \ 338 V(_GrowableList, [], GrowableArrayGetIndexed, 919108233) \
339 V(_GrowableList, []=, GrowableArraySetIndexed, 1218649853) \ 339 V(_GrowableList, []=, GrowableArraySetIndexed, 1218649853) \
340 V(_Float32Array, [], Float32ArrayGetIndexed, 856653338) \ 340 V(_Float32Array, [], Float32ArrayGetIndexed, 856653338) \
341 V(_Float32Array, []=, Float32ArraySetIndexed, 2086166464) \ 341 V(_Float32Array, []=, Float32ArraySetIndexed, 2086166464) \
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 static Kind RecognizeKind(const Function& function); 431 static Kind RecognizeKind(const Function& function);
432 static bool AlwaysInline(const Function& function); 432 static bool AlwaysInline(const Function& function);
433 static bool PolymorphicTarget(const Function& function); 433 static bool PolymorphicTarget(const Function& function);
434 static const char* KindToCString(Kind kind); 434 static const char* KindToCString(Kind kind);
435 static void InitializeState(); 435 static void InitializeState();
436 }; 436 };
437 437
438 } // namespace dart 438 } // namespace dart
439 439
440 #endif // VM_METHOD_RECOGNIZER_H_ 440 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698