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

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

Issue 1064053007: Revert "Change ListIterator to only check for concurrent modification at each iteration" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « CHANGELOG.md ('k') | sdk/lib/_internal/compiler/js_lib/js_array.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 // A list of core function that should always be inlined. 316 // A list of core function that should always be inlined.
317 #define INLINE_WHITE_LIST(V) \ 317 #define INLINE_WHITE_LIST(V) \
318 V(Object, ==, ObjectEquals, 1955975370) \ 318 V(Object, ==, ObjectEquals, 1955975370) \
319 V(_List, get:length, ObjectArrayLength, 1181382520) \ 319 V(_List, get:length, ObjectArrayLength, 1181382520) \
320 V(_ImmutableList, get:length, ImmutableArrayLength, 274947518) \ 320 V(_ImmutableList, get:length, ImmutableArrayLength, 274947518) \
321 V(_TypedList, get:length, TypedDataLength, 522595148) \ 321 V(_TypedList, get:length, TypedDataLength, 522595148) \
322 V(_GrowableList, get:length, GrowableArrayLength, 778534898) \ 322 V(_GrowableList, get:length, GrowableArrayLength, 778534898) \
323 V(_GrowableList, add, GrowableListAdd, 422087403) \ 323 V(_GrowableList, add, GrowableListAdd, 422087403) \
324 V(_GrowableList, removeLast, GrowableListRemoveLast, 1285719639) \ 324 V(_GrowableList, removeLast, GrowableListRemoveLast, 1285719639) \
325 V(_StringBase, get:length, StringBaseLength, 784429419) \ 325 V(_StringBase, get:length, StringBaseLength, 784429419) \
326 V(ListIterator, moveNext, ListIteratorMoveNext, 945791066) \ 326 V(ListIterator, moveNext, ListIteratorMoveNext, 1001265875) \
327 V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 890839431) \ 327 V(_FixedSizeArrayIterator, moveNext, FixedListIteratorMoveNext, 890839431) \
328 V(_GrowableList, get:iterator, GrowableArrayIterator, 1663047580) \ 328 V(_GrowableList, get:iterator, GrowableArrayIterator, 1663047580) \
329 V(_GrowableList, forEach, GrowableArrayForEach, 605873384) \ 329 V(_GrowableList, forEach, GrowableArrayForEach, 605873384) \
330 V(_List, ., ObjectArrayAllocate, 335347617) \ 330 V(_List, ., ObjectArrayAllocate, 335347617) \
331 V(_List, [], ObjectArrayGetIndexed, 390939163) \ 331 V(_List, [], ObjectArrayGetIndexed, 390939163) \
332 V(_List, []=, ObjectArraySetIndexed, 1768442583) \ 332 V(_List, []=, ObjectArraySetIndexed, 1768442583) \
333 V(ListMixin, get:isEmpty, ListMixinIsEmpty, 2102252776) \ 333 V(ListMixin, get:isEmpty, ListMixinIsEmpty, 2102252776) \
334 V(_List, get:iterator, ObjectArrayIterator, 308726049) \ 334 V(_List, get:iterator, ObjectArrayIterator, 308726049) \
335 V(_List, forEach, ObjectArrayForEach, 1720909126) \ 335 V(_List, forEach, ObjectArrayForEach, 1720909126) \
336 V(_List, _slice, ObjectArraySlice, 1738717516) \ 336 V(_List, _slice, ObjectArraySlice, 1738717516) \
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \ 462 #define CHECK_FINGERPRINT2(f, p0, p1, fp) \
463 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp)) 463 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1, fp))
464 464
465 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \ 465 #define CHECK_FINGERPRINT3(f, p0, p1, p2, fp) \
466 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp)) 466 ASSERT(f.CheckSourceFingerprint(#p0 ", " #p1 ", " #p2, fp))
467 467
468 468
469 } // namespace dart 469 } // namespace dart
470 470
471 #endif // VM_METHOD_RECOGNIZER_H_ 471 #endif // VM_METHOD_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | sdk/lib/_internal/compiler/js_lib/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698