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

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

Issue 2453463006: Revert "Revert "Recognize and optimize a.runtimeType == b.runtimeType pattern."" (Closed)
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | no next file » | 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) 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_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 V(removeLast, "removeLast") \ 396 V(removeLast, "removeLast") \
397 V(add, "add") \ 397 V(add, "add") \
398 V(ConstructorClosurePrefix, "new#") \ 398 V(ConstructorClosurePrefix, "new#") \
399 V(_runExtension, "_runExtension") \ 399 V(_runExtension, "_runExtension") \
400 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ 400 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \
401 V(DartLibrary, "dart.library.") \ 401 V(DartLibrary, "dart.library.") \
402 V(DartLibraryMirrors, "dart.library.mirrors") \ 402 V(DartLibraryMirrors, "dart.library.mirrors") \
403 V(_name, "_name") \ 403 V(_name, "_name") \
404 V(_classRangeCheck, "_classRangeCheck") \ 404 V(_classRangeCheck, "_classRangeCheck") \
405 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ 405 V(_classRangeCheckNegative, "_classRangeCheckNegative") \
406 V(GetRuntimeType, "get:runtimeType") \
407 V(HaveSameRuntimeType, "_haveSameRuntimeType") \
406 408
407 409
408 // Contains a list of frequently used strings in a canonicalized form. This 410 // Contains a list of frequently used strings in a canonicalized form. This
409 // list is kept in the vm_isolate in order to share the copy across isolates 411 // list is kept in the vm_isolate in order to share the copy across isolates
410 // without having to maintain copies in each isolate. 412 // without having to maintain copies in each isolate.
411 class Symbols : public AllStatic { 413 class Symbols : public AllStatic {
412 public: 414 public:
413 enum { kMaxOneCharCodeSymbol = 0xFF }; 415 enum { kMaxOneCharCodeSymbol = 0xFF };
414 416
415 // List of strings that are pre created in the vm isolate. 417 // List of strings that are pre created in the vm isolate.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 friend class Serializer; 691 friend class Serializer;
690 friend class Deserializer; 692 friend class Deserializer;
691 friend class ApiMessageReader; 693 friend class ApiMessageReader;
692 694
693 DISALLOW_COPY_AND_ASSIGN(Symbols); 695 DISALLOW_COPY_AND_ASSIGN(Symbols);
694 }; 696 };
695 697
696 } // namespace dart 698 } // namespace dart
697 699
698 #endif // VM_SYMBOLS_H_ 700 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698