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

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

Issue 2449013004: Revert "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 RUNTIME_VM_SYMBOLS_H_ 5 #ifndef RUNTIME_VM_SYMBOLS_H_
6 #define RUNTIME_VM_SYMBOLS_H_ 6 #define RUNTIME_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") \
408 406
409 407
410 // Contains a list of frequently used strings in a canonicalized form. This 408 // Contains a list of frequently used strings in a canonicalized form. This
411 // list is kept in the vm_isolate in order to share the copy across isolates 409 // list is kept in the vm_isolate in order to share the copy across isolates
412 // without having to maintain copies in each isolate. 410 // without having to maintain copies in each isolate.
413 class Symbols : public AllStatic { 411 class Symbols : public AllStatic {
414 public: 412 public:
415 enum { kMaxOneCharCodeSymbol = 0xFF }; 413 enum { kMaxOneCharCodeSymbol = 0xFF };
416 414
417 // List of strings that are pre created in the vm isolate. 415 // List of strings that are pre created in the vm isolate.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 friend class Serializer; 689 friend class Serializer;
692 friend class Deserializer; 690 friend class Deserializer;
693 friend class ApiMessageReader; 691 friend class ApiMessageReader;
694 692
695 DISALLOW_COPY_AND_ASSIGN(Symbols); 693 DISALLOW_COPY_AND_ASSIGN(Symbols);
696 }; 694 };
697 695
698 } // namespace dart 696 } // namespace dart
699 697
700 #endif // RUNTIME_VM_SYMBOLS_H_ 698 #endif // RUNTIME_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